feat: add Timeline link to navigation with i18n support
This commit is contained in:
@@ -81,6 +81,12 @@ export default async function LocaleLayout({
|
||||
>
|
||||
{tNav('keywordCloud')}
|
||||
</Link>
|
||||
<Link
|
||||
className="font-display text-sm font-bold hover:text-secondary dark:hover:text-primary transition-colors"
|
||||
href={`/${locale}/timeline`}
|
||||
>
|
||||
{tNav('timeline')}
|
||||
</Link>
|
||||
<Link
|
||||
className="font-display text-sm font-bold hover:text-secondary dark:hover:text-primary transition-colors"
|
||||
href="#"
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
"home": "Home",
|
||||
"projects": "Projects",
|
||||
"keywordCloud": "AI Word Cloud",
|
||||
"timeline": "AI Timeline",
|
||||
"blog": "Blog",
|
||||
"about": "About",
|
||||
"submitProject": "SUBMIT PROJECT"
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
"home": "首页",
|
||||
"projects": "项目列表",
|
||||
"keywordCloud": "AI 词云",
|
||||
"timeline": "AI 时间轴",
|
||||
"blog": "博客",
|
||||
"about": "关于",
|
||||
"submitProject": "提交项目"
|
||||
|
||||
Reference in New Issue
Block a user