Refactor admin panel menu structure
This commit is contained in:
@@ -56,7 +56,8 @@ import {
|
||||
Radio,
|
||||
Sparkles,
|
||||
Leaf,
|
||||
Store
|
||||
Store,
|
||||
Server
|
||||
} from 'lucide-react';
|
||||
|
||||
const DashboardLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
@@ -115,7 +116,20 @@ const DashboardLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
},
|
||||
{ icon: AlertTriangle, label: 'Emergencias', path: '/dashboard/admin?tab=emergency' },
|
||||
{ icon: MessageSquare, label: 'Soporte', path: '/dashboard/admin?tab=support' },
|
||||
{ icon: Settings, label: 'Configuración', path: '/dashboard/admin?tab=config' },
|
||||
{
|
||||
icon: Settings,
|
||||
label: 'Configuración',
|
||||
path: '/dashboard/config',
|
||||
subItems: [
|
||||
{ icon: Server, label: 'APIs', path: '/dashboard/config/apis' },
|
||||
{ icon: CreditCard, label: 'Pagos', path: '/dashboard/config/payments' },
|
||||
{ icon: Settings, label: 'Parámetros', path: '/dashboard/config/parameters' },
|
||||
{ icon: Radio, label: 'Integraciones', path: '/dashboard/config/integrations' },
|
||||
{ icon: FileText, label: 'Auditoría', path: '/dashboard/config/audit' },
|
||||
{ icon: Shield, label: 'Security Center', path: '/dashboard/config/security' },
|
||||
{ icon: Brain, label: 'Personalización', path: '/dashboard/config/personalization' }
|
||||
]
|
||||
},
|
||||
{ icon: BarChart3, label: 'Analytics', path: '/dashboard/analytics' },
|
||||
{ icon: Search, label: 'Buscar Lugares', path: '/dashboard/search-places' },
|
||||
{ icon: Store, label: 'Buscar Comercios', path: '/dashboard/search-establishments' }
|
||||
|
||||
Reference in New Issue
Block a user