import { Routes } from '@angular/router';
import { KontorComponent } from './kontor/kontor.component';
import { Auth } from './common/auth/auth';
import { ComicSectionComponent } from './kontor/comic/comic-section/comic-section.component';
import { comicRoutes } from './kontor/comic/comic-section/comic-section.routes';
import { TyscSectionComponent } from './kontor/tysc/tysc-section/tysc-section.component';
import { tyscRoutes } from './kontor/tysc/tysc-section/tysc-section.routes';
import { MediaSectionComponent } from './kontor/media/media-section/media-section.component';
import { mediaRoutes } from './kontor/media/media-section/media-section.routes';

export const routes: Routes = [
  { path: '', component: KontorComponent, },
  { path: 'login', component: Auth, },
  {
    path: 'comic', component: ComicSectionComponent,
    children: comicRoutes,
  },
  {
    path: 'tysc', component: TyscSectionComponent,
    children: tyscRoutes,
  },
  {
    path: 'media', component: MediaSectionComponent,
    children: mediaRoutes,
  },
];
