diff --git a/src/App.css b/src/App.css index 5962c79..55cd0c9 100644 --- a/src/App.css +++ b/src/App.css @@ -160,7 +160,7 @@ /* Total scrollbar width */ ::-webkit-scrollbar { - width: 4px; + width: 2px; height: 12px; } @@ -173,14 +173,14 @@ /* The draggable scrollbar handle */ ::-webkit-scrollbar-thumb { - background: #004118; + background: #0041184f; border-radius: 10px; cursor: grabbing; } /* On hover */ ::-webkit-scrollbar-thumb:hover { - background: #004118; + background: #0041189a; } diff --git a/src/Layout/DefaultLayout.jsx b/src/Layout/DefaultLayout.jsx index 5da7434..969e7ff 100644 --- a/src/Layout/DefaultLayout.jsx +++ b/src/Layout/DefaultLayout.jsx @@ -4,7 +4,12 @@ import logoMini from "../assets/logo-min.png"; import { useDispatch } from "react-redux"; import { loginUser } from "../Redux/Slice/auth"; import Button02 from "../Components/Buttons/Button02"; -import { TbArrowBadgeLeftFilled } from "react-icons/tb"; +import { + TbArrowBadgeLeftFilled, + TbListDetails, + TbReportMoney, + TbTransactionDollar, +} from "react-icons/tb"; import { TbArrowBadgeRightFilled } from "react-icons/tb"; import { ArrowBackIcon, ArrowLeftIcon, ArrowRightIcon } from "@chakra-ui/icons"; import { @@ -39,13 +44,25 @@ import { AccordionButton, AccordionIcon, AccordionPanel, + Image, } from "@chakra-ui/react"; import GlobalStateContext from "../Contexts/GlobalStateContext"; import Cookies from "js-cookie"; // Import the Cookies library import Header from "../Components/Header"; import HeaderMain from "../Components/HeaderMain"; import { IoMdSwap } from "react-icons/io"; -import { RiExchangeBoxLine, RiMoneyDollarBoxLine } from "react-icons/ri"; +import { + RiBankLine, + RiExchangeBoxLine, + RiFileUserLine, + RiMoneyDollarBoxLine, +} from "react-icons/ri"; +import { VscSymbolClass } from "react-icons/vsc"; +import { MdNotificationsNone, MdOutlineAddChart } from "react-icons/md"; +import { HiOutlineChartSquareBar } from "react-icons/hi"; +import { GrManual } from "react-icons/gr"; +import { LuContact } from "react-icons/lu"; +import shield from "../assets/shield.png" const DashboardLayout = () => { const navigate = useNavigate(); @@ -80,21 +97,167 @@ const DashboardLayout = () => { Sponser ); + case "/investment-type": + return ( + + Investment Type + + ); case "/exchange-rate": return ( - Echange rate + + Echange rate ); - case "/community/add-comunity": + case "/create-io": return ( - - - - - Community - + + + Create IO + ); + case "/view-io": + return ( + + + View IO + + ); + case "/investor-details": + return ( + + + Investor Details + + ); + case "/investor-transactions": + return ( + + + Investor Transactions + + ); + case "/withdraw-request": + return ( + + + Withdrawal pending request + + ); + case "/withdraw-history": + return ( + + + Withdrawal request + + ); + + case "/investor-request": + return ( + + + Investor pending request + + ); + case "/investor-history": + return ( + + + Investor request + + ); + + case "/deletion-request": + return ( + + + Deletion pending request + + ); + case "/deletion-history": + return ( + + + Deletion request + + ); + + case "/bank-investor": + return ( + + + Ban / Unban Investor + + ); + + case "/academy": + return ( + + + Academy + + ); + + case "/notification": + return ( + + + Notification + + ); + + case "/contact": + return ( + + + Contact Details + + ); + + case "/users": + return ( + + + Users + + ); + case "/bank-details": + return ( + + + Bank Details + + ); + case "/deletion-request": + return ( + + + Deletion pending request + + ); + case "/deletion-history": + return ( + + + Deletion request + + ); + case "/deletion-request": + return ( + + + Deletion pending request + + ); + case "/deletion-history": + return ( + + + Deletion request + + ); + default: if (path.startsWith("/community/view/")) { return ( @@ -159,7 +322,7 @@ const DashboardLayout = () => { {slideFromRight ? null : ( )} @@ -463,16 +629,16 @@ const DashboardLayout = () => { ? "p-2 web-text-medium ps-3 justify-content-between" : "p-2 ps-1 web-text-xlarge justify-content-center" } rounded-1 link d-flex align-items-center gap-2 w-100 mb-1`} - flexDirection={'row-reverse'} + flexDirection={"row-reverse"} > - {Icon && } + {Icon && } { { title: subMenuTitle, path: link, icon: SubIcon }, i ) => ( - { }} /> - {SubIcon && ( { key={index} className="web-text-xxsmall fw-600 mt-1 text-secondary fw-bold me-2" padding={0} - display={'flex'} - justifyContent={'end'} + display={"flex"} + justifyContent={"end"} > {title} @@ -580,17 +747,20 @@ const DashboardLayout = () => { return ( {Icon && } - { return ( - - Account deletion request + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default DeletionHistory; +export default DeletionHistory \ No newline at end of file diff --git a/src/Pages/AccountDeletion/DeletionRequest.jsx b/src/Pages/AccountDeletion/DeletionRequest.jsx index c58d7aa..9f1b2d5 100644 --- a/src/Pages/AccountDeletion/DeletionRequest.jsx +++ b/src/Pages/AccountDeletion/DeletionRequest.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const DeletionRequest = () => { return ( - - Pending deletion request + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default DeletionRequest; +export default DeletionRequest \ No newline at end of file diff --git a/src/Pages/Admin/Academy.jsx b/src/Pages/Admin/Academy.jsx index a41eb07..f7f3a24 100644 --- a/src/Pages/Admin/Academy.jsx +++ b/src/Pages/Admin/Academy.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const Academy = () => { return ( - - Academy Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default Academy; +export default Academy \ No newline at end of file diff --git a/src/Pages/Admin/BankDetails.jsx b/src/Pages/Admin/BankDetails.jsx index 41896d6..08859f6 100644 --- a/src/Pages/Admin/BankDetails.jsx +++ b/src/Pages/Admin/BankDetails.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const BankDetails = () => { return ( - - Bank Details + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default BankDetails; +export default BankDetails \ No newline at end of file diff --git a/src/Pages/Admin/BankInvestor.jsx b/src/Pages/Admin/BankInvestor.jsx index f7d24ed..f2045d2 100644 --- a/src/Pages/Admin/BankInvestor.jsx +++ b/src/Pages/Admin/BankInvestor.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const BankInvestor = () => { return ( - - Admin Bank Investor Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default BankInvestor; +export default BankInvestor \ No newline at end of file diff --git a/src/Pages/Admin/Contact.jsx b/src/Pages/Admin/Contact.jsx index c0b4704..f6047af 100644 --- a/src/Pages/Admin/Contact.jsx +++ b/src/Pages/Admin/Contact.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const Contact = () => { return ( - - Contact Us Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default Contact; +export default Contact \ No newline at end of file diff --git a/src/Pages/Admin/Notification.jsx b/src/Pages/Admin/Notification.jsx index 57ffe15..feb30d6 100644 --- a/src/Pages/Admin/Notification.jsx +++ b/src/Pages/Admin/Notification.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const Notification = () => { return ( - - Notification + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default Notification; +export default Notification \ No newline at end of file diff --git a/src/Pages/Admin/Users.jsx b/src/Pages/Admin/Users.jsx index c820738..5d7401f 100644 --- a/src/Pages/Admin/Users.jsx +++ b/src/Pages/Admin/Users.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const Users = () => { return ( - - Users Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default Users; +export default Users \ No newline at end of file diff --git a/src/Pages/IO_Management/Create.jsx b/src/Pages/IO_Management/Create.jsx deleted file mode 100644 index 6fd4d27..0000000 --- a/src/Pages/IO_Management/Create.jsx +++ /dev/null @@ -1,13 +0,0 @@ -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/CreateIO.jsx b/src/Pages/IO_Management/CreateIO.jsx new file mode 100644 index 0000000..db9be00 --- /dev/null +++ b/src/Pages/IO_Management/CreateIO.jsx @@ -0,0 +1,22 @@ +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" +const CreateIO = () => { + return ( + + + + {/* The requested URL was not found on this server. */} + + ) +} + +export default CreateIO \ No newline at end of file diff --git a/src/Pages/IO_Management/View.jsx b/src/Pages/IO_Management/View.jsx deleted file mode 100644 index 13a7dc7..0000000 --- a/src/Pages/IO_Management/View.jsx +++ /dev/null @@ -1,13 +0,0 @@ -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/IO_Management/ViewIO.jsx b/src/Pages/IO_Management/ViewIO.jsx new file mode 100644 index 0000000..0bf73b6 --- /dev/null +++ b/src/Pages/IO_Management/ViewIO.jsx @@ -0,0 +1,22 @@ +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" +const ViewIO = () => { + return ( + + + + {/* The requested URL was not found on this server. */} + + ) +} + +export default ViewIO \ No newline at end of file diff --git a/src/Pages/InvestorUpgrade/InvestorPendingRequest.jsx b/src/Pages/InvestorUpgrade/InvestorPendingRequest.jsx index df6bdcd..80b87f2 100644 --- a/src/Pages/InvestorUpgrade/InvestorPendingRequest.jsx +++ b/src/Pages/InvestorUpgrade/InvestorPendingRequest.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const InvestorPendingRequest = () => { return ( - - Investor pending request + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default InvestorPendingRequest; +export default InvestorPendingRequest \ No newline at end of file diff --git a/src/Pages/InvestorUpgrade/UpgradeHistory.jsx b/src/Pages/InvestorUpgrade/UpgradeHistory.jsx index f10fc77..5957008 100644 --- a/src/Pages/InvestorUpgrade/UpgradeHistory.jsx +++ b/src/Pages/InvestorUpgrade/UpgradeHistory.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - -const upgradeHistory = () => { +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" +const UpgradeHistory = () => { return ( - - Investor upgradation History + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default upgradeHistory; +export default UpgradeHistory \ No newline at end of file diff --git a/src/Pages/Investor_Management/InvestorDetails.jsx b/src/Pages/Investor_Management/InvestorDetails.jsx index b4ecb13..53ff62d 100644 --- a/src/Pages/Investor_Management/InvestorDetails.jsx +++ b/src/Pages/Investor_Management/InvestorDetails.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const InvestorDetails = () => { return ( - - Investor Details Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default InvestorDetails; +export default InvestorDetails \ No newline at end of file diff --git a/src/Pages/Investor_Management/InvestorTransactions.jsx b/src/Pages/Investor_Management/InvestorTransactions.jsx index 411de20..e43d1ce 100644 --- a/src/Pages/Investor_Management/InvestorTransactions.jsx +++ b/src/Pages/Investor_Management/InvestorTransactions.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const InvestorTransactions = () => { return ( - - Investor Transactions Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default InvestorTransactions; +export default InvestorTransactions \ No newline at end of file diff --git a/src/Pages/Master/ExchangeRate/ExchangeRate.jsx b/src/Pages/Master/ExchangeRate/ExchangeRate.jsx index b5193c9..f384bd8 100644 --- a/src/Pages/Master/ExchangeRate/ExchangeRate.jsx +++ b/src/Pages/Master/ExchangeRate/ExchangeRate.jsx @@ -1,225 +1,22 @@ -import { - Avatar, - Badge, - Box, - Button, - HStack, - Input, - Menu, - MenuButton, - MenuItem, - MenuList, - Portal, - Select, - Switch, - Tag, - Text, -} from "@chakra-ui/react"; -import React, { useContext, useEffect, useState } from "react"; -import { OPACITY_ON_LOAD } from "../../../Layout/animations"; -import DataTable from "../../../Components/DataTable/DataTable"; -import { HiDotsVertical } from "react-icons/hi"; -import { Link, Link as RouterLink } from "react-router-dom"; -import { AddIcon, EmailIcon } from "@chakra-ui/icons"; -import Pagination from "../../../Components/Pagination"; -import GlobalStateContext from "../../../Contexts/GlobalStateContext"; -import CustomAlertDialog from "../../../Components/CustomAlertDialog"; - -const formatDate = (date) => new Date(date).toLocaleDateString(); // Simple date formatter - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../../assets/robot.png" +// import robot from "../assets/robot.png" const ExchangeRate = () => { - const { sponser, setSponser } = useContext(GlobalStateContext); - const [searchTerm, setSearchTerm] = useState(""); - const [isLoading, setIsLoading] = useState(true); - const [deleteAlert, setDeleteAlert] = useState(false); - const [actionId, setActionId] = useState(false); - - useEffect(() => { - // Simulate loading - const timer = setTimeout(() => { - setIsLoading(false); - }, 1500); - - // Cleanup the timer on component unmount - return () => clearTimeout(timer); - }, []); - - // ====================================================[Table Setup]================================================================ - const tableHeadRow = [ - "Sponser name", - "Address", - "Mobile no", - "Status", - "Created At", - ]; - - const handleUpdateStatus = (id) => { - console.log(`Status updated for id: ${id}`); - // Add your status update logic here - }; - - // ====================================================[Table Filter]================================================================ - const filteredData = sponser.filter((item) => { - // Filter by name (case insensitive) - const name = item.sponserName; - const searchLower = searchTerm.toLowerCase(); - const nameMatches = name.toLowerCase().includes(searchLower); - - // Filter by status - // const status = item.status; - // const statusLower = status ? "active" : "inactive"; - - // const statusMatches = - // statusFilter === "all" || - // (statusFilter === "active" && status === true) || - // (statusFilter === "inactive" && status === false); - - return nameMatches; - }); - - const extractedArray = filteredData?.map((item) => ({ - "Sponser name": ( - - {item.sponserName} - - ), - Address: ( - - - {item.sponserAddress} - - - ), - "Mobile no": ( - - - {item.mobileNo} - - - ), - Status: - // handleUpdateStatus(item.id)} - // isChecked={item.status} - // /> - - item?.status ? ( - - Passed - - ) : ( - - Not passes - - ), - "Created At": ( - - - {formatDate(item.createdAt)} - - - - - - - - - Edit - - - View - - { - setActionId(item?.id); - setDeleteAlert(true); - }} - className="web-text-medium" - > - Delete - - - - - - ), - })); - - const handleDelete = () => { - const updatedSponsors = sponser.filter( - (sponsor) => sponsor.id !== actionId - ); - - setTimeout(() => { - setSponser(updatedSponsors); - setDeleteAlert(false); - setIsLoading(false); - }, 100); - setIsLoading(true); - }; - return ( - - - - setSearchTerm(e.target.value)} - /> - - - - - - - - - - - - - - setDeleteAlert(false)} - isOpen={deleteAlert} - message={"Are you sure you want to delete sponers?"} - alertHandler={handleDelete} - isLoading={isLoading} - /> + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default ExchangeRate; +export default ExchangeRate \ No newline at end of file diff --git a/src/Pages/Master/InvestmentType/InvestmentType.jsx b/src/Pages/Master/InvestmentType/InvestmentType.jsx index d1343d2..8cea59f 100644 --- a/src/Pages/Master/InvestmentType/InvestmentType.jsx +++ b/src/Pages/Master/InvestmentType/InvestmentType.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../../assets/robot.png" +// import robot from "../assets/robot.png" const InvestmentType = () => { return ( - - Investment type page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default InvestmentType; +export default InvestmentType \ No newline at end of file diff --git a/src/Pages/NotFound.jsx b/src/Pages/NotFound.jsx index c6916a9..4753fa1 100644 --- a/src/Pages/NotFound.jsx +++ b/src/Pages/NotFound.jsx @@ -1,7 +1,7 @@ import { Box, Image, Text } from "@chakra-ui/react" import error from "../assets/Error.svg" -// import robot from "../assets/404.png" -import robot from "../assets/robot.png" +import robot from "../assets/404.png" +// import robot from "../assets/robot.png" const NotFound = () => { return ( @@ -14,7 +14,7 @@ const NotFound = () => { gap={8} > - {/* The requested URL was not found on this server. */} + The requested URL was not found on this server. ) } diff --git a/src/Pages/WithDrawal/PendingRequest.jsx b/src/Pages/WithDrawal/PendingRequest.jsx index d973223..8cef3d0 100644 --- a/src/Pages/WithDrawal/PendingRequest.jsx +++ b/src/Pages/WithDrawal/PendingRequest.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const PendingRequest = () => { return ( - - Pending Request Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default PendingRequest; +export default PendingRequest \ No newline at end of file diff --git a/src/Pages/WithDrawal/ViewHistory.jsx b/src/Pages/WithDrawal/ViewHistory.jsx index 6d74d4e..7f79954 100644 --- a/src/Pages/WithDrawal/ViewHistory.jsx +++ b/src/Pages/WithDrawal/ViewHistory.jsx @@ -1,12 +1,22 @@ -import { Box, Text } from "@chakra-ui/react"; -import { OPACITY_ON_LOAD } from "../../Layout/animations"; - +import { Box, Image, Text } from "@chakra-ui/react" +// import error from "../assets/Error.svg" +import robot from "../../assets/robot.png" +// import robot from "../assets/robot.png" const ViewHistory = () => { return ( - - View History Page + + + + {/* The requested URL was not found on this server. */} - ); -}; + ) +} -export default ViewHistory; +export default ViewHistory \ No newline at end of file diff --git a/src/Routes/Nav.js b/src/Routes/Nav.js index f9bbe42..4d82065 100644 --- a/src/Routes/Nav.js +++ b/src/Routes/Nav.js @@ -4,7 +4,7 @@ import { RiBankLine, RiFileUserLine, RiMoneyDollarBoxLine } from "react-icons/ri import { RiExchangeBoxLine } from "react-icons/ri"; import { VscGitPullRequestGoToChanges, VscSymbolClass } from "react-icons/vsc"; import { FiUsers } from "react-icons/fi"; - +import { PiCrown } from "react-icons/pi"; import { MdOutlineAddChart, MdOutlineAdminPanelSettings } from "react-icons/md"; import { HiOutlineChartSquareBar } from "react-icons/hi"; import { TbListDetails } from "react-icons/tb"; @@ -18,6 +18,8 @@ import { AiOutlineUserDelete } from "react-icons/ai"; import { MdNotificationsNone } from "react-icons/md"; import { SiAcademia } from "react-icons/si"; import { LuContact } from "react-icons/lu"; +import { LiaCrownSolid } from "react-icons/lia"; +import { PiCrownDuotone } from "react-icons/pi"; export const nav = [ { @@ -51,12 +53,12 @@ export const nav = [ submenu: [ { title: "Create IO", - path: "/create", + path: "/create-io", icon: MdOutlineAddChart }, { title: "View IO", - path: "/view", + path: "/view-io", icon: HiOutlineChartSquareBar }, ], @@ -88,12 +90,12 @@ export const nav = [ submenu: [ { title: "Pending Request", - path: "/pending-request", + path: "/withdraw-request", icon: RiMoneyDollarBoxLine }, { title: "View History", - path: "/view-history", + path: "/withdraw-history", icon: RiExchangeBoxLine } ], @@ -110,7 +112,7 @@ export const nav = [ }, { title: "View History", - path: "/upgrade-history", + path: "/investor-history", icon: RiExchangeBoxLine } ], @@ -141,14 +143,14 @@ export const nav = [ title: "Admin", submenu: [ { - title: "Bank / Urban Investor", + title: "Ban / Unban Investor", path: "/bank-investor", icon: TbReportMoney }, { title: "Academy", path: "/academy", - icon: SiAcademia + icon: GrManual }, { title: "Notification", diff --git a/src/Routes/Routes.js b/src/Routes/Routes.js index bf9b385..0bcdebe 100644 --- a/src/Routes/Routes.js +++ b/src/Routes/Routes.js @@ -7,9 +7,12 @@ 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 CreateIO from "../Pages/IO_Management/CreateIO"; +import Create from "../Pages/IO_Management/CreateIO"; +import ViewIO from "../Pages/IO_Management/ViewIO"; +import View from "../Pages/IO_Management/ViewIO"; import InvestorPendingRequest from "../Pages/InvestorUpgrade/InvestorPendingRequest"; +import UpgradeHistory from "../Pages/InvestorUpgrade/UpgradeHistory"; import upgradeHistory from "../Pages/InvestorUpgrade/UpgradeHistory"; import InvestorDetails from "../Pages/Investor_Management/InvestorDetails"; import InvestorTransactions from "../Pages/Investor_Management/InvestorTransactions"; @@ -29,19 +32,19 @@ export const RouteLink = [ { path: "/investment-type", Component: InvestmentType }, // ===============[ IO Management]=============== - { path: "/create", Component: Create }, - { path: "/view", Component: View }, + { path: "/create-io", Component: CreateIO }, + { path: "/view-io", Component: ViewIO }, // ===============[ Investor Management]=============== { path: "/investor-details", Component: InvestorDetails }, { path: "/investor-transactions", Component: InvestorTransactions }, // ===============[ Withdrawal]=============== - { path: "/pending-request", Component: PendingRequest }, - { path: "/view-history", Component: ViewHistory }, + { path: "/withdraw-request", Component: PendingRequest }, + { path: "/withdraw-history", Component: ViewHistory }, // ===============[ Withdrawal]=============== - { path: "/upgrade-history", Component: upgradeHistory }, + { path: "/investor-history", Component: UpgradeHistory }, { path: "/investor-request", Component: InvestorPendingRequest }, // ===============[ Deletion]=============== diff --git a/src/assets/shield.png b/src/assets/shield.png new file mode 100644 index 0000000..5977417 Binary files /dev/null and b/src/assets/shield.png differ