"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { ChevronLeft, Shield, Languages, LogOut } from "lucide-react"; import { cn } from "@/lib/utils"; import { Badge } from "@/components/ui/badge"; import { Separator } from "@/components/ui/separator"; import { Button } from "@/components/ui/button"; import { useAdminLogin } from "./login/useAdminLogin"; import { adminNavItems } from "./constants"; export function AdminSidebar() { const pathname = usePathname(); const { logout } = useAdminLogin(); return ( ); }