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

// courier
import { CourierComponent } from './courier/courier.component';
import { ApplicationComponent } from './application/application.component';
import { AnswerBookletComponent } from './answer-booklet/answer-booklet.component';
import { StudyMaterialComponent } from './study-material/study-material.component';

const routes: Routes = [
  {
    path: '',
    data: {
     title: 'Status'
    },
    children: [
      {
        path: 'couriers',
        component: CourierComponent,
        data: {
          title: 'Couriers'
        }
      },
      {
        path: 'application',
        component: CourierComponent,
        data: {
          title: 'Application'
        }
      },{
        path: 'answerBooklet',
        component: AnswerBookletComponent,
        data: {
          title: 'Answer Booklet'
        }
      },{
        path: 'studyMaterial',
        component: StudyMaterialComponent,
        data: {
          title: 'Study Material'
        }
      }
    ]
  }
];

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