diff --git a/src/components/nav/NavBar.vue b/src/components/nav/NavBar.vue index c675faf..4c70637 100644 --- a/src/components/nav/NavBar.vue +++ b/src/components/nav/NavBar.vue @@ -30,6 +30,51 @@ const littleWidget: Widget[] = [ const logoUrl = getAssetURL("logo-c.png") const logoType: string = "logo"; const showLogo = computed(() => logoType === 'text') + +const entry = [ + { + title: '主页', + icon: ['fas', 'home'], + entry: [], + }, + { + title: '文章', + icon: ['fas', 'pen'], + entry: [ + { + title: '博客', + url: false, + to: 'blog' + }, + { + title: '日记', + url: false, + to: 'log' + }, + ], + }, + { + title: '作品', + icon: ['fas', 'brush'], + entry: [ + { + title: '软件', + url: false, + to: 'soft' + }, + { + title: '仓库', + url: true, + to: 'https://cantyonion.site/git' + }, + ], + }, + { + title: '杂谈', + icon: ['fas', 'chess-rook'], + entry: [] + } +]