From 2488dec225cc6f1404cd87d69ceaecc208bed50e Mon Sep 17 00:00:00 2001 From: siddheshmorewdi Date: Mon, 24 Jun 2024 16:27:04 +0530 Subject: [PATCH 1/2] navlink updated --- src/App.css | 2 +- src/Layout/DefaultLayout.jsx | 6 +- src/Routes/Nav.js | 148 ++++++++++++++++++++++++++++++----- 3 files changed, 131 insertions(+), 25 deletions(-) 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", From 5beaef0112d0a1dbd9960274b502b3facdd494f1 Mon Sep 17 00:00:00 2001 From: siddheshmorewdi Date: Mon, 24 Jun 2024 16:52:16 +0530 Subject: [PATCH 2/2] nav updated --- src/Routes/Nav.js | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/src/Routes/Nav.js b/src/Routes/Nav.js index f672aae..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 = [ { @@ -22,12 +32,12 @@ export const nav = [ { title: "Investment Type", path: "/investment-type", - icon:RiExchangeBoxLine + icon: VscSymbolClass }, { title: "Exchange Rate", path: "/view", - icon:VscSymbolClass + icon:RiExchangeBoxLine }, ], type: "accordion", @@ -39,16 +49,16 @@ export const nav = [ { title: "Create IO", path: "/Create IO", - icon:RiMoneyDollarBoxLine + icon:MdOutlineAddChart }, { title: "View IO", path: "/View IO", - icon:RiExchangeBoxLine + icon:HiOutlineChartSquareBar }, ], type: "accordion", - Icon: TbBrandMedium, + Icon: TbDeviceDesktopDollar, }, { title: "Investor Management", @@ -56,16 +66,16 @@ export const nav = [ { title: "Investor Details", path: "/View Investor Transactions", - icon:RiMoneyDollarBoxLine + icon:TbListDetails }, { title: "Investor Transactions", path: "/View IO", - icon:RiExchangeBoxLine + icon:TbTransactionDollar }, ], type: "accordion", - Icon: TbBrandMedium, + Icon: TbCalendarDollar, }, { title: "INVESTORS REQUEST", @@ -85,7 +95,7 @@ export const nav = [ } ], type: "accordion", - Icon: TbBrandMedium, + Icon: BiMoneyWithdraw, }, { title: "Investor Upgradation", @@ -102,7 +112,7 @@ export const nav = [ } ], type: "accordion", - Icon: TbBrandMedium, + Icon: MdBrowserUpdated, }, { title: "Account Deletion", @@ -119,7 +129,7 @@ export const nav = [ } ], type: "accordion", - Icon: TbBrandMedium, + Icon: AiOutlineUserDelete, }, { title: "MANAGE ADMIN",