import { Routes } from '@angular/router';
import { homeRoutes } from './modules/home/home.routes';
import { authRoutes } from './modules/auth/auth.routes';

export const routes: Routes = [
  {
    path: '', children: homeRoutes
  },
  {
    path: 'auth', children: authRoutes
  },
  {
    path: 'password-change/:hash', loadComponent: () => import('./modules/auth/password-change/password-change.component').then(m => m.PasswordChangeComponent)
  },
  {
    path: 'teams', loadChildren: () => import('./modules/teams/teams.module').then(m => m.TeamsModule)
  }
];
