Fix tape rail navigation

This commit is contained in:
dirtydishes 2026-05-06 23:18:38 -04:00
parent 33a0bf18cd
commit aece60c84f
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,5 @@
"use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
import {
createContext,
@ -6998,13 +6997,13 @@ export function TerminalAppShell({ children }: { children: ReactNode }) {
{NAV_ITEMS.map((item) => {
const active = pathname === item.href;
return (
<Link
<a
className={`terminal-nav-link${active ? " terminal-nav-link-active" : ""}`}
href={item.href}
key={item.href}
>
{item.label}
</Link>
</a>
);
})}
</nav>