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
+14
View File
@@ -108,5 +108,19 @@
"loadFailed": "Failed to load",
"retry": "Retry",
"hotKeyword": "“{word}” is the hottest keyword this quarter!"
},
"timeline": {
"metaTitle": "AI Timeline - Agent Park",
"metaDescription": "Explore the evolution of AI large language models from 2017 Transformer to today",
"title": "THE STORY OF A.I.",
"subtitle": "Pinned. Stacked. Zigzagged.",
"emptyData": "No data available",
"collecting": "Timeline data is being collected...",
"joinThePark": "Join the Park",
"subscribeDesc": "Subscribe to the Agent Park weekly zine. No spam, just ducks and data.",
"emailPlaceholder": "Your email here...",
"subscribe": "SUBSCRIBE",
"agreeToBeCool": "I agree to be cool.",
"earlier": "Earlier"
}
}