fix(web): reword the Chinese home headline

「我们来设计点原型」→「让我们创建原型」(per product).

The `{word}` placeholder stays. HomeHero splits the string on it to
decide whether a locale opts into the rotating noun at all, so dropping
it would leave Chinese with a frozen headline while en and zh-TW kept
cycling. Two comments quoting the old sentence are updated with it;
zh-TW keeps its own wording.
This commit is contained in:
wangchenglong
2026-09-07 19:40:22 +08:00
parent 79be3bc321
commit 997a0a08f3
3 changed files with 3 additions and 4 deletions
@@ -4,8 +4,7 @@ import { AnimatePresence, motion, useReducedMotion } from 'motion/react';
import styles from './RotatingTitleWord.module.css';
/**
* The headline's rotating noun: 「我们来设计点 __」 cycles 文档 → 幻灯片 →
* 原型 → 幻灯片 → 文档.
* The headline's rotating noun: 「我们创建 __」 cycles 原型 → 幻灯片 → 文档.
*
* This is 21st.dev's `@satoriui/typewriter-loop`, ported rather than copied:
* the original is a shadcn/Tailwind component (`@/components/ui`, `cn()` from
+1 -1
View File
@@ -897,7 +897,7 @@ export const zhCN: Dict = {
"workspaceTabs.project": "项目",
"workspaceTabs.pluginDetails": "插件详情",
"workspaceTabs.marketplace": "插件市场",
"homeHero.title": "我们来设计点{word}",
"homeHero.title": "我们创建{word}",
"homeHero.titleWords": "原型,幻灯片,文档",
"homeHero.subtitle": "好的作品,从这里开始",
"homeHero.startWithTemplate": "从模板开始…",
+1 -1
View File
@@ -138,7 +138,7 @@
Georgia carries no CJK glyphs (1111 codepoints, zero Han), so the Chinese
headline would fall straight through to the UI sans and look unchanged.
The two Song faces behind it are what actually make 我们来设计点什么?read
The two Song faces behind it are what actually make 我们创建原型 read
as a serif; drop them if the headline should stay sans in Chinese. */
font-family: Georgia, "Songti SC", STSong, SimSun, serif;
font-weight: 600;