The old nav used bare lowercase slugs and leaned on filesystem order for every sidebar. - Replace the three existing nav entries with six labelled ones, keyed through i18n.json so both locales resolve to their own text from identical _nav.json files. - Add _meta.json for blogs and opensource-projects, grouping entries by topic instead of leaving them alphabetical. - Rename the Blogs and Notifications pages so their titles match the nav labels (Insights and News). - Point the notification page's account-settings link at GitHub, as the Gitea instance it referenced is retired.
33 lines
589 B
JSON
33 lines
589 B
JSON
[
|
|
{
|
|
"text": "nav.home",
|
|
"link": "/",
|
|
"activeMatch": "^/$|^/zh-hans/$"
|
|
},
|
|
{
|
|
"text": "nav.products",
|
|
"link": "/products/",
|
|
"activeMatch": "/products/"
|
|
},
|
|
{
|
|
"text": "nav.services",
|
|
"link": "/services/",
|
|
"activeMatch": "/services/"
|
|
},
|
|
{
|
|
"text": "nav.insights",
|
|
"link": "/blogs/",
|
|
"activeMatch": "/blogs/"
|
|
},
|
|
{
|
|
"text": "nav.news",
|
|
"link": "/notifications/",
|
|
"activeMatch": "/notifications/"
|
|
},
|
|
{
|
|
"text": "nav.opensource",
|
|
"link": "/opensource-projects/",
|
|
"activeMatch": "/opensource-projects/"
|
|
}
|
|
]
|