Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 1e802aa

Browse files
committed
feat(components): ✨ add document page to header
1 parent afac7e9 commit 1e802aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/the/TheHeader.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
</NuxtLink>
1111
<nav id="nav" class="hidden-xs-only">
1212
<NuxtLink class="nav-item" to="/">{{ t("home") }}</NuxtLink>
13+
<NuxtLink class="nav-item" to="/document">{{ t("document") }}</NuxtLink>
1314
<NuxtLink class="nav-item" to="/plugins">{{ t("plugins") }}</NuxtLink>
1415
</nav>
1516
<ClientOnly>
@@ -79,10 +80,12 @@ const localeRef = ref(locale.value);
7980

8081
<i18n locale="en-US" lang="yaml">
8182
home: Home
83+
document: Document
8284
plugins: Plugins
8385
</i18n>
8486

8587
<i18n locale="zh-CN" lang="yaml">
8688
home: 主页
89+
document: 文档
8790
plugins: 插件
8891
</i18n>

0 commit comments

Comments
 (0)