mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
## Summary <!-- One sentence describing what changed and why. --> ## Changes - **What**: <!-- Core functionality added/modified --> - **Breaking**: <!-- Any breaking changes (if none, remove this line) --> - **Dependencies**: <!-- New dependencies (if none, remove this line) --> ## Review Focus <!-- Critical design decisions or edge cases that need attention --> <!-- If this PR fixes an issue, uncomment and update the line below --> <!-- Fixes #ISSUE_NUMBER --> ## Screenshots (if applicable) <!-- Add screenshots or video recording to help explain your changes --> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-10157-feat-website-add-zh-CN-translations-for-homepage-and-secondary-pages-3266d73d3650811f918cc35eca62a4bc) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action <action@github.com>
32 lines
868 B
Vue
32 lines
868 B
Vue
<script setup lang="ts">
|
|
import type { Locale } from '../i18n/translations'
|
|
import { t } from '../i18n/translations'
|
|
|
|
const { locale = 'en' } = defineProps<{ locale?: Locale }>()
|
|
</script>
|
|
|
|
<template>
|
|
<section class="bg-black py-24">
|
|
<div class="mx-auto max-w-4xl px-6 text-center">
|
|
<!-- Decorative quote mark -->
|
|
<span class="text-6xl text-brand-yellow opacity-30" aria-hidden="true">
|
|
«
|
|
</span>
|
|
|
|
<h2 class="text-4xl font-bold text-white md:text-5xl">
|
|
{{ t('manifesto.heading', locale) }}
|
|
</h2>
|
|
|
|
<p class="mx-auto mt-6 max-w-2xl text-lg leading-relaxed text-smoke-700">
|
|
{{ t('manifesto.body', locale) }}
|
|
</p>
|
|
|
|
<!-- Separator line -->
|
|
<div
|
|
class="mx-auto mt-8 h-0.5 w-24 bg-brand-yellow opacity-30"
|
|
aria-hidden="true"
|
|
/>
|
|
</div>
|
|
</section>
|
|
</template>
|