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

import { DiplomasPage } from './diplomas.page';

const routes: Routes = [
  {
    path: '',
    component: DiplomasPage
  },
  {
    path: 'diploma',
    loadChildren: () => import('./diploma/diploma.module').then( m => m.DiplomaPageModule)
  }
];

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