Fix Tape navigation from home

This commit is contained in:
dirtydishes 2026-05-06 23:42:35 -04:00
parent 9ca0e52411
commit 1d3865c8fc

View file

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