// components/PortalTabs.tsx "use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; // or roll your own `cn` if you don’t have one const tabs = [ { href: "/portal", label: "Home" }, { href: "/portal/rigs", label: "Rigs" }, { href: "/portal/laser-settings", label: "Laser Settings" }, { href: "/portal/laser-sources", label: "Laser Sources" }, { href: "/portal/materials", label: "Materials" }, { href: "/portal/projects", label: "Projects" }, { href: "/portal/utilities", label: "Utilities" }, { href: "/portal/account", label: "Account" }, ]; export default function PortalTabs() { const pathname = usePathname() || "/portal"; return ( ); }