diff --git a/src/App.css b/src/App.css index 3ca3030..260c17d 100644 --- a/src/App.css +++ b/src/App.css @@ -180,7 +180,7 @@ /* On hover */ ::-webkit-scrollbar-thumb:hover { - background: #e97d88; + background: #004118; } @keyframes text { diff --git a/src/Layout/DefaultLayout.jsx b/src/Layout/DefaultLayout.jsx index 97449e9..b89d93b 100644 --- a/src/Layout/DefaultLayout.jsx +++ b/src/Layout/DefaultLayout.jsx @@ -163,7 +163,7 @@ const DashboardLayout = () => { // onMouseOver={() => setIsDrawerOpen(true)} // onMouseLeave={() => setIsDrawerOpen(false)} style={{ - width: isDrawerOpen || openDrawerClick ? 225 : 74, + width: isDrawerOpen || openDrawerClick ? 232 : 74, transition: "width 0.3s ease-in-out", // Smooth transition for width change overflow: "hidden", // Hide overflow to prevent content overflow during transition backgroundColor: "#0041180A", @@ -200,7 +200,7 @@ const DashboardLayout = () => { {nav.map(({ title, type, Icon, submenu, path }, index) => { @@ -381,7 +381,7 @@ const DashboardLayout = () => {
diff --git a/src/Routes/Nav.js b/src/Routes/Nav.js index 5865b1b..35814c0 100644 --- a/src/Routes/Nav.js +++ b/src/Routes/Nav.js @@ -5,6 +5,16 @@ import { RiExchangeBoxLine } from "react-icons/ri"; import { VscSymbolClass } from "react-icons/vsc"; import { FiUsers } from "react-icons/fi"; +import { MdOutlineAddChart } from "react-icons/md"; +import { HiOutlineChartSquareBar } from "react-icons/hi"; +import { TbListDetails } from "react-icons/tb"; +import { TbTransactionDollar } from "react-icons/tb"; +import { TbCalendarDollar } from "react-icons/tb"; +import { TbDeviceDesktopDollar } from "react-icons/tb"; +import { BiMoneyWithdraw } from "react-icons/bi"; +import { GrDocumentUpdate } from "react-icons/gr"; +import { MdBrowserUpdated } from "react-icons/md"; +import { AiOutlineUserDelete } from "react-icons/ai"; export const nav = [ { @@ -15,52 +25,158 @@ export const nav = [ title: "Master", submenu: [ { - title: "Sponser", + title: "Sponser Master", path: "/sponser", icon:RiMoneyDollarBoxLine }, { - title: "Exchange rate", - path: "/exchange-rate", - icon:RiExchangeBoxLine + title: "Investment Type", + path: "/investment-type", + icon: VscSymbolClass }, { - title: "Asset classes", + title: "Exchange Rate", path: "/view", - icon:VscSymbolClass + icon:RiExchangeBoxLine }, ], type: "accordion", Icon: TbBrandMedium, }, { - title: "User", + title: "IO Management", submenu: [ { - title: "Sponser", - path: "/loop", - icon:TbBrandMedium + title: "Create IO", + path: "/Create IO", + icon:MdOutlineAddChart }, { - title: "Class", - path: "/class", - icon:TbBrandMedium - }, - { - title: "View", - path: "/view", - icon:TbBrandMedium + title: "View IO", + path: "/View IO", + icon:HiOutlineChartSquareBar }, ], type: "accordion", - Icon: FiUsers, + Icon: TbDeviceDesktopDollar, }, { - title: "Single Link", - type: "single", - path: "/", - Icon: HiOutlineNewspaper, + title: "Investor Management", + submenu: [ + { + title: "Investor Details", + path: "/View Investor Transactions", + icon:TbListDetails + }, + { + title: "Investor Transactions", + path: "/View IO", + icon:TbTransactionDollar + }, + ], + type: "accordion", + Icon: TbCalendarDollar, }, + { + title: "INVESTORS REQUEST", + type: "title", + }, { + title: "Withdrawal", + submenu: [ + { + title: "Pending Request", + path: "/Pending Request", + icon:RiMoneyDollarBoxLine + }, + { + title: "View History", + path: "/View History", + icon:RiExchangeBoxLine + } + ], + type: "accordion", + Icon: BiMoneyWithdraw, + }, + { + title: "Investor Upgradation", + submenu: [ + { + title: "Pending Request", + path: "/Pending Request", + icon:RiMoneyDollarBoxLine + }, + { + title: "View History", + path: "/View History", + icon:RiExchangeBoxLine + } + ], + type: "accordion", + Icon: MdBrowserUpdated, + }, + { + title: "Account Deletion", + submenu: [ + { + title: "Pending Request", + path: "/Pending Request", + icon:RiMoneyDollarBoxLine + }, + { + title: "View History", + path: "/View History", + icon:RiExchangeBoxLine + } + ], + type: "accordion", + Icon: AiOutlineUserDelete, + }, + { + title: "MANAGE ADMIN", + type: "title", + },{ + title: "Admin", + submenu: [ + { + title: "Ban / Unban Investor", + path: "/Pending Request", + icon:RiMoneyDollarBoxLine + }, + { + title: "Acadamy", + path: "/Acadamy", + icon:RiExchangeBoxLine + }, + { + title: "Notification", + path: "/Notification", + icon:RiExchangeBoxLine + }, + { + title: "Contact Details", + path: "/Contact Details", + icon:RiExchangeBoxLine + }, + { + title: "Users", + path: "/Users", + icon:RiExchangeBoxLine + }, + { + title: "Bank Details", + path: "/Bank Details", + icon:RiExchangeBoxLine + } + ], + type: "accordion", + Icon: TbBrandMedium, + }, + // { + // title: "Single Link", + // type: "single", + // path: "/logout", + // Icon: HiOutlineNewspaper, + // }, // { // title: "SPONSER", // type: "title",