import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {MyCenterHomeComponent} from "./my-center-home/my-center-home.component";
import {AuthGuard} from "../auth/auth.guard";
import {MkMaterialComponent} from "./mk-material/mk-material.component";
const myRoutes: Routes = [
  {path: '', component: MyCenterHomeComponent, canActivate: [AuthGuard]},
  {path: 'material', component: MkMaterialComponent}
];

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