Optimize the layout of the official website

pull/615/head
chen.ma 2 years ago
parent e81ba9bc7f
commit 1b84a0e5e7

@ -64,7 +64,7 @@ const config = {
// content: `<a target="_blank" rel="noopener noreferrer" href="https://xiaomage.info/knowledge-planet/">👉 《小马哥的代码实战课》官方知识星球来啦!!!</a>`, // content: `<a target="_blank" rel="noopener noreferrer" href="https://xiaomage.info/knowledge-planet/">👉 《小马哥的代码实战课》官方知识星球来啦!!!</a>`,
}, },
navbar: { navbar: {
title: 'Hippo-4J 文档', title: 'hippoforjava',
logo: { logo: {
alt: 'HIPPO-4J 动态可观测线程池框架', alt: 'HIPPO-4J 动态可观测线程池框架',
src: 'img/web.png', src: 'img/web.png',
@ -73,38 +73,30 @@ const config = {
{ {
type: 'docSidebar', type: 'docSidebar',
docId: 'intro', docId: 'intro',
position: 'right', position: 'left',
sidebarId: 'user_docs', sidebarId: 'user_docs',
label: '文档', label: '文档',
}, },
{ {
type: 'docSidebar', type: 'docSidebar',
docId: 'contributor', docId: 'contributor',
position: 'right', position: 'left',
sidebarId: 'community', sidebarId: 'community',
label: '社区', label: '社区',
}, },
{to: '/blog', label: '博客', position: 'right'}, /*{to: '/blog', label: '博客', position: 'left'},*/
/*{ {
type: 'docSidebar', href: 'http://console.hippo4j.cn/index.html',
docId: 'intro', label: '控制台样例',
position: 'left', position: 'left',
sidebarId: 'sponsor', },
hideable: true,
label: '支持开源',
},*/
{ {
href: 'https://xiaomage.info/knowledge-planet', href: 'https://xiaomage.info/knowledge-planet',
label: '🥇代码实战课', label: '🥇代码实战课',
position: 'right', position: 'left',
},
/* 国际化 */
/*{type: 'localeDropdown', position: 'right'},*/
{
href: 'http://console.hippo4j.cn/index.html',
label: '控制台样例',
position: 'right',
}, },
{type: 'localeDropdown', position: 'right'},
/*{ /*{
href: 'https://gitee.com/mabaiwancn/hippo4j', href: 'https://gitee.com/mabaiwancn/hippo4j',
label: 'Gitee', label: 'Gitee',

Loading…
Cancel
Save