import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../shared/shared.module';

const routes: Routes = [
  {path: 'std.material', loadChildren: () => import('./std-material/std.material.module').then(m => m.MaterialStdModule)},
  {path: 'material.pic', loadChildren: () => import('./material-pic/material.pic.module').then(m => m.MaterialPicModule)},
  {path: 'material.video', loadChildren: () => import('./material-video/material.video.module').then(m => m.MaterialVideoModule)},
  {path: 'reg', loadChildren: () => import('./reg/reg.material.module').then(m => m.MaterialRegModule)},
  {path: 'review', loadChildren: () => import('./review/review.material.module').then(m => m.MaterialReviewModule)},
  {path: 'photo', loadChildren: () => import('./photo/photo.material.module').then(m => m.MaterialPhotoModule)},
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [],
  declarations: [],
  exports: [
    RouterModule
  ]
})

export class ArtMaterialModule {
}