import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { EventListPage } from './event-list.page';

const routes: Routes = [
  {
    path: '',
    component: EventListPage
  },
  {
    path: 'approve-event',
    loadChildren: () => import('./approve-event/approve-event.module').then( m => m.ApproveEventPageModule)
  }

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class EventListPageRoutingModule {}
