"use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
const LINKS = [
{ href: "/", label: "Library" },
{ href: "/search", label: "Search" },
{ href: "/ask", label: "Ask" },
{ href: "/live", label: "Live" },
{ href: "/experiments", label: "Experiments" },
{ href: "/architecture", label: "Architecture" },
{ href: "/models", label: "Models & Routing" },
{ href: "/backups", label: "Backups" },
];
/** The links with the current page highlighted; `path` null renders them all inactive. */
export function NavLinksView({ path }: { path: string | null }) {
return (
);
}
/** Reads the URL, so it must sit inside (it suspends while dynamic routes prerender). */
export function ActiveNavLinks() {
return ;
}