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 30ace9c..d14f3c8 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..f672aae 100644 --- a/src/Routes/Nav.js +++ b/src/Routes/Nav.js @@ -15,17 +15,17 @@ export const nav = [ title: "Master", submenu: [ { - title: "Sponser", + title: "Sponser Master", path: "/sponser", icon:RiMoneyDollarBoxLine }, { - title: "Exchange rate", - path: "/exchange-rate", + title: "Investment Type", + path: "/investment-type", icon:RiExchangeBoxLine }, { - title: "Asset classes", + title: "Exchange Rate", path: "/view", icon:VscSymbolClass }, @@ -34,33 +34,139 @@ export const nav = [ Icon: TbBrandMedium, }, { - title: "User", + title: "IO Management", submenu: [ { - title: "Sponser", - path: "/loop", - icon:TbBrandMedium + title: "Create IO", + path: "/Create IO", + icon:RiMoneyDollarBoxLine }, { - title: "Class", - path: "/class", - icon:TbBrandMedium - }, - { - title: "View", - path: "/view", - icon:TbBrandMedium + title: "View IO", + path: "/View IO", + icon:RiExchangeBoxLine }, ], type: "accordion", - Icon: FiUsers, + Icon: TbBrandMedium, }, { - title: "Single Link", - type: "single", - path: "/", - Icon: HiOutlineNewspaper, + title: "Investor Management", + submenu: [ + { + title: "Investor Details", + path: "/View Investor Transactions", + icon:RiMoneyDollarBoxLine + }, + { + title: "Investor Transactions", + path: "/View IO", + icon:RiExchangeBoxLine + }, + ], + type: "accordion", + Icon: TbBrandMedium, }, + { + 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: TbBrandMedium, + }, + { + title: "Investor Upgradation", + submenu: [ + { + title: "Pending Request", + path: "/Pending Request", + icon:RiMoneyDollarBoxLine + }, + { + title: "View History", + path: "/View History", + icon:RiExchangeBoxLine + } + ], + type: "accordion", + Icon: TbBrandMedium, + }, + { + title: "Account Deletion", + submenu: [ + { + title: "Pending Request", + path: "/Pending Request", + icon:RiMoneyDollarBoxLine + }, + { + title: "View History", + path: "/View History", + icon:RiExchangeBoxLine + } + ], + type: "accordion", + Icon: TbBrandMedium, + }, + { + 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",