import { Routes } from '@angular/router';
import { authenticationGuard } from '@aurora';

export default [
  {
    path: '',
    canActivate: [authenticationGuard],
    canActivateChild: [authenticationGuard],
    loadComponent: () => import('./layout/layout.component'),
    children: [
      {
        path: 'dashboard',
        loadChildren: () =>
          import('./bounded-contexts/dashboard/dashboard.routes').then((m) => m.dashboardRoutes),
      }
    ],
  },
] satisfies Routes;
