slug调整 兼容game主题

This commit is contained in:
tangly1024.com
2024-05-08 15:35:57 +08:00
parent ff9d211a0a
commit d3efac6074
5 changed files with 25 additions and 19 deletions

View File

@@ -17,21 +17,21 @@ export const MenuList = props => {
id: 1,
icon: 'fas fa-home',
name: locale.NAV.INDEX,
to: '/' || '/',
href: '/' || '/',
show: true
},
{
id: 2,
icon: 'fas fa-th',
name: locale.COMMON.CATEGORY,
to: '/category',
href: '/category',
show: siteConfig('GAME_MENU_CATEGORY', null, CONFIG)
},
{
id: 3,
icon: 'fas fa-tag',
name: locale.COMMON.TAGS,
to: '/tag',
href: '/tag',
show: siteConfig('GAME_MENU_TAG', null, CONFIG)
}
]