'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { cn } from '../_lib/utils'; import { Button } from './ui/button'; import { Separator } from './ui/separator'; import { LogOut } from 'lucide-react'; interface NavItem { href: string; label: string; icon?: React.ReactNode; } interface PortalNavProps { portalName: string; navItems: NavItem[]; user?: { name?: string | null; email?: string | null; role?: string }; onLogout: () => void; accentClass?: string; } export function PortalNav({ portalName, navItems, user, onLogout, accentClass = 'text-primary' }: PortalNavProps) { const pathname = usePathname(); return ( ); }