// Questo file fa parte di MyTown.
// MyTown è software libero: puoi ridistribuirlo e/o modificarlo secondo
// i termini della GNU Affero General Public License come pubblicata dalla
// Free Software Foundation, versione 3.
// Distribuito senza ALCUNA GARANZIA; vedi la GNU AGPL v3 per i dettagli.
// Copyright (C) Kondor Consulting & Services S.r.l.
// SPDX-License-Identifier: AGPL-3.0-or-later

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { EventboardComponent } from './eventboard.component';
import { ReservationModule } from '../reservation/reservation.module';

const routes: Routes = [
  	{
      path: '',
      component: EventboardComponent,
    },
    {
		path: 'company/:cmp_id/reservation/:id',
		loadChildren: () => import('../reservation/reservation.module').then((m) => m.ReservationModule),
	  },
	{
		path: 'event-detail',
		loadChildren: () => import('../prod-filters/prod-filters.module').then((m) => m.ProdFiltersModule),
	},
  	
];

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