"use client"; import Image from "next/image"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { LayoutDashboard, Newspaper, Layers, Briefcase, MessageSquareQuote, Search, Inbox, Image as ImageIcon, type LucideIcon, } from "lucide-react"; type Item = { href: string; label: string; icon: LucideIcon }; const items: Item[] = [ { href: "/admin", label: "Pano", icon: LayoutDashboard }, { href: "/admin/blog", label: "Blog", icon: Newspaper }, { href: "/admin/hizmetler", label: "Hizmetler", icon: Layers }, { href: "/admin/projeler", label: "Projeler", icon: Briefcase }, { href: "/admin/referanslar", label: "Referanslar", icon: MessageSquareQuote }, { href: "/admin/seo", label: "SEO", icon: Search }, { href: "/admin/iletisim", label: "Mesajlar", icon: Inbox }, { href: "/admin/medya", label: "Medya", icon: ImageIcon }, ]; export function AdminSidebar() { const pathname = usePathname(); return ( ); }