import MainLayout from "../layouts/mainLayout";
import MinimalLayout from "../layouts/MinimalLayout";
import ClinicsList from "../views/ClinicsList";
import Dashboard from "../views/Dashboard";
import StaffManagement from "../views/StaffManagement";
import ClinicDetails from "../views/ClinicDetails";
import Login from "../views/Login";
import YourDetailsForm from "../views/Signup/YourDetailsForm";
import MockPayment from "../views/MockPayment";
import Users from "../views/User";
import ClinicSetup from "../views/ClinicSetup";
import ClinicTranscripts from "../views/ClinicTranscripts";
import MasterDataManagement from "../views/MasterData";
import PaymentManagement from "../views/PaymentManagement";
import ClinicDocUpdater from "../views/ClinicDocUpdate";
import ForgotPassword from "../views/ForgotPassword";
import ResetPassword from "../views/ResetPassword";
import SignupCharges from "../views/SignupCharges";

export const routesData = [
  {
    path: "/",
    layout: MainLayout,
    routes: [
      { path: "/", component: Dashboard },
      { path: "/clinics", component: ClinicsList },
      { path: "/clinics/:id", component: ClinicDetails },
      { path: "/admin", component: StaffManagement },
      { path: "/doctor", component: Users },
      { path: "/clinicSetup", component: ClinicSetup },
      { path: "/transcripts", component: ClinicTranscripts },
      { path: "/masterData", component: MasterDataManagement },
      { path: "/payment-management", component: PaymentManagement },
      { path: "/docs", component: ClinicDocUpdater },
      { path: "/signup-charges", component: SignupCharges },
    ],
    isProtected: true,
  },
  {
    path: "/auth",
    layout: MinimalLayout,
    routes: [
      { path: "/auth/login", component: Login },
      { path: "/auth/signup/payment", component: MockPayment },
      {
        path: "signup/your-details",
        component: YourDetailsForm,
      },
      {
        path: "forgotpassword",
        component: ForgotPassword,
      },
      {
        path: 'reset-password',
        component: ResetPassword,
      },
    ],
  },
];
