Route tenant admin PWA via /event-admin

This commit is contained in:
Codex Agent
2025-10-10 15:20:52 +02:00
parent 417b1da484
commit 52197f216d
20 changed files with 112 additions and 75 deletions

View File

@@ -1,10 +1,11 @@
import React from 'react';
import { NavLink } from 'react-router-dom';
import { cn } from '@/lib/utils';
import { ADMIN_EVENTS_PATH, ADMIN_SETTINGS_PATH } from '../constants';
const navItems = [
{ to: '/admin/events', label: 'Events' },
{ to: '/admin/settings', label: 'Einstellungen' },
{ to: ADMIN_EVENTS_PATH, label: 'Events' },
{ to: ADMIN_SETTINGS_PATH, label: 'Einstellungen' },
];
interface AdminLayoutProps {
@@ -58,3 +59,4 @@ export function AdminLayout({ title, subtitle, actions, children }: AdminLayoutP
</div>
);
}