"use client"; import { LayoutDashboard, Users, Server, Radio, ScrollText, } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; type NavItem = { href: string; label: string; }; export function AdminNav({ items }: { items: NavItem[] }) { const pathname = usePathname(); const icons = [LayoutDashboard, Users, Server, Radio, ScrollText]; return ( ); }