'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { useAuthStore } from '@/lib/auth'; const navigation = [ { name: 'Dashboard', href: '/', icon: '📊' }, { name: 'Tenants', href: '/tenants', icon: '🏢' }, { name: 'Users', href: '/users', icon: '👥' }, { name: 'Support Tickets', href: '/support', icon: '🎫', children: [ { name: 'All Tickets', href: '/support' }, { name: 'Open', href: '/support?status=open' }, { name: 'My Assigned', href: '/support?assigned=me' }, ], }, { name: 'Audit Logs', href: '/audit-logs', icon: '📋' }, ]; export function AdminSidebar() { const pathname = usePathname(); const admin = useAuthStore((s) => s.admin); return ( ); }