2020-09-10 09:48:37 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|
|
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
loadChildren: () => import('./index/index.module').then(m => m.IndexPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'chat',
|
2020-08-05 15:39:16 +01:00
|
|
|
loadChildren: () => import('./pages/chat/chat.module').then( m => m.ChatPageModule)
|
2020-11-30 16:08:29 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'publications',
|
|
|
|
|
loadChildren: () => import('./pages/publications/publications.module').then( m => m.PublicationsPageModule)
|
2020-12-10 11:22:06 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'header',
|
|
|
|
|
loadChildren: () => import('./shared/header/header.module').then( m => m.HeaderPageModule)
|
2020-12-16 15:07:28 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'header',
|
|
|
|
|
loadChildren: () => import('./shared/header/header.module').then( m => m.HeaderPageModule)
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'header-pr',
|
|
|
|
|
loadChildren: () => import('./shared/header-pr/header-pr.module').then( m => m.HeaderPrPageModule)
|
2020-12-22 15:53:30 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'btn-seguinte',
|
|
|
|
|
loadChildren: () => import('./shared/btn-seguinte/btn-seguinte.module').then( m => m.BtnSeguintePageModule)
|
2020-12-22 16:45:36 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'btn-modal-dismiss',
|
|
|
|
|
loadChildren: () => import('./shared/btn-modal-dismiss/btn-modal-dismiss.module').then( m => m.BtnModalDismissPageModule)
|
2020-12-28 10:11:00 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'chat-popover',
|
|
|
|
|
loadChildren: () => import('./shared/popover/chat-popover/chat-popover.module').then( m => m.ChatPopoverPageModule)
|
2020-09-07 12:01:05 +01:00
|
|
|
},
|
2020-09-10 09:48:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/* {
|
|
|
|
|
path: 'cal-modal',
|
|
|
|
|
loadChildren: () => import('./pages/cal-modal/cal-modal.module').then( m => m.CalModalPageModule)
|
|
|
|
|
}, */
|
|
|
|
|
/* {
|
|
|
|
|
path: 'events',
|
|
|
|
|
loadChildren: () => import('./pages/events/events.module').then( m => m.EventsPageModule)
|
|
|
|
|
}, */
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
{
|
|
|
|
|
path: 'gabinete-digital-menu',
|
|
|
|
|
loadChildren: () => import('./pages/gabinete-digital-menu/gabinete-digital-menu.module').then( m => m.GabineteDigitalMenuPageModule)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
path: 'view-event',
|
|
|
|
|
loadChildren: () => import('./pages/view-event/view-event.module').then( m => m.ViewEventPageModule)
|
|
|
|
|
}, */
|
|
|
|
|
|
|
|
|
|
];
|
|
|
|
|
@NgModule({
|
|
|
|
|
imports: [
|
|
|
|
|
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
|
|
|
|
],
|
|
|
|
|
exports: [RouterModule]
|
|
|
|
|
})
|