update navbar

This commit is contained in:
Neucrack
2023-08-08 17:24:22 +08:00
parent bec43bbfd1
commit d8e14135f4
14 changed files with 178 additions and 342 deletions

View File

@@ -10,43 +10,12 @@
"items": [
{
"label": "Products",
"url": "/hardware/en/index.html",
"position": "left",
"type": "list",
"items": [
{
"url": "/hardware/en/maix/index.html",
"label": "Maix-I"
},
{
"url": "/hardware/en/maixII/index.html",
"label": "Maix-II"
},
{
"url": "/hardware/en/lichee/index.html",
"label": "LicheePi"
},
{
"url": "/hardware/en/tang/index.html",
"label": "Tang"
},
{
"url": "/hardware/en/longan/Nano/Longan_nano.html",
"label": "Longan"
},
{
"url": "/hardware/en/maixsense/index.html",
"label": "MaixSense"
},
{
"url":"/hardware/en/modules_spmod/spmod_extender.html",
"label":"SP-Mod"
}
]
"url": "/#products",
"position": "left"
},
{
"label": "Software Docs",
"desc": "software projects or general software documentation and tutorials",
"position": "left",
"type": "list",
"items": [
@@ -70,55 +39,35 @@
},
{
"label": "Platforms",
"label": "MaixHub",
"position": "left",
"type":"list",
"items":[
{
"label":"MaixHub: AI platform and sharing community",
"url":"https://maixhub.com",
"target": "_blank"
},
{
"label":"Download center",
"url":"https://dl.sipeed.com/",
"target": "_blank"
},
{
"label": "community",
"url": "/en/community.html"
}
]
"url":"https://maixhub.com",
"target": "_blank"
},
{
"label":"News",
"url":"/news/",
"position":"left"
},
{
"label": "Online Store",
"url": "/en/store.html",
"position": "left"
},
{
"label": "FAQ",
"url": "/en/faq.html",
"position": "left"
},
{
"label":"Contribute docs",
"url":"/share_docs/en/",
"label": "<img src='/static/image/shop.svg' style='height: 1.5em;vertical-align: middle;'>",
"url": "/en/store.html",
"position": "right"
},
{
"label": "Github ",
"label": "<img src='/static/image/github.svg' style='height: 1.5em;vertical-align: middle;'>",
"position": "right",
"url": "https://github.com/sipeed",
"target": "_blank"
},
{
"id": "language",
"label": "Language: ",
"label": "<img src='/static/image/language.svg' style='height: 1.5em;vertical-align: middle;'>&nbsp;",
"position": "right",
"type": "language"
}
@@ -127,7 +76,7 @@
"footer":{
"top":[
{
"label": "Other links",
"label": "links",
"items": [
{
"label": "Sipeed",
@@ -139,11 +88,6 @@
"url": "https://maixhub.com/",
"target": "_blank"
},
{
"label": "BBS ",
"url": "https://bbs.sipeed.com/",
"target": "_blank"
},
{
"label": "Sipeed AliExpress",
"url": "https://sipeed.aliexpress.com/store/911876460",
@@ -160,12 +104,12 @@
"label": "Source Code",
"items": [
{
"label": "Website source code",
"label": "Wiki source",
"url": "https://github.com/sipeed/sipeed_wiki",
"target": "_blank"
},
{
"label": "Open Souecr Code",
"label": "Open Souece Projects",
"url": "https://github.com/sipeed",
"target": "_blank"
}
@@ -174,11 +118,6 @@
{
"label": "Follow us",
"items": [
{
"label": "github",
"url": "https://github.com/sipeed",
"target":"_blank"
},
{
"label": "twitter",
"url": "https://twitter.com/SipeedIO",
@@ -190,8 +129,12 @@
"target":"_blank"
},
{
"label": "more",
"url": "/community.html"
"label": "github",
"url": "https://github.com/sipeed",
"target":"_blank"
},
{
"label": "<a>Wechat</a><img src='/static/image/wechat.png'>"
}
]
},
@@ -202,7 +145,7 @@
"label": "Tel: +86 0755-27808509"
},
{
"label": "Business mail: support@sipeed.com"
"label": "Business support: support@sipeed.com"
},
{
"label": "Adress: 深圳市宝安区新湖路4008号蘅芳科技办公大厦A座-2101C"
@@ -248,5 +191,5 @@
}
}
},
"show_source": "Edit this page"
"show_source": "<span id='editPage'>Edit this page</span>"
}

View File

@@ -10,11 +10,12 @@
"items": [
{
"label": "产品",
"url": "/hardware/zh/index.html",
"url": "/#products",
"position": "left"
},
{
"label": "软件文档",
"desc": "软件项目或者通用的软件文档和教程",
"position": "left",
"type": "list",
"items": [
@@ -36,58 +37,36 @@
}
]
},
{
"label": "在线平台",
"label": "MaixHub",
"position": "left",
"type":"list",
"items":[
{
"label":"MaixHub: AI 平台和分享社区",
"url":"https://maixhub.com",
"target": "_blank"
},
{
"label":"下载中心",
"url":"https://dl.sipeed.com/",
"target": "_blank"
}
]
"url":"https://maixhub.com",
"target": "_blank"
},
{
"label": "交流社群",
"url": "/community.html",
"position": "left"
},
{
"label":"最新动态",
"label":"动态",
"url":"/news/",
"position":"left"
},
{
"label": "线上商城",
"url": "/store.html",
"position": "left"
},
{
"label": "FAQ 汇总",
"url": "/faq.html",
"position": "left"
},
{
"label":"贡献文档",
"url":"/share_docs/zh/",
"label": "<img src='/static/image/shop.svg' style='height: 1.5em;vertical-align: middle;'>",
"url": "/store.html",
"position": "right"
},
{
"label": "Github ",
"label": "<img src='/static/image/github.svg' style='height: 1.5em;vertical-align: middle;'>",
"position": "right",
"url": "https://github.com/sipeed",
"target": "_blank"
},
{
"id": "language",
"label": "Language: ",
"label": "<img src='/static/image/language.svg' style='height: 1.5em;vertical-align: middle;'>&nbsp;",
"position": "right",
"type": "language"
}
@@ -108,11 +87,6 @@
"url": "https://maixhub.com/",
"target": "_blank"
},
{
"label": "BBS 论坛",
"url": "https://bbs.sipeed.com/",
"target": "_blank"
},
{
"label": "Sipeed 淘宝",
"url": "https://sipeed.taobao.com/",
@@ -143,12 +117,12 @@
"label": "源码",
"items": [
{
"label": "网站源码",
"label": "Wiki 源码",
"url": "https://github.com/sipeed/sipeed_wiki",
"target": "_blank"
},
{
"label": "开源项目源码",
"label": "开源项目",
"url": "https://github.com/sipeed",
"target": "_blank"
}
@@ -157,11 +131,6 @@
{
"label": "关注我们",
"items": [
{
"label": "github",
"url": "https://github.com/sipeed",
"target":"_blank"
},
{
"label": "twitter",
"url": "https://twitter.com/SipeedIO",
@@ -173,8 +142,12 @@
"target":"_blank"
},
{
"label": "更多",
"url": "/community.html"
"label": "github",
"url": "https://github.com/sipeed",
"target":"_blank"
},
{
"label": "<a>微信公众号</a><img src='/static/image/wechat.png'>"
}
]
},
@@ -233,5 +206,5 @@
}
}
},
"show_source": "编辑本页"
"show_source": "<span id='editPage'>编辑本页</span>"
}