Added multiple pages

This commit is contained in:
Erik Tiekstra
2021-03-23 10:03:13 +01:00
committed by Erik Tiekstra
parent ec6c7eb4a9
commit 226f291bd3
30 changed files with 286 additions and 8 deletions

View File

@@ -4,9 +4,34 @@ import { ExtraOptions, RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{
path: '',
data: { title: 'FA Mina sidor' },
data: { title: '' },
loadChildren: () => import('./pages/start/start.module').then(m => m.StartModule),
},
{
path: 'mina-deltagare',
data: { title: 'Mina deltagare' },
loadChildren: () => import('./pages/participants/participants.module').then(m => m.ParticipantsModule),
},
{
path: 'avrop',
data: { title: 'Avrop' },
loadChildren: () => import('./pages/call-off/call-off.module').then(m => m.CallOffModule),
},
{
path: 'meddelanden',
data: { title: 'Meddelanden' },
loadChildren: () => import('./pages/messages/messages.module').then(m => m.MessagesModule),
},
{
path: 'statistik',
data: { title: 'Statistik' },
loadChildren: () => import('./pages/statistics/statistics.module').then(m => m.StatisticsModule),
},
{
path: 'installningar',
data: { title: 'Inställningar' },
loadChildren: () => import('./pages/settings/settings.module').then(m => m.SettingsModule),
},
{
path: '**',
data: { title: 'Sidan hittas inte' },