自定已自提相关

This commit is contained in:
tangly
2022-10-19 14:08:12 +08:00
parent d3271d527a
commit 3519e4db6e
26 changed files with 47 additions and 35 deletions

View File

@@ -21,7 +21,7 @@ const MenuList = (props) => {
links = links.concat(customNav)
}
return <nav id='nav' className='leading-8 text-gray-500 dark:text-gray-300 font-sans'>
return <nav id='nav' className='leading-8 text-gray-500 dark:text-gray-300 '>
{links.map(link => {
if (link && link.show) {
const selected = (router.pathname === link.to) || (router.asPath === link.to)