import { Routes } from '@angular/router';
import { AssortmentComponent } from './assortment.component';
import { PriceUpdateComponent } from './price-update/price-update.component';

export const routes: Routes = [
  {
    path: '',
    component: AssortmentComponent,
    title: 'Sortiment',
    children: [
      {
        path: 'price-update',
        component: PriceUpdateComponent,
        title: 'Sortiment - Preisänderung',
      },
      { path: '**', redirectTo: 'price-update' },
    ],
  },
];
