Skip to content

Commit

Permalink
refactor: update navbar (en)
Browse files Browse the repository at this point in the history
Co-authored-by: patricklai3 <[email protected]>
Co-authored-by: PopSlime <[email protected]>
  • Loading branch information
3 people committed Apr 29, 2024
1 parent 6e43c4f commit 926b913
Showing 1 changed file with 34 additions and 20 deletions.
54 changes: 34 additions & 20 deletions .vitepress/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,39 @@ export const enConfig: LocaleSpecificConfig<
function nav(): DefaultTheme.NavItem[] {
return [
{
text: 'Download',
link: '/download-client',
text: 'Map Utilities',
items: [
{
text: 'Download',
link: '/download-client',
},
{
text: 'Windows Client',
items: [
{
text: 'Manual',
link: '/manual/client-user-manual',
},
{
text: 'Release Notes',
link: 'https://support.qq.com/products/321980/blog/505884',
},
],
},
{
text: 'Web Version',
items: [
{
text: 'Try Now',
link: 'https://v3.yuanshen.site',
},
{
text: 'Release Notes',
link: 'https://support.qq.com/products/321980/blog/505810',
},
],
},
],
},
{
text: 'Support us',
Expand All @@ -168,14 +199,10 @@ function nav(): DefaultTheme.NavItem[] {
text: 'Community',
link: '/community',
},

{
text: 'Support',
activeMatch: `^/en/manual/`,
items: [
{
text: 'Client User Manual',
link: '/manual/client-user-manual',
},
{
text: 'Feedback',
link: 'https://support.qq.com/products/321980',
Expand All @@ -202,19 +229,6 @@ function nav(): DefaultTheme.NavItem[] {
},
],
},
{
text: 'Update Log',
items: [
{
text: 'Web',
link: 'https://support.qq.com/products/321980/blog/505810',
},
{
text: 'Client',
link: 'https://discord.gg/SWz6RTWNkm',
},
],
},
{
text: 'Acknowledgement',
items: [
Expand Down

0 comments on commit 926b913

Please sign in to comment.