24 lines
545 B
TypeScript
24 lines
545 B
TypeScript
import Link from "next/link";
|
|
|
|
|
|
const navLinks = [
|
|
{ href: "/projects", label: "Projects" },
|
|
{ href: "/about", label: "About" },
|
|
{ href: "/uses", label: "Uses" },
|
|
];
|
|
|
|
export default function Nav() {
|
|
return (
|
|
<nav className="flex gap-6 font-mono text-xs text-neutral-400">
|
|
{navLinks.map((link) => (
|
|
<Link
|
|
key={link.href}
|
|
href={link.href}
|
|
className="hover:text-white"
|
|
>
|
|
{link.label}
|
|
</Link>
|
|
))}
|
|
</nav>
|
|
)
|
|
} |