'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { LayoutDashboard, Users, Brain, Settings } from 'lucide-react' import { cn } from '@/lib/utils' import { useLanguage } from '@/lib/i18n' export interface AdminSidebarProps { className?: string } export interface NavItem { titleKey: string href: string icon: React.ReactNode } const navItems: NavItem[] = [ { titleKey: 'admin.sidebar.dashboard', href: '/admin', icon: , }, { titleKey: 'admin.sidebar.users', href: '/admin/users', icon: , }, { titleKey: 'admin.sidebar.aiManagement', href: '/admin/ai', icon: , }, { titleKey: 'admin.sidebar.settings', href: '/admin/settings', icon: , }, ] export function AdminSidebar({ className }: AdminSidebarProps) { const pathname = usePathname() const { t } = useLanguage() return ( ) }