import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { DetailComponent } from "./detail.component";
import { RouterModule, Routes } from "@angular/router";
import { MapComponent } from "../../../components/map/map.component";
import { UploadImageComponent } from "../../../components/upload-image/upload-image.component";
import { NgbAlertModule, NgbTooltipModule } from "@ng-bootstrap/ng-bootstrap";

const routes: Routes = [
  {
    path: "",
    component: DetailComponent,
  },
];

@NgModule({
  declarations: [DetailComponent],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    MapComponent,
    UploadImageComponent,
    NgbAlertModule,
    NgbTooltipModule,
  ],
})
export class DetailModule {}
