import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { IRouteConfig } from '@shared/ui-api/interfaces/route-config/route-config';

const routes: Routes = [
  {
    path: 'openstack-plans',
    data: {
      config: {
        getBreadCrumbDetail: () => $localize`OpenStack plans`,
        getTitleDisplay: () => $localize`OpenStack plans`,
      } as IRouteConfig
    },
    loadChildren: () => import('./openstack-plans/openstack-plans.module').then(mod => mod.OpenstackPlansModule),
  },
];

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