navlink updated
This commit is contained in:
@@ -180,7 +180,7 @@
|
||||
|
||||
/* On hover */
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #e97d88;
|
||||
background: #004118;
|
||||
}
|
||||
|
||||
@keyframes text {
|
||||
|
||||
@@ -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 = () => {
|
||||
|
||||
<Box
|
||||
className="ps-2 scroll-bar"
|
||||
style={{ height: "80%", overflowY: "scroll", overflowX: "hidden" }}
|
||||
style={{ height: "85%", overflowY: "scroll", overflowX: "hidden" }}
|
||||
>
|
||||
<Accordion m={0} allowToggle>
|
||||
{nav.map(({ title, type, Icon, submenu, path }, index) => {
|
||||
@@ -381,7 +381,7 @@ const DashboardLayout = () => {
|
||||
<main
|
||||
className={`h-100 ${slideFromRight ? "pe-3" : "ps-3"} `}
|
||||
style={{
|
||||
width: `calc(100% - ${isDrawerOpen || openDrawerClick ? 225 : 74}px)`,
|
||||
width: `calc(100% - ${isDrawerOpen || openDrawerClick ? 232 : 74}px)`,
|
||||
transition: "width 0.3s ease-in-out",
|
||||
}}
|
||||
>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user