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')}
|
{tNav('keywordCloud')}
|
||||||
</Link>
|
</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
|
<Link
|
||||||
className="font-display text-sm font-bold hover:text-secondary dark:hover:text-primary transition-colors"
|
className="font-display text-sm font-bold hover:text-secondary dark:hover:text-primary transition-colors"
|
||||||
href="#"
|
href="#"
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
"home": "Home",
|
"home": "Home",
|
||||||
"projects": "Projects",
|
"projects": "Projects",
|
||||||
"keywordCloud": "AI Word Cloud",
|
"keywordCloud": "AI Word Cloud",
|
||||||
|
"timeline": "AI Timeline",
|
||||||
"blog": "Blog",
|
"blog": "Blog",
|
||||||
"about": "About",
|
"about": "About",
|
||||||
"submitProject": "SUBMIT PROJECT"
|
"submitProject": "SUBMIT PROJECT"
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
"home": "首页",
|
"home": "首页",
|
||||||
"projects": "项目列表",
|
"projects": "项目列表",
|
||||||
"keywordCloud": "AI 词云",
|
"keywordCloud": "AI 词云",
|
||||||
|
"timeline": "AI 时间轴",
|
||||||
"blog": "博客",
|
"blog": "博客",
|
||||||
"about": "关于",
|
"about": "关于",
|
||||||
"submitProject": "提交项目"
|
"submitProject": "提交项目"
|
||||||
|
|||||||
Reference in New Issue
Block a user