This commit is contained in:
quantulr
2023-11-02 10:56:18 +08:00
parent 42d517f0a1
commit 593a8a0bc3
8 changed files with 181 additions and 0 deletions

View File

@ -65,6 +65,9 @@ const MainNav = () => {
key={navigation.title + index}
>
<Link
onClick={() => {
setActivePopup(() => -1);
}}
href={navigation.href}
target={navigation.target}
className={`${
@ -88,6 +91,9 @@ const MainNav = () => {
{navigation.children.map((child) => (
<li key={child.href}>
<Link
onClick={() => {
setActivePopup(() => -1);
}}
className={
"h-10 flex justify-center items-center text-[13px] px-2 hover:text-[#fe5722]"
}