// ⚡ Auto-generated by generateRoutes.ts — DO NOT EDIT MANUALLY
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Login from "./pages/Login";
import DarmasabaLayout from "./pages/darmasaba/darmasaba_layout";
import FormSuratKeteranganUsaha from "./pages/darmasaba/form_surat_keterangan_usaha";
import FormSuratKeteranganTidakMampu from "./pages/darmasaba/form_surat_keterangan_tidak_mampu";
import DarmasabaHome from "./pages/darmasaba/darmasaba_home";
import FormKartuTandaPenduduk from "./pages/darmasaba/form_kartu_tanda_penduduk";
import FormKartuKeluarga from "./pages/darmasaba/form_kartu_keluarga";
import FormLaporanSampah from "./pages/darmasaba/form_laporan_sampah";
import FormSuratKeteranganPenghasilan from "./pages/darmasaba/form_surat_keterangan_penghasilan";
import FormSuratKeteranganDomisiliOrganisasi from "./pages/darmasaba/form_surat_keterangan_domisili_organisasi";
import UpdateDataSurat from "./pages/darmasaba/update_data_surat";
import FormSuratKeteranganBelumKawin from "./pages/darmasaba/form_surat_keterangan_belum_kawin";
import FormKeteranganKelahiran from "./pages/darmasaba/form_keterangan_kelahiran";
import FormSuratKeteranganTempatUsaha from "./pages/darmasaba/form_surat_keterangan_tempat_usaha";
import FormSuratKeteranganKelakuanBaik from "./pages/darmasaba/form_surat_keterangan_kelakuan_baik";
import Surat from "./pages/darmasaba/surat";
import Home from "./pages/Home";
import CredentialPage from "./pages/scr/dashboard/credential/credential_page";
import DashboardHome from "./pages/scr/dashboard/dashboard_home";
import ListPelayananPage from "./pages/scr/dashboard/pelayanan-surat/list_pelayanan_page";
import DetailPelayananPage from "./pages/scr/dashboard/pelayanan-surat/detail_pelayanan_page";
import DetailWargaPage from "./pages/scr/dashboard/warga/detail_warga_page";
import ListWargaPage from "./pages/scr/dashboard/warga/list_warga_page";
import ListPage from "./pages/scr/dashboard/pengaduan/list_page";
import DetailPage from "./pages/scr/dashboard/pengaduan/detail_page";
import ApikeyPage from "./pages/scr/dashboard/apikey/apikey_page";
import DashboardLayout from "./pages/scr/dashboard/dashboard_layout";
import DetailSettingPage from "./pages/scr/dashboard/setting/detail_setting_page";
import ScrLayout from "./pages/scr/scr_layout";
import DirPage from "./pages/dir/dir_page";
import NotFound from "./pages/NotFound";

export default function AppRoutes() {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/login" element={<Login />} />

        <Route path="/darmasaba" element={<DarmasabaLayout />}>
          <Route index element={<DarmasabaHome />} />

          <Route
            path="/darmasaba/surat-keterangan-usaha"
            element={<FormSuratKeteranganUsaha />}
          />
          <Route
            path="/darmasaba/surat-keterangan-tidak-mampu"
            element={<FormSuratKeteranganTidakMampu />}
          />
          <Route path="/darmasaba/darmasaba-home" element={<DarmasabaHome />} />
          <Route
            path="/darmasaba/kartu-tanda-penduduk"
            element={<FormKartuTandaPenduduk />}
          />
          <Route
            path="/darmasaba/kartu-keluarga"
            element={<FormKartuKeluarga />}
          />
          <Route
            path="/darmasaba/laporan-sampah"
            element={<FormLaporanSampah />}
          />
          <Route
            path="/darmasaba/surat-keterangan-penghasilan"
            element={<FormSuratKeteranganPenghasilan />}
          />
          <Route
            path="/darmasaba/surat-keterangan-domisili-organisasi"
            element={<FormSuratKeteranganDomisiliOrganisasi />}
          />
          <Route
            path="/darmasaba/update-data-surat"
            element={<UpdateDataSurat />}
          />
          <Route
            path="/darmasaba/surat-keterangan-belum-kawin"
            element={<FormSuratKeteranganBelumKawin />}
          />
          <Route
            path="/darmasaba/keterangan-kelahiran"
            element={<FormKeteranganKelahiran />}
          />
          <Route
            path="/darmasaba/surat-keterangan-tempat-usaha"
            element={<FormSuratKeteranganTempatUsaha />}
          />
          <Route
            path="/darmasaba/surat-keterangan-kelakuan-baik"
            element={<FormSuratKeteranganKelakuanBaik />}
          />
          <Route path="/darmasaba/surat" element={<Surat />} />
        </Route>
        <Route path="/" element={<Home />} />

        <Route path="/scr" element={<ScrLayout />}>
          <Route path="/scr/dashboard" element={<DashboardLayout />}>
            <Route index element={<DashboardHome />} />

            <Route
              path="/scr/dashboard/credential/credential"
              element={<CredentialPage />}
            />
            <Route
              path="/scr/dashboard/dashboard-home"
              element={<DashboardHome />}
            />
            <Route
              path="/scr/dashboard/pelayanan-surat/list-pelayanan"
              element={<ListPelayananPage />}
            />
            <Route
              path="/scr/dashboard/pelayanan-surat/detail-pelayanan"
              element={<DetailPelayananPage />}
            />
            <Route
              path="/scr/dashboard/warga/detail-warga"
              element={<DetailWargaPage />}
            />
            <Route
              path="/scr/dashboard/warga/list-warga"
              element={<ListWargaPage />}
            />
            <Route
              path="/scr/dashboard/pengaduan/list"
              element={<ListPage />}
            />
            <Route
              path="/scr/dashboard/pengaduan/detail"
              element={<DetailPage />}
            />
            <Route
              path="/scr/dashboard/apikey/apikey"
              element={<ApikeyPage />}
            />
            <Route
              path="/scr/dashboard/setting/detail-setting"
              element={<DetailSettingPage />}
            />
          </Route>
        </Route>
        <Route path="/dir/dir" element={<DirPage />} />
        <Route path="/*" element={<NotFound />} />
      </Routes>
    </BrowserRouter>
  );
}
