"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import Logo from "./Logo"; import ThemeToggle from "./ThemeToggle"; const LINKS = [ { href: "/", label: "Assessments" }, { href: "/knowledge-base", label: "Knowledge base" }, { href: "/portfolio", label: "Portfolio" }, { href: "/catalog", label: "Product catalog" }, { href: "/settings", label: "Settings" }, ]; export default function Nav() { const path = usePathname(); const isReport = path.endsWith("/report"); // Questionnaire respondents get a standalone page with no route into the tool. if (path.startsWith("/q/")) return null; return (
Converge
); }