修改:添加下载入口

This commit is contained in:
绝尘 2024-04-22 11:37:35 +08:00
parent c64ff5c035
commit ab2631257b

View File

@ -74,18 +74,10 @@ const config = {
src: 'img/logo.svg', src: 'img/logo.svg',
}, },
items: [ items: [
{ {type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', label: '文档',},
type: 'docSidebar', {href: 'https://zhub.dev/release/latest', label: '下载', position: 'left',},
sidebarId: 'tutorialSidebar',
position: 'left',
label: '文档',
},
{ to: '/blog', label: 'Blog', position: 'left' }, { to: '/blog', label: 'Blog', position: 'left' },
{ {href: 'https://gitee.com/tc608/zhub', label: 'Gitee', position: 'right',},
href: 'https://gitee.com/tc608/zhub',
label: 'Gitee',
position: 'right',
},
], ],
}, },
@ -95,36 +87,22 @@ const config = {
{ {
title: '文档', title: '文档',
items: [ items: [
{ {label: '下载', href: 'https://zhub.dev/release/latest/',},
label: '快速开始', {label: '快速开始', to: '/docs/intro',},
to: '/docs/intro',
},
], ],
}, },
{ {
title: '社区', title: '社区',
items: [ items: [
{ {label: 'Gitee', href: 'https://gitee.com/tc608',},
label: 'Gitee', {label: '微信zhub_dev', to: '/'},
href: 'https://gitee.com/tc608',
},
{
label: '微信zhub_dev',
to: '/'
},
], ],
}, },
{ {
title: '更多', title: '更多',
items: [ items: [
{ {label: '博客', to: '/blog',},
label: '博客', {label: '反馈', href: 'https://gitee.com/tc608/zhub/issues?state=all',},
to: '/blog',
},
{
label: '反馈',
href: 'https://gitee.com/tc608/zhub/issues?state=all',
},
], ],
}, },
], ],