Fix tape rail navigation
This commit is contained in:
parent
33a0bf18cd
commit
aece60c84f
2 changed files with 4 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue