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

export const routes: Routes = [
  { path: '', loadComponent: () => import('./pages/landing/landing.component').then((m) => m.LandingComponent) },
  { path: 'wizard', loadComponent: () => import('./pages/wizard/wizard.component').then((m) => m.WizardComponent) },
  { path: 'results', loadComponent: () => import('./pages/results/results.component').then((m) => m.ResultsComponent) },
  { path: 'halls/:id', loadComponent: () => import('./pages/hall-detail/hall-detail.component').then((m) => m.HallDetailComponent) },
  { path: 'selection', loadComponent: () => import('./pages/selection/selection.component').then((m) => m.SelectionComponent) },
  { path: 'visit', loadComponent: () => import('./pages/visit/visit.component').then((m) => m.VisitComponent) },
  { path: 'account', loadComponent: () => import('./pages/account/account.component').then((m) => m.AccountComponent) },
  { path: '**', redirectTo: '' },
];
