import { AuthGuard } from 'src/app/core/guards/auth.guard';
import { Route } from '@angular/router';
import { dashboardRoutes } from './dashboard/dashboard.routes';

export const homeRoutes: Route[] = [
    { path: '', loadComponent: () => import('./home.component').then(m => m.HomeComponent), children: [
        { path: 'dashboard', canLoad: [AuthGuard], children: dashboardRoutes },
      ] },
];