feat: set up basic app shell components
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user