import { Button } from '@/components/ui/button'; import { Link } from '@tanstack/react-router'; import { BarChart3, Building2, Home, LayoutDashboard, Shield, Users } from 'lucide-react'; import type { ReactNode } from 'react'; type NavItem = { label: string; href: string; icon: ReactNode; }; const navItems: NavItem[] = [ { label: 'Dashboard', href: '/admin', icon: }, { label: 'Complejos', href: '/admin/complexes', icon: }, { label: 'Planes', href: '/admin/plans', icon: }, { label: 'Usuarios', href: '/admin/users', icon: }, ]; interface AdminLayoutProps { children: ReactNode; currentPath: string; } export function AdminLayout({ children, currentPath }: AdminLayoutProps) { return (
{children}
); }