import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
// import { ExpServicesComponent } from './activity-services/exp-services/exp-services.component';

const routes: Routes = [
  {
    path: 'Hotel',
    loadChildren: () =>
      import('./hotel/hotel.module').then(
        (m) => m.HotelModule
      ),
  },
   {
    path: 'ActivityInventory',
    loadChildren: () =>
      import('./activity/activity.module').then(
        (m) => m.ActivityModule
      ),
  },
   {
    path: 'ActivityConfing',
    loadChildren: () =>
      import('./activity-config/activity-config.module').then(
        (m) => m.ActivityConfigModule
      ),
  },

  {
    path: 'ActivityServices',
    loadChildren: () =>
      import(
        './activity-services/activity-services.module'
      ).then((m) => m.ActivityServicesModule),
  },
  {
    path: 'FlightServices',
    loadChildren: () =>
      import('./flight-services/flight-services.module').then(
        (m) => m.FlightServicesModule
      ),
  },
  {
    path: 'FlightInventory',
    loadChildren: () =>
      import('./flight-inventory/flight-inventory.module').then(
        (m) => m.FlightInventoryModule
      ),
  },
  {
    path: 'FlightInventoryReport',
    loadChildren: () =>
      import('./flight-inventory-report/flight-inventory-report.module').then(
        (m) => m.FlightInventoryReportModule
      ),
  },
  {
    path: '',
    pathMatch: 'full',
    redirectTo: 'search',
  },
];

@NgModule({
  declarations: [ 

  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    RouterModule.forChild(routes),
  ],
})
export class ServicesModule {}
