
import DeletionHistory from "../Pages/AccountDeletion/DeletionHistory";
import DeletionRequest from "../Pages/AccountDeletion/DeletionRequest";
import BankDetails from "../Pages/Admin/BankDetails/BankDetails";
import Contact from "../Pages/Admin/Contact";
import Notification from "../Pages/Admin/Notification";
import Users from "../Pages/Admin/Users";
import CreateIO from "../Pages/IO_Management/CreateIO/CreateIO";
import ViewIOTable from "../Pages/IO_Management/ViewIO/ViewIOTable";
import ViewIOdata from "../Pages/IO_Management/ViewIO/ViewIOdata";
import InvestorPendingRequest from "../Pages/InvestorUpgrade/InvestorRequest";
import UpgradeHistory from "../Pages/InvestorUpgrade/UpgradeHistory";
import InvestorDetails from "../Pages/Investor_Management/InvestorDetails/InvestorDetails";
// import InvestorTransactions from "../Pages/Investor_Management/InvestorTransactions";
import ProfileView from "../Pages/Investor_Management/InvestorDetails/ProfileView";
import ViewInvestorDetails from "../Pages/Investor_Management/InvestorDetails/ViewInvestorDetails";
import ExchangeRate from "../Pages/Master/ExchangeRate/ExchangeRate";
import AddInvestmentType from "../Pages/Master/InvestmentType/AddInvestmentType";
import EditInvestmentType from "../Pages/Master/InvestmentType/EditInvestmentType";
import ViewInvestmentType from "../Pages/Master/InvestmentType/ViewInvestmentType";
import AddSponser from "../Pages/Master/Sponser/AddSponser";
import EditSponser from "../Pages/Master/Sponser/EditSponser";
import Sponser from "../Pages/Master/Sponser/Sponsers";
import ViewSponser from "../Pages/Master/Sponser/ViewSponser";
// import PendingRequest from "../Pages/WithDrawal/PendingRequest";
import ViewHistory from "../Pages/WithDrawal/DrawalView/ViewHistory";
import DepositHistory from "../Pages/Deposit/DepositViewHistory/DepositHistory";
import Academy from "../Pages/Admin/ManageAcademy/Academy";
import InvestmentType from "../Pages/Master/InvestmentType/InvestmentType";
import DepositRequest from "../Pages/Deposit/DepositRequest/DepositRequest";
import EditBankDetails from "../Pages/Admin/BankDetails/EditBankDetails";
import ExchangeHistory from "../Pages/Master/ExchangeRate/ExchangeHistroy";
import Welcome from "../Pages/PaymentSuccess";
import Dashbaord from "../Pages/Dashboard/Dashbaord";
import UnderConstruction from "../Pages/UnderConstruction";
import PendingRequest from "../Pages/WithDrawal/DrawalRequest/PendingRequest";
import BankInvestor from "../Pages/Admin/Investor/BankInvestor/BankInvestor";
import Investor from "../Pages/Admin/Investor/BankInvestor/Investor";
import UnbanInvestor from "../Pages/Admin/Investor/UnbanInvestor/UnbanInvestor";
import FawateerRequest from "../Pages/Fawateer/FawateerRequest";
import CreateRequest from "../Pages/Fawateer/CreateRequest";
import ApproveRequest from "../Pages/FawateerChecker/ApproveRequest/ApproveRequest";
import ApproveHistory from "../Pages/FawateerChecker/ApproveHistory/ApproveHistoryChecker";
import ApproveHistoryMaker from "../Pages/FawateerChecker/ApproveHistory/ApproveHistoryMaker";
import EmailNotification from "../Pages/EmailNotification/EmailNotification";
import User from "../Pages/User/User";
import AddUser from "../Pages/User/AddUser";
import Profile from "../Pages/Profile/Profile";
import SubAdmin from "../Pages/SubAdmin/SubAdmin";
import SubAdminUpdateCreate from "../Pages/SubAdmin/SubAdminUpdateCreate";
import InvestmentOpportunities from "../Pages/Dashboard/InvestmentOpportunities";

export const RouteLink = [
  // =============[ Tanami ]================
  // ===============[ Management]===============
  
  { path: "/", Component: Dashbaord },
  { path: "/investment-opportunities", Component: InvestmentOpportunities },
  { path: "/sponser", Component: Sponser },
  { path: "/sponser/add-sponser/:id", Component: AddSponser },
  { path: "/sponser/add-sponser", Component: AddSponser },
  { path: "/sponser/view-sponser/:id", Component: ViewSponser },
  { path: "/sponser/edit-sponser/:id", Component: EditSponser },

  { path: "/exchange-rate", Component: ExchangeRate },
  { path: "/exchange-rate/currency-history/:id", Component: ExchangeHistory },

  { path: "/investment-type", Component: InvestmentType },
  { path: "/investment-type/add-investment/:id", Component: AddInvestmentType },
  { path: "/investment-type/add-investment", Component: AddInvestmentType },
  { path: "/investment-type/view-investment/:id", Component: ViewInvestmentType },
  { path: "/investment-type/edit-investment/:id", Component: EditInvestmentType },

  // ===============[ IO Management]===============
  { path: "/create-io/:id", Component: CreateIO },
  { path: "/create-io/", Component: CreateIO },
  { path: "/view-io", Component: ViewIOTable },
  { path: "/view-io/:id", Component: ViewIOdata },

  // ===============[ Investor Management]===============
  { path: "/investor-details", Component: InvestorDetails },
  { path: "/investor-details/profile-view/:id", Component: ProfileView },
  { path: "/investor-details/view-investor-details", Component: ViewInvestorDetails },
  // { path: "/investor-transactions", Component: InvestorTransactions },
  // { path: "/investor-transactions", Component: UnderConstruction },

  

  // ===============[ Deposit ]===============
  { path: "/deposit-request", Component: DepositRequest },
  { path: "/deposit-history", Component: DepositHistory },

  // ===============[ Withdrawal]===============
  { path: "/withdraw-request", Component: PendingRequest },
  // { path: "/withdraw-request", Component: UnderConstruction },
  { path: "/withdraw-history", Component: ViewHistory },
  // { path: "/withdraw-history", Component: UnderConstruction },

  // ===============[ Withdrawal]===============
  // { path: "/investor-history", Component: UpgradeHistory },
  { path: "/investor-history", Component: UnderConstruction },
  // { path: "/investor-request", Component: InvestorPendingRequest },
  { path: "/investor-request", Component: UnderConstruction },

  // ===============[ Deletion]===============
  { path: "/deletion-request", Component: DeletionRequest },
  // { path: "/deletion-request", Component: UnderConstruction },
  // { path: "/deletion-history", Component: DeletionHistory },
  { path: "/deletion-history", Component: DeletionHistory },

  // ===============[ Admin]===============
  { path: "/bank-investor", Component: Investor },
  { path: "/ban-investor", Component: BankInvestor },
  { path: "/unban-investor", Component: UnbanInvestor },
  // { path: "/bank-investor", Component: UnderConstruction },
  // { path: "/academy", Component: Academy },
  { path: "/academy", Component: UnderConstruction },
  { path: "/notification", Component: Notification },
  // { path: "/notification", Component: UnderConstruction },
  { path: "/contact", Component: Contact },
  // { path: "/contact", Component: UnderConstruction },
  // { path: "/users", Component: Users },
  { path: "/email", Component: EmailNotification },
  // { path: "/users", Component: User },
  // { path: "/users/add-user", Component: AddUser },
  { path: "/bank-details", Component: BankDetails },
  // { path: "/bank-details", Component: UnderConstruction },
  { path: "/bank-details/edit-bank-details/:id", Component: EditBankDetails },
  { path: "/profile", Component: Profile },
  { path: "/subadmin", Component: SubAdmin },
  { path: "/subadmin/subadmin-update/:id", Component: SubAdminUpdateCreate },
  { path: "/subadmin/subadmin-update", Component: SubAdminUpdateCreate },



  // ===============[ fawateer ]===============
  // { path: "/fawateer", Component: localStorage.getItem("role") === "Maker"? CreateRequest:ApproveRequest },
  // { path: "/fawateer-history", Component: localStorage.getItem("role") === "Maker"?ApproveHistoryMaker: ApproveHistory },


  // { path: "/fawateer-approver", Component: ApproveRequest },
  // { path: "/approver-history", Component: ApproveHistory },

  
];
