Skip to content

Commit 934ed35

Browse files
committed
add demo link to navbar
1 parent b98b7b1 commit 934ed35

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/.vuepress/navbar/en.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const en = navbar([
2323
text: "More",
2424
icon: "iconfont icon-more",
2525
children: [
26+
{ text: "Demo", link: "https://alist.pages.dev/" },
2627
{ text: "V2", link: "https://alist-doc.nn.ci" },
2728
{ text: "Desktop", link: "https://ad.nn.ci/" },
2829
],

docs/.vuepress/navbar/zh.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { navbar } from "vuepress-theme-hope";
1+
import { navbar } from "vuepress-theme-hope"
22

33
export const zh = navbar([
44
// "/zh/",
@@ -23,6 +23,7 @@ export const zh = navbar([
2323
text: "更多",
2424
icon: "iconfont icon-more",
2525
children: [
26+
{ text: "演示", link: "https://alist.pages.dev/" },
2627
{ text: "V2", link: "https://alist-doc.nn.ci" },
2728
{ text: "桌面版", link: "https://ad.nn.ci/" },
2829
],
@@ -32,4 +33,4 @@ export const zh = navbar([
3233
icon: "iconfont icon-github",
3334
link: "https://github.com/alist-org/alist",
3435
},
35-
]);
36+
])

0 commit comments

Comments
 (0)