"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { LayoutDashboard, Activity, Link2, Shuffle, ShoppingCart, Radar, HelpCircle, Mail } from "lucide-react" import { cn } from "@/lib/utils" const adminRoutes = [ { label: "Overview", icon: LayoutDashboard, href: "/admin", color: "text-indigo-500", }, { label: "Events", icon: Activity, href: "/admin/events", color: "text-emerald-500", }, { label: "Connections", icon: Link2, href: "/admin/connections", color: "text-blue-500", }, { label: "Product Syncs", icon: Shuffle, href: "/admin/product-syncs", color: "text-purple-500", }, { label: "Orders", icon: ShoppingCart, href: "/admin/orders", color: "text-orange-500", }, { label: "Sync Health", icon: Radar, href: "/admin/sync-health", color: "text-cyan-500", }, { label: "Emails", icon: Mail, href: "/admin/emails", color: "text-pink-500", }, ] export function AdminSidebar() { const pathname = usePathname() return (