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

export const routes: Routes = [
  {
    path: '',
    loadComponent: () => import('./home/home.component').then(m => m.HomeComponent)
  },
  {
    path: 'map',
    loadComponent: () => import('./map/map.component').then(m => m.MapComponent)
  },
  {
    path: 'rules',
    loadComponent: () => import('./rules/rules.component').then(m => m.RulesComponent)
  },
  {
    path: 'vote',
    loadComponent: () => import('./vote/vote.component').then(m => m.VoteComponent)
  },
  {
    path: 'about',
    loadComponent: () => import('./about/about.component').then(m => m.AboutComponent)
  },
  {
    path: 'socials',
    loadComponent: () => import('./socials/socials.component').then(m => m.SocialsComponent)
  },
  {
    path: 'team',
    loadComponent: () => import('./team/team.component').then(m => m.TeamComponent)
  },
  {
    path: 'birthdays',
    loadComponent: () => import('./birthdays/birthdays.component').then(m => m.BirthdaysComponent)
  },
  {
    path: 'terms',
    loadComponent: () => import('./terms/terms.component').then(m => m.TermsComponent)
  },
  {
    path: 'privacy',
    loadComponent: () => import('./privacy/privacy.component').then(m => m.PrivacyComponent)
  }
];


