"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { clsx } from "clsx"; import { useAuth } from "@/components/AuthProvider"; interface NavItem { href: string; label: string; icon: React.ReactNode; } function ServerIcon() { return ( ); } function KeyIcon() { return ( ); } function SecretIcon() { return ( ); } function WorkflowIcon() { return ( ); } function AuditIcon() { return ( ); } function SettingsIcon() { return ( ); } const navItems: NavItem[] = [ { href: "/servers", label: "Servers", icon: }, { href: "/keys", label: "SSH Keys", icon: }, { href: "/secrets", label: "Secrets", icon: }, { href: "/workflows", label: "Workflows", icon: }, { href: "/audit", label: "Audit Log", icon: }, { href: "/settings", label: "Settings", icon: }, ]; export function Sidebar() { const pathname = usePathname(); const { user, authEnabled } = useAuth(); return ( ); }