feat: add Timeline i18n support and deterministic EventCard rotation

- Add complete Chinese/English translations for timeline page
- Use event ID-based rotation instead of Math.random() for SSR consistency
- Enhance tape decoration styling with blur and transparency
- Fix locale-aware date formatting
This commit is contained in:
2026-02-01 15:40:01 +08:00
parent e6ff7470a1
commit 47a278ca1b
4 changed files with 70 additions and 25 deletions
+15 -2
View File
@@ -106,7 +106,20 @@
"subtitle": "从 “大型语言模型” 到 “Agent 工作流”。探索 AI 话语的演变历程。",
"loading": "加载中...",
"loadFailed": "加载失败",
"retry": "重试",
"hotKeyword": "“{word}” 是本季度最热门词汇!"
"retry": "重试"
},
"timeline": {
"metaTitle": "AI 发展时间轴 - Agent Park",
"metaDescription": "探索人工智能大语言模型的发展历程,从 2017 年 Transformer 到今天",
"title": "AI 的故事",
"subtitle": "钉住。堆叠。之字形。",
"emptyData": "暂无数据",
"collecting": "时间轴数据正在收集中...",
"joinThePark": "加入 Agent Park",
"subscribeDesc": "订阅 Agent Park 周刊。没有垃圾邮件,只有干货。",
"emailPlaceholder": "您的电子邮箱...",
"subscribe": "订阅",
"agreeToBeCool": "我同意保持礼貌。",
"earlier": "更早"
}
}