diff --git a/src/Pages/AccountDeletion/DeletionHistory.jsx b/src/Pages/AccountDeletion/DeletionHistory.jsx
new file mode 100644
index 0000000..898994f
--- /dev/null
+++ b/src/Pages/AccountDeletion/DeletionHistory.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const DeletionHistory = () => {
+ return (
+
+ Account deletion request
+
+ );
+};
+
+export default DeletionHistory;
diff --git a/src/Pages/AccountDeletion/DeletionRequest.jsx b/src/Pages/AccountDeletion/DeletionRequest.jsx
new file mode 100644
index 0000000..c58d7aa
--- /dev/null
+++ b/src/Pages/AccountDeletion/DeletionRequest.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const DeletionRequest = () => {
+ return (
+
+ Pending deletion request
+
+ );
+};
+
+export default DeletionRequest;
diff --git a/src/Pages/Admin/Academy.jsx b/src/Pages/Admin/Academy.jsx
new file mode 100644
index 0000000..a41eb07
--- /dev/null
+++ b/src/Pages/Admin/Academy.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const Academy = () => {
+ return (
+
+ Academy Page
+
+ );
+};
+
+export default Academy;
diff --git a/src/Pages/Admin/BankDetails.jsx b/src/Pages/Admin/BankDetails.jsx
new file mode 100644
index 0000000..41896d6
--- /dev/null
+++ b/src/Pages/Admin/BankDetails.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const BankDetails = () => {
+ return (
+
+ Bank Details
+
+ );
+};
+
+export default BankDetails;
diff --git a/src/Pages/Admin/BankInvestor.jsx b/src/Pages/Admin/BankInvestor.jsx
new file mode 100644
index 0000000..f7d24ed
--- /dev/null
+++ b/src/Pages/Admin/BankInvestor.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const BankInvestor = () => {
+ return (
+
+ Admin Bank Investor Page
+
+ );
+};
+
+export default BankInvestor;
diff --git a/src/Pages/Admin/Contact.jsx b/src/Pages/Admin/Contact.jsx
new file mode 100644
index 0000000..c0b4704
--- /dev/null
+++ b/src/Pages/Admin/Contact.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const Contact = () => {
+ return (
+
+ Contact Us Page
+
+ );
+};
+
+export default Contact;
diff --git a/src/Pages/Admin/Notification.jsx b/src/Pages/Admin/Notification.jsx
new file mode 100644
index 0000000..57ffe15
--- /dev/null
+++ b/src/Pages/Admin/Notification.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const Notification = () => {
+ return (
+
+ Notification
+
+ );
+};
+
+export default Notification;
diff --git a/src/Pages/Admin/Users.jsx b/src/Pages/Admin/Users.jsx
new file mode 100644
index 0000000..c820738
--- /dev/null
+++ b/src/Pages/Admin/Users.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const Users = () => {
+ return (
+
+ Users Page
+
+ );
+};
+
+export default Users;
diff --git a/src/Pages/AssetClan/AssetClan.jsx b/src/Pages/AssetClan/AssetClan.jsx
deleted file mode 100644
index b0e1c7e..0000000
--- a/src/Pages/AssetClan/AssetClan.jsx
+++ /dev/null
@@ -1,16 +0,0 @@
-import { Box, Input } from "@chakra-ui/react";
-import React from "react";
-import { OPACITY_ON_LOAD } from "../../Layout/animations";
-
-const AssetClan = () => {
- return (
-
- );
-};
-
-export default AssetClan;
diff --git a/src/Pages/ExchangeRate/ExchangeRate.jsx b/src/Pages/ExchangeRate/ExchangeRate.jsx
deleted file mode 100644
index 772137b..0000000
--- a/src/Pages/ExchangeRate/ExchangeRate.jsx
+++ /dev/null
@@ -1,16 +0,0 @@
-import { Box, Input } from "@chakra-ui/react";
-import React from "react";
-import { OPACITY_ON_LOAD } from "../../Layout/animations";
-
-const ExchangeRate = () => {
- return (
-
- );
-};
-
-export default ExchangeRate;
diff --git a/src/Pages/IO_Management/Create.jsx b/src/Pages/IO_Management/Create.jsx
new file mode 100644
index 0000000..6fd4d27
--- /dev/null
+++ b/src/Pages/IO_Management/Create.jsx
@@ -0,0 +1,13 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+
+const Create = () => {
+ return (
+
+ IO management Create
+
+ );
+};
+
+export default Create;
diff --git a/src/Pages/IO_Management/View.jsx b/src/Pages/IO_Management/View.jsx
new file mode 100644
index 0000000..13a7dc7
--- /dev/null
+++ b/src/Pages/IO_Management/View.jsx
@@ -0,0 +1,13 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+
+const View = () => {
+ return (
+
+ IO management View
+
+ );
+};
+
+export default View;
diff --git a/src/Pages/Investment/AddInvestment.jsx b/src/Pages/Investment/AddInvestment.jsx
deleted file mode 100644
index 4e823e3..0000000
--- a/src/Pages/Investment/AddInvestment.jsx
+++ /dev/null
@@ -1,437 +0,0 @@
-import {
- Box,
- FormControl,
- FormHelperText,
- FormLabel,
- Input,
- Text,
- Stack,
- Textarea,
- Heading,
- Button,
- useToast,
- Divider,
- Image,
- Select,
-} from "@chakra-ui/react";
-import React, { useState } from "react";
-import fallbackImage from "../../assets/fallBackImage.png";
-import fallbackImageLarge from "../../assets/ultp-fallback-img.webp";
-import { TiWarning } from "react-icons/ti";
-
-import { motion } from "framer-motion";
-import { OPACITY_ON_LOAD } from "../../Layout/animations";
-
-import { yupResolver } from "@hookform/resolvers/yup";
-import { Controller, useForm } from "react-hook-form";
-import { investmentSchema } from "../../Validations/Validations";
-import { useCreateBlogMutation } from "../../Services/api.service";
-import { useNavigate } from "react-router-dom";
-import Loader01 from "../../Components/Loaders/Loader01";
-import ReactQuill from "react-quill";
-import "react-quill/dist/quill.snow.css";
-import ChipSelector from "../../Components/ChipSelector/ChipSelector";
-import Header from "../../Components/Header";
-import ToastBox from "../../Components/ToastBox";
-
-const AddInvestment = () => {
- const toast = useToast();
- const navigate = useNavigate();
- const [createBlog] = useCreateBlogMutation(); // Invoke the hook to get the mutation function
- const [isLoading, setIsLoading] = useState(false);
- const [selectedImage, setSelectedImage] = useState(fallbackImage);
- const [selectedImageLarge, setSelectedImageLarge] =
- useState(fallbackImageLarge);
- const [largeImageData, setLargeImageData] = useState(null);
- const [smallImageData, setSmallImageData] = useState(null);
- const [chips, setChips] = useState([]);
- const [value, setValue] = useState("");
- const [metaDescription, setMetaDescription] = useState("");
- const [investments, setInvestments] = useState([]);
- const [status, setStatus] = useState("available");
- const [statusAr, setStatusAr] = useState("available");
-
- const handleDescriptionChange = (e) => {
- setMetaDescription(e.target.value);
- };
-
- const {
- control,
- register,
- handleSubmit,
- reset,
- setValue: setYupFormValue,
- formState: { errors },
- } = useForm({
- resolver: yupResolver(investmentSchema),
- });
-
- const handleInputChange = (e, field) => {
- setYupFormValue(field, e.target.value);
- setYupFormValue(`${field}_ar`, e.target.value);
- };
-
- const handleArabicInputChange = (e, field) => {
- setYupFormValue(field, e.target.value);
- setYupFormValue(field.replace("_ar", ""), e.target.value);
- };
-
- const handleStatusChange = (e) => {
- setStatus(e.target.value);
- setStatusAr(e.target.value);
- };
-
- const handleStatusArChange = (e) => {
- setStatusAr(e.target.value);
- setStatus(e.target.value);
- };
-
- const onSubmit = (data) => {
- const newInvestment = {
- name: data.name,
- address: data.address,
- mobile: data.mobile,
- bankDetails: data.bankDetails,
- bankAccount: data.bankAccount,
- status: data.status,
- };
-
- setInvestments([...investments, newInvestment]);
- reset();
- navigate("/investment");
- };
-
- return (
-
-
-
-
- );
-};
-
-export default AddInvestment;
diff --git a/src/Pages/Investment/Investment.jsx b/src/Pages/Investment/Investment.jsx
deleted file mode 100644
index f847bfc..0000000
--- a/src/Pages/Investment/Investment.jsx
+++ /dev/null
@@ -1,532 +0,0 @@
-import React, { useRef, useState } from "react";
-import {
- Avatar,
- Box,
- Link,
- Tag,
- Text,
- WrapItem,
- Tooltip,
- Divider,
- Stack,
- HStack,
- Input,
- Button,
- Select,
- Image,
- Menu,
- MenuButton,
- MenuList,
- MenuItem,
- Switch,
- Portal,
- useDisclosure,
- AlertDialog,
- AlertDialogOverlay,
- AlertDialogContent,
- AlertDialogHeader,
- AlertDialogCloseButton,
- AlertDialogBody,
- AlertDialogFooter,
- useToast,
- Skeleton,
- VStack,
- Badge,
-} from "@chakra-ui/react";
-import { AddIcon } from "@chakra-ui/icons";
-import DataTable from "../../Components/DataTable/DataTable";
-import { OPACITY_ON_LOAD } from "../../Layout/animations";
-import { Link as RouterLink } from "react-router-dom";
-import {
- useDeleteBlogMutation,
- useDeleteCommunityMutation,
- useGetBlogQuery,
- useGetCommunityBannerQuery,
- useGetCommunityByIdQuery,
- useGetCommunityQuery,
- useUpdateBlogStatusMutation,
- useUpdateCommunityStatusMutation,
-} from "../../Services/api.service";
-import { HiDotsVertical } from "react-icons/hi";
-import { formatDate } from "../../Components/Functions/UTCConvertor";
-import CustomAlertDialog from "../../Components/CustomAlertDialog";
-import Header from "../../Components/Header";
-import ToastBox from "../../Components/ToastBox";
-import TabularView from "../../Components/TabularView/TabularView";
-import { TABLE_PAGINATION } from "../../Constants/Paginations";
-const API_URL = import.meta.env.VITE_API_BASE_URL;
-
-const Investment = ({ investments = [] }) => {
- // ====================================================[Hooks]===================================================================
- const toast = useToast();
- const [pageSize, setPageSize] = useState(TABLE_PAGINATION?.size);
- const [currentPage, setCurrentPage] = useState(1);
-
- const [deleteAlert, setDeleteAlert] = useState(false);
- const [actionId, setActionId] = useState(null);
- const [deleteIsLoading, setDeleteIsLoading] = useState(false);
- const [searchTerm, setSearchTerm] = useState("");
- const [statusFilter, setStatusFilter] = useState("all");
- // const blog = useGetBlogQuery({ page: currentPage, size: pageSize });
- // const [deleteBlog] = useDeleteBlogMutation();
- // const [updateBlogStatus] = useUpdateBlogStatusMutation();
- // ====================================================[Functions]===================================================================
-
- const staticData = [
- {
- id: 1,
- name: "EcoTech Innovations",
- address: "Baharain",
- mobile: "Available",
- bank_details: "+ $ 25.500",
- bank_account: "100",
- status: "Available",
- },
- {
- id: 2,
- name: "Solaris Ventures",
- address: "Kuwait",
- mobile: "Upcoming",
- bank_details: "+ $ 20.500",
- bank_account: "50",
- status: "Upcoming",
- },
- ];
-
- const handleDelete = async (id) => {
- setDeleteIsLoading(true);
- // Simulate deletion
- setTimeout(() => {
- setDeleteIsLoading(false);
- setDeleteAlert(false);
- toast({
- title: "Deleted",
- description: `Item with id ${id} has been deleted.`,
- status: "success",
- duration: 3000,
- isClosable: true,
- });
- }, 1000);
- };
-
- const handleUpdateStatus = async (id) => {
- // Simulate status update
- toast({
- title: "Updated",
- description: `Status for item with id ${id} has been updated.`,
- status: "success",
- duration: 3000,
- isClosable: true,
- });
- };
-
- const filteredData = staticData.filter((item) => {
- const nameMatches = item.name
- .toLowerCase()
- .includes(searchTerm.toLowerCase());
- const statusMatches =
- statusFilter === "all" ||
- (statusFilter === "active" && item.active_blog) ||
- (statusFilter === "inactive" && !item.active_blog);
-
- return nameMatches && statusMatches;
- });
-
- const tableHeadRow = [
- "S/N",
- "Name",
- "Address",
- "Mobile",
- "Active",
- "Bank Details",
- "Bank Account",
- "Status",
- ];
-
- const extractedArray = filteredData.map((item, index) => ({
- "S/N": (
-
-
-
- {index + 1}.
-
-
-
- ),
- Name: (
-
-
-
- {item.name}
-
-
-
- ),
- Address: (
-
-
- {item.address}
-
-
- ),
- Mobile: (
-
-
- {item.mobile}
-
-
- ),
- Active: (
- handleUpdateStatus(item.id)}
- isChecked={item.active_blog}
- />
- ),
- "Bank Details": (
-
-
- {item.bank_details}
-
-
- ),
- "Bank Account": (
-
-
- {item.bank_account}
-
-
- ),
- Status: (
-
-
- {item.status}
-
-
-
- ),
- }));
-
- return (
- <>
-
- setDeleteAlert(false)}
- isOpen={deleteAlert}
- alertHandler={() => handleDelete(actionId)}
- message={"Are you sure you want to delete this item?"}
- isLoading={deleteIsLoading}
- />
- >
- );
-
- // const handleDelete = async (communityId) => {
- // try {
- // // Trigger the mutation
- // setDeleteIsLoading(true);
- // await deleteBlog(communityId)
- // .then((response) => {
- // // Handle the response here
- // // // console.log("Mutation response:", response?.data?.statusCode);
- // // // console.log("Mutation response:", response?.data?.message);
-
- // if (response?.data?.statusCode === 201) {
- // setDeleteIsLoading(false);
- // setDeleteAlert(false);
- // }
- // })
- // .catch((error) => {
- // // // console.error("Error creating community:", error);
- // setDeleteIsLoading(false);
- // setDeleteAlert(false);
- // });
- // } catch (error) {
- // // Handle errors
- // // // console.error("Error deleting community:", error);
- // }
- // };
-
- // const handleUpdateStatus = async (id) => {
- // try {
- // // Trigger the mutation
- // await updateBlogStatus({ id })
- // .then((response) => {
- // if (response?.data?.statusCode === 201) {
- // toast({
- // render: () => (
- //
- // ),
- // });
- // }
- // })
- // .catch((error) => {
- // // // console.log(error);
- // });
- // } catch (error) {
- // // Handle errors
- // // // console.error("Error updating community status:", error);
- // }
- // };
-
- // // ====================================================[Table Filter]================================================================
- // const filteredData = blog?.data?.data?.rows?.filter((item) => {
- // // Filter by name (case insensitive)
- // const name = item.author_name;
- // const searchLower = searchTerm.toLowerCase();
- // const nameMatches = name.toLowerCase().includes(searchLower);
-
- // // Filter by status
- // const status = item.active_blog;
-
- // const statusMatches =
- // statusFilter === "all" ||
- // (statusFilter === "active" && status === true) ||
- // (statusFilter === "inactive" && status === false);
-
- // return nameMatches && statusMatches;
- // });
-
- // // ====================================================[Table Setup]================================================================
- // const tableHeadRow = [
- // "S/N",
- // // "Discription",
- // "InvestorName",
- // "Country",
- // "InvestedAmount",
- // "USDAmount",
- // ];
- // const extractedArray = filteredData?.map((item, index) => {
- // return {
- // "S/N": (
- //
- // {/* */}
- //
- //
- // {/* {item?.author_name} */}
- // 1.
- //
- // {/*
- // {item?.author_designation}
- // */}
- //
- //
- // ),
- // // Discription: (
- // //
- // //
- // //
- // // {item?.meta_description}
- // //
- // //
- // //
- // // ),
- // InvestorName: (
- //
- //
- //
- // {/* {item?.summary} */}
- // Faisal
- //
- //
- //
- // ),
- // Country: (
- //
- // {/* {item?.tags?.map(({ id, tag }) => (
- //
- // {tag}
- //
- // ))} */}
- //
- // Baharain
- //
- //
- // ),
- // InvestedAmount: (
- // // handleUpdateStatus(item.id)}
- // // isChecked={item.active_blog}
- // // />
-
- //
- //
- // 60000
- //
- //
- // ),
- // USDAmount: (
- //
- //
- // {/* {formatDate(item?.createdAt)} */}
- // 3000
- //
- //
- //
- // ),
- // };
- // });
-
- // return (
- // <>
- //
- // setDeleteAlert(false)}
- // isOpen={deleteAlert}
- // alertHandler={() => handleDelete(actionId)}
- // message={"Are you sure you want to delete blogs?"}
- // isLoading={deleteIsLoading}
- // />
- // >
- // );
-};
-
-export default Investment;
diff --git a/src/Pages/InvestorUpgrade/InvestorPendingRequest.jsx b/src/Pages/InvestorUpgrade/InvestorPendingRequest.jsx
new file mode 100644
index 0000000..df6bdcd
--- /dev/null
+++ b/src/Pages/InvestorUpgrade/InvestorPendingRequest.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const InvestorPendingRequest = () => {
+ return (
+
+ Investor pending request
+
+ );
+};
+
+export default InvestorPendingRequest;
diff --git a/src/Pages/InvestorUpgrade/UpgradeHistory.jsx b/src/Pages/InvestorUpgrade/UpgradeHistory.jsx
new file mode 100644
index 0000000..f10fc77
--- /dev/null
+++ b/src/Pages/InvestorUpgrade/UpgradeHistory.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const upgradeHistory = () => {
+ return (
+
+ Investor upgradation History
+
+ );
+};
+
+export default upgradeHistory;
diff --git a/src/Pages/Investor_Management/InvestorDetails.jsx b/src/Pages/Investor_Management/InvestorDetails.jsx
new file mode 100644
index 0000000..b4ecb13
--- /dev/null
+++ b/src/Pages/Investor_Management/InvestorDetails.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const InvestorDetails = () => {
+ return (
+
+ Investor Details Page
+
+ );
+};
+
+export default InvestorDetails;
diff --git a/src/Pages/Investor_Management/InvestorTransactions.jsx b/src/Pages/Investor_Management/InvestorTransactions.jsx
new file mode 100644
index 0000000..411de20
--- /dev/null
+++ b/src/Pages/Investor_Management/InvestorTransactions.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const InvestorTransactions = () => {
+ return (
+
+ Investor Transactions Page
+
+ );
+};
+
+export default InvestorTransactions;
diff --git a/src/Pages/Master/InvestmentType/InvestmentType.jsx b/src/Pages/Master/InvestmentType/InvestmentType.jsx
new file mode 100644
index 0000000..d1343d2
--- /dev/null
+++ b/src/Pages/Master/InvestmentType/InvestmentType.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../../Layout/animations";
+
+const InvestmentType = () => {
+ return (
+
+ Investment type page
+
+ );
+};
+
+export default InvestmentType;
diff --git a/src/Pages/WithDrawal/PendingRequest.jsx b/src/Pages/WithDrawal/PendingRequest.jsx
new file mode 100644
index 0000000..d973223
--- /dev/null
+++ b/src/Pages/WithDrawal/PendingRequest.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const PendingRequest = () => {
+ return (
+
+ Pending Request Page
+
+ );
+};
+
+export default PendingRequest;
diff --git a/src/Pages/WithDrawal/ViewHistory.jsx b/src/Pages/WithDrawal/ViewHistory.jsx
new file mode 100644
index 0000000..6d74d4e
--- /dev/null
+++ b/src/Pages/WithDrawal/ViewHistory.jsx
@@ -0,0 +1,12 @@
+import { Box, Text } from "@chakra-ui/react";
+import { OPACITY_ON_LOAD } from "../../Layout/animations";
+
+const ViewHistory = () => {
+ return (
+
+ View History Page
+
+ );
+};
+
+export default ViewHistory;
diff --git a/src/Routes/Nav.js b/src/Routes/Nav.js
index a7089ec..2ee8149 100644
--- a/src/Routes/Nav.js
+++ b/src/Routes/Nav.js
@@ -30,7 +30,7 @@ export const nav = [
{
title: "Sponser Master",
path: "/sponser",
- icon:RiMoneyDollarBoxLine
+ icon: RiMoneyDollarBoxLine
},
{
title: "Investment Type",
@@ -39,8 +39,8 @@ export const nav = [
},
{
title: "Exchange Rate",
- path: "/view",
- icon:RiExchangeBoxLine
+ path: "/exchange-rate",
+ icon: RiExchangeBoxLine
},
],
type: "accordion",
@@ -51,13 +51,13 @@ export const nav = [
submenu: [
{
title: "Create IO",
- path: "/Create IO",
- icon:MdOutlineAddChart
+ path: "/create",
+ icon: MdOutlineAddChart
},
{
title: "View IO",
- path: "/View IO",
- icon:HiOutlineChartSquareBar
+ path: "/view",
+ icon: HiOutlineChartSquareBar
},
],
type: "accordion",
@@ -68,13 +68,13 @@ export const nav = [
submenu: [
{
title: "Investor Details",
- path: "/View Investor Transactions",
- icon:TbListDetails
+ path: "/investor-details",
+ icon: TbListDetails
},
{
title: "Investor Transactions",
- path: "/View IO",
- icon:TbTransactionDollar
+ path: "/investor-transactions",
+ icon: TbTransactionDollar
},
],
type: "accordion",
@@ -88,13 +88,13 @@ export const nav = [
submenu: [
{
title: "Pending Request",
- path: "/Pending Request",
- icon:RiMoneyDollarBoxLine
+ path: "/pending-request",
+ icon: RiMoneyDollarBoxLine
},
{
title: "View History",
- path: "/View History",
- icon:RiExchangeBoxLine
+ path: "/view-history",
+ icon: RiExchangeBoxLine
}
],
type: "accordion",
@@ -105,13 +105,13 @@ export const nav = [
submenu: [
{
title: "Pending Request",
- path: "/Pending Request",
- icon:RiMoneyDollarBoxLine
+ path: "/investor-request",
+ icon: RiMoneyDollarBoxLine
},
{
title: "View History",
- path: "/View History",
- icon:RiExchangeBoxLine
+ path: "/upgrade-history",
+ icon: RiExchangeBoxLine
}
],
type: "accordion",
@@ -122,13 +122,13 @@ export const nav = [
submenu: [
{
title: "Pending Request",
- path: "/Pending Request",
- icon:RiMoneyDollarBoxLine
+ path: "/deletion-request",
+ icon: RiMoneyDollarBoxLine
},
{
title: "View History",
- path: "/View History",
- icon:RiExchangeBoxLine
+ path: "/deletion-history",
+ icon: RiExchangeBoxLine
}
],
type: "accordion",
@@ -137,38 +137,38 @@ export const nav = [
{
title: "MANAGE ADMIN",
type: "title",
- },{
+ }, {
title: "Admin",
submenu: [
{
title: "Bank / Urban Investor",
- path: "/Pending Request",
- icon:TbReportMoney
+ path: "/bank-investor",
+ icon: TbReportMoney
},
{
title: "Academy",
- path: "/Academy",
- icon:SiAcademia
+ path: "/academy",
+ icon: SiAcademia
},
{
title: "Notification",
- path: "/Notification",
- icon:MdNotificationsNone
+ path: "/notification",
+ icon: MdNotificationsNone
},
{
title: "Contact Details",
- path: "/Contact Details",
- icon:LuContact
+ path: "/contact",
+ icon: LuContact
},
{
title: "Users",
- path: "/Users",
- icon:RiFileUserLine
+ path: "/users",
+ icon: RiFileUserLine
},
{
title: "Bank Details",
- path: "/Bank Details",
- icon:RiBankLine
+ path: "/bank-details",
+ icon: RiBankLine
}
],
type: "accordion",
diff --git a/src/Routes/Routes.js b/src/Routes/Routes.js
index 43ef8e6..bf9b385 100644
--- a/src/Routes/Routes.js
+++ b/src/Routes/Routes.js
@@ -1,15 +1,58 @@
+import DeletionHistory from "../Pages/AccountDeletion/DeletionHistory";
+import DeletionRequest from "../Pages/AccountDeletion/DeletionRequest";
+import Academy from "../Pages/Admin/Academy";
+import BankDetails from "../Pages/Admin/BankDetails";
+import BankInvestor from "../Pages/Admin/BankInvestor";
+import Contact from "../Pages/Admin/Contact";
+import Notification from "../Pages/Admin/Notification";
+import Users from "../Pages/Admin/Users";
+import Create from "../Pages/IO_Management/Create";
+import View from "../Pages/IO_Management/View";
+import InvestorPendingRequest from "../Pages/InvestorUpgrade/InvestorPendingRequest";
+import upgradeHistory from "../Pages/InvestorUpgrade/UpgradeHistory";
+import InvestorDetails from "../Pages/Investor_Management/InvestorDetails";
+import InvestorTransactions from "../Pages/Investor_Management/InvestorTransactions";
import ExchangeRate from "../Pages/Master/ExchangeRate/ExchangeRate";
+import InvestmentType from "../Pages/Master/InvestmentType/InvestmentType";
import AddSponser from "../Pages/Master/Sponser/AddSponser";
import Sponser from "../Pages/Master/Sponser/Sponsers";
+import PendingRequest from "../Pages/WithDrawal/PendingRequest";
+import ViewHistory from "../Pages/WithDrawal/ViewHistory";
export const RouteLink = [
// =============[ Tanami ]================
+ // ===============[ Management]===============
{ path: "/sponser", Component: Sponser },
{ path: "/sponser/add-sponser", Component: AddSponser },
-
-
-
-
{ path: "/exchange-rate", Component: ExchangeRate },
+ { path: "/investment-type", Component: InvestmentType },
+
+ // ===============[ IO Management]===============
+ { path: "/create", Component: Create },
+ { path: "/view", Component: View },
+
+ // ===============[ Investor Management]===============
+ { path: "/investor-details", Component: InvestorDetails },
+ { path: "/investor-transactions", Component: InvestorTransactions },
+
+ // ===============[ Withdrawal]===============
+ { path: "/pending-request", Component: PendingRequest },
+ { path: "/view-history", Component: ViewHistory },
+
+ // ===============[ Withdrawal]===============
+ { path: "/upgrade-history", Component: upgradeHistory },
+ { path: "/investor-request", Component: InvestorPendingRequest },
+
+ // ===============[ Deletion]===============
+ { path: "/deletion-request", Component: DeletionRequest },
+ { path: "/deletion-history", Component: DeletionHistory },
+
+ // ===============[ Admin]===============
+ { path: "/bank-investor", Component: BankInvestor },
+ { path: "/academy", Component: Academy },
+ { path: "/notification", Component: Notification },
+ { path: "/contact", Component: Contact },
+ { path: "/users", Component: Users },
+ { path: "/bank-details", Component: BankDetails },
];