theme-simple & menun

This commit is contained in:
tangly1024.com
2023-03-08 20:10:23 +08:00
parent b22475dec5
commit 556c518ea7
50 changed files with 1088 additions and 37 deletions

View File

@@ -4,7 +4,7 @@ import { useRouter } from 'next/router'
import { useGlobal } from '@/lib/global'
import CONFIG_MEDIUM from '../config_medium'
function GroupMenu ({ customNav }) {
function GroupMenu ({ customMenu, customNav }) {
const { locale } = useGlobal()
const router = useRouter()
@@ -39,13 +39,13 @@ function GroupMenu ({ customNav }) {
{link.slot}
</Link>
);
)
} else {
return null
}
})}
</nav>
);
)
}
export default GroupMenu