first commit

This commit is contained in:
polaris
2024-06-29 01:22:22 -04:00
commit 8926934d2d
242 changed files with 494247 additions and 0 deletions

View File

@ -0,0 +1,36 @@
"use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
const NAV_ITEMS = [
{ href: "/home", label: "Home" },
{ href: "/chunithm", label: "Chunithm" },
{ href: "/maimai", label: "Maimai" },
];
const NavigationMenuMobile = () => {
const pathname = usePathname();
return (
<nav className="grid gap-6 text-lg font-medium">
{NAV_ITEMS.map(({ href, label }) => {
const isActive = pathname === href;
return (
<Link
key={href}
href={href}
className={`${
isActive ? "font-semibold text-primary" : "text-muted-foreground"
} text-sm`}
>
{label}
</Link>
);
})}
</nav>
);
};
export default NavigationMenuMobile;