import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { SettingComponent } from "./setting.component";
import { RouterModule, Routes } from "@angular/router";
import { NgbNavModule, NgbPaginationModule } from "@ng-bootstrap/ng-bootstrap";
import { PengelolaComponent } from "./pengelola/pengelola/pengelola.component";
import { FaqComponent } from "./FAQ/faq/faq.component";
import { SurveyorComponent } from "../surveyor/surveyor.component";
import { DataSurveyorComponent } from "./surveyor/surveyor/surveyor.component";

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

@NgModule({
  declarations: [SettingComponent],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    NgbNavModule,
    NgbPaginationModule,
    PengelolaComponent,
    FaqComponent,
    DataSurveyorComponent,
  ],
})
export class SettingModule {}
