"use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { signOut } from "next-auth/react";
import {
Calculator,
Building2,
FileText,
LayoutDashboard,
LogOut,
ChevronRight,
} from "lucide-react";
import { cn } from "@/lib/utils";
import { Button } from "@/components/ui/button";
interface NavItem {
label: string;
href: string;
icon: React.ReactNode;
}
const navItems: NavItem[] = [
{ label: "Dashboard", href: "/", icon: },
{ label: "Mandanten", href: "/companies", icon: },
];
export function Sidebar({ userName }: { userName?: string | null }) {
const pathname = usePathname();
return (
);
}