Skip to content

Commit

Permalink
Updated homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
nfs0619 committed Sep 26, 2024
1 parent 1b1af83 commit 532b763
Show file tree
Hide file tree
Showing 8 changed files with 471 additions and 347 deletions.
221 changes: 162 additions & 59 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,78 +233,174 @@ const config = {
label: 'Quick Links',
to: '/Getting_Started',
position: 'left',
className: 'navbar_dorp_items home_nav js_getting_started',
className: 'navbar_dorp_items js_getting_started',
},
{
label: 'Explore with Topics',
to: '/Getting_Started',
label: 'Technology',
to: '/topicintroduction',
position: 'left',
className: 'navbar_dorp_items home_nav js_explore_learn',
className: 'navbar_dorp_items js_explore_learn',
},
// wiki documents navigation
{
type: 'dropdown',
label: 'Getting Started',
to: '/Getting_Started',
label: 'FAQs',
to: '/knowledgebase',
position: 'left',
className: 'navbar_dorp_items doc_nav',
className: 'navbar_dorp_items',
items: [
{
label: 'Sensing and Connectivity',
to: 'Sensor_Network',
label: 'NVIDIA Jetson Series',
to: '/Jetson_FAQ',
},
{
label: 'Edge Computing',
to: 'Edge_Computing',
label: 'Seeed Studio XIAO Series',
to: '/XIAO_FAQ',
},
{
label: 'Cloud and Chain',
to: 'CloudnChain',
label: 'reComputer R1000 Series',
to: '/reComputer_R1000_FAQ',
},
],
},
{
type: 'dropdown',
label: 'Topics',
to: '/Getting_Started',
position: 'left',
className: 'navbar_dorp_items doc_nav',
items: [
{
label: 'TinyML',
to: '/tinyml_topic',
label: 'reTerminal',
to: '/reTerminal-new_FAQ',
},
{
label: 'reRouter',
to: '/FAQs_For_openWrt',
},
{
label: 'Odyssey',
to: '/ODYSSEY_FAQ',
},
{
label: 'Wio Terminal',
to: '/wio_terminal_faq',
},
// 添加分割线
{
type: 'html',
value: '<hr style="margin: 8px 0;">', // 调整样式根据你的需求
},
// 添加新的菜单项
{
label: 'Discord',
href: 'https://discord.com/invite/eWkprNDMU7',
},
{
label: 'Home Assistant',
to: '/home_assistant_topic',
label: 'Email',
href: 'https://www.seeedstudio.com/contacts',
},
{
label: 'Open Source',
to: '/open_source_topic',
label: 'Forum',
href: 'https://forum.seeedstudio.com/',
},
{
label: 'Edge AI',
to: '/edge_ai_topic',
label: 'Have Suggestions?',
href: 'https://github.com/Seeed-Studio/wiki-documents/discussions/69',
},

],
},
{
type: 'dropdown',
label: '文/A',
to: '/Getting_Started',
label: 'Rangers',
to: '/ranger',
position: 'left',
className: 'navbar_dorp_items doc_nav',
className: 'navbar_dorp_items',
items: [
{
label: 'Seeed Studio Wiki Platform',
to: '/Getting_Started',
label: 'Rangers',
to: '/ranger',
},
{
label: '矽递科技 Wiki 文档平台(测试)',
to: '/cn/Getting_Started',
label: 'Contributors',
to: '/contributors',
},
{
label: 'Apply for Rangers',
href: 'https://docs.google.com/forms/d/e/1FAIpQLSdiAWHmRJqgVNTJyJDkzhufc1dygFyhWFyEtUTm-mrgSKaEgg/viewform',
},
{
label: 'Direct to Assignments',
href: 'https://github.com/orgs/Seeed-Studio/projects/6',
},
{
label: 'More about Rangers',
href: 'https://www.seeedstudio.com/blog/2023/09/15/join-the-seeed-ranger-program-empowering-developers-and-building-communities/',
},
{
label: 'More about Contributors',
href: 'https://wiki.seeedstudio.com/Contributor',
},
],
},
// wiki documents navigation
// {
// type: 'dropdown',
// label: 'Getting Started',
// to: '/Getting_Started',
// position: 'left',
// className: 'navbar_dorp_items doc_nav',
// items: [
// {
// label: 'Sensing and Connectivity',
// to: 'Sensor_Network',
// },
// {
// label: 'Edge Computing',
// to: 'Edge_Computing',
// },
// {
// label: 'Cloud and Chain',
// to: 'CloudnChain',
// },
// ],
// },
// {
// type: 'dropdown',
// label: 'Topics',
// to: '/Getting_Started',
// position: 'left',
// className: 'navbar_dorp_items doc_nav',
// items: [
// {
// label: 'TinyML',
// to: '/tinyml_topic',
// },
// {
// label: 'Home Assistant',
// to: '/home_assistant_topic',
// },
// {
// label: 'Open Source',
// to: '/open_source_topic',
// },
// {
// label: 'Edge AI',
// to: '/edge_ai_topic',
// },
// ],
// },
// {
// type: 'dropdown',
// label: '文/A',
// to: '/Getting_Started',
// position: 'left',
// className: 'navbar_dorp_items doc_nav',
// items: [
// {
// label: 'Seeed Studio Wiki Platform',
// to: '/Getting_Started',
// },
// {
// label: '矽递科技 Wiki 文档平台(测试)',
// to: '/cn/Getting_Started',
// },
// ],
// },




// {
// label: 'Contribution',
Expand All @@ -331,40 +427,46 @@ const config = {
// label: 'Solutions',
// className: 'navbar_doc_items'
// },
{
to: 'https://wiki-gpt.seeedstudio.com/chat',
label: 'AI Bot 🤖️',
position: 'right',
className: 'navbar_doc_right_items',
},
{
to: 'https://sensecraft.seeed.cc/ai/#/home',
label: 'SenseCraft AI',
position: 'right',
className: 'navbar_doc_right_items',
},
// {
// to: 'https://wiki-gpt.seeedstudio.com/chat',
// label: 'Chat 🤖️',
// label: 'Rangers ✨',
// position: 'right',
// className: 'navbar_doc_right_items',
// },
// {
// to: 'https://wiki-gpt.seeedstudio.com/chat',
// label: 'Rangers ✨',
// label: 'Collaborations ✨',
// position: 'right',
// className: 'navbar_doc_right_items',
// },
// {
// to: 'https://wiki-gpt.seeedstudio.com/chat',
// type: 'dropdown',
// label: 'Collaborations ✨',
// to: '/Getting_Started',
// position: 'right',
// className: 'navbar_doc_right_items',
// items: [
// {
// label: 'Rangers',
// to: '/knowledgebase/',
// },
// {
// label: 'Contributors',
// to: '/cn/Getting_Started',
// },
// ],
// },
{
type: 'dropdown',
label: 'Collaborations ✨',
to: '/Getting_Started',
position: 'right',
items: [
{
label: 'Rangers',
to: '/knowledgebase/',
},
{
label: 'Contributors',
to: '/cn/Getting_Started',
},
],
},
{
href:
'https://seeed-studio.github.io/SenseCraft-Web-Toolkit/#/setup/process',
Expand Down Expand Up @@ -545,7 +647,8 @@ const config = {
id: 'support_us',
content:
// 'We are looking forward to your contribution! Welcome to check our <a target="_blank" rel="https://github.com/orgs/Seeed-Studio/projects/3/views/1" href="https://github.com/BilltheWorld/wiki-documents/blob/docusaurus-version/TASK.md">task lists</a>!',
'All planned updates to the wiki platform has been publicly availble. Your <a target="_blank" href="https://github.com/orgs/Seeed-Studio/projects/6?pane=issue&itemId=30957479">contributions</a> will be essential to us!',
//'All planned updates to the wiki platform has been publicly availble. Your <a target="_blank" href="https://github.com/orgs/Seeed-Studio/projects/6?pane=issue&itemId=30957479">contributions</a> will be essential to us!',
'Collaborating with us! Join the Seeed Studio <a target="_blank" href="https://wiki.seeedstudio.com/ranger/">Ranger Program</a> or <a target="_blank" href="https://wiki.seeedstudio.com/contributors/">Contributor Program</a>!',
backgroundColor: '#013949',
textColor: '#FFFFFF',
isCloseable: false,
Expand Down
26 changes: 1 addition & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
"docusaurus-plugin-sass": "^0.2.2",
"hast-util-is-element": "1.1.0",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hook-form": "^7.49.2",
"react-icons": "^4.12.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.53.0",
"react-icons": "^5.3.0",
"react-popper": "^2.3.0",
"react-toastify": "^9.1.3",
"react-toastify": "^10.0.5",
"rehype-katex": "5",
"remark-math": "3",
"sass": "^1.63.3",
Expand Down Expand Up @@ -67,4 +67,4 @@
"engines": {
"node": ">=16.14"
}
}
}
Loading

0 comments on commit 532b763

Please sign in to comment.