merging main

This commit is contained in:
Marcel-Anker
2025-11-19 11:11:23 +01:00
18 changed files with 279 additions and 30 deletions

View File

@@ -13,7 +13,7 @@ import {StatisticsComponent} from './statistics/statistics.component';
const routes: Routes = [
// Seiten ohne Layout
{ path: 'landing', component: HomeComponent },
{ path: 'poc-model', component: PocModelComponent },
{ path: 'poc-model', component: PocModelComponent, data: { allowMobile: true } },
// Seiten mit MainLayout
{
@@ -29,12 +29,6 @@ const routes: Routes = [
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
},
{ path: 'selection/performance/:id', component: TheaterOverlayComponent},
{
path: 'admin/statistics',
component: StatisticsComponent,
canActivate: [AuthGuard],
data: { roles: ['admin'] }, // Array von erlaubten Rollen. Derzeit gäbe es 'admin' und 'employee'
},
],
},