import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { PortalComponent } from './portal.component';
import { DailyComponent } from './daily.component';
import { AlbumComponent } from './album.component';
import { AlbumDetailComponent } from './album-detail.component';
import { CollectionComponent } from './collection.component';
import { CollectionDetailComponent } from './collection-detail.component';

const routes: Routes = [
  { path: 'daily', component: DailyComponent, },
  { path: 'portal', component: PortalComponent, },
  { path: 'album', component: AlbumComponent, },
  { path: 'album/detail/:id', component: AlbumDetailComponent, },
  { path: 'collection', component: CollectionComponent, },
  { path: 'collection/detail/:id', component: CollectionDetailComponent, },
];

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