Fix Tape navigation from home
This commit is contained in:
parent
9ca0e52411
commit
1d3865c8fc
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { usePathname } from "next/navigation";
|
||||
import {
|
||||
createContext,
|
||||
|
|
@ -7000,13 +7001,13 @@ export function TerminalAppShell({ children }: { children: ReactNode }) {
|
|||
{NAV_ITEMS.map((item) => {
|
||||
const active = pathname === item.href;
|
||||
return (
|
||||
<a
|
||||
<Link
|
||||
className={`terminal-nav-link${active ? " terminal-nav-link-active" : ""}`}
|
||||
href={item.href}
|
||||
key={item.href}
|
||||
>
|
||||
{item.label}
|
||||
</a>
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue