diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 0d48f51..902d8bc 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -7,6 +7,7 @@ import WorkflowList from './pages/WorkflowList'; import WorkflowView from './pages/WorkflowView'; import WorkflowEditor from './pages/WorkflowEditor'; import TenantList from './pages/TenantList'; +import TenantDetail from './pages/TenantDetail'; import UserList from './pages/UserList'; function AppLayout({ children }: { children: React.ReactNode }) { @@ -84,6 +85,17 @@ export default function App() { } /> + + + + + + } + /> + `flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm font-medium transition-colors ${ isActive @@ -49,6 +54,9 @@ export default function Layout({ children }: { children: React.ReactNode }) { : 'text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-100' }`; + // Check if we're on a tenant detail page to highlight Mandanten nav + const isTenantDetailPage = /^\/tenants\/[^/]+$/.test(location.pathname); + const sidebarContent = ( <>
@@ -66,18 +74,42 @@ export default function Layout({ children }: { children: React.ReactNode }) {