import { Outlet, NavLink, useNavigate } from 'react-router-dom'; import styles from './AdminLayout.module.css'; const tabs = [ { to: '/admin/users', label: 'Benutzer' }, { to: '/admin/sso', label: 'SSO-Konfiguration' }, { to: '/admin/external-links', label: 'Externe Links' }, { to: '/admin/customize', label: 'Anpassungen' }, { to: '/admin/company', label: 'Firmendaten' }, { to: '/admin/events', label: 'Events' }, { to: '/admin/ssl', label: 'SSL / Domain' }, { to: '/admin/profile-access', label: 'Profilzugriff' }, { to: '/admin/crm-settings', label: 'CRM Sichtbarkeit' }, { to: '/admin/master-data', label: 'Stammdaten' }, ]; export function AdminLayout() { const navigate = useNavigate(); return (