From 0c1a6e3a18ca114bbd3c57f3a15f9f412e42f115 Mon Sep 17 00:00:00 2001 From: sazzadulalambd Date: Fri, 15 May 2026 02:39:13 +0600 Subject: [PATCH] feat: add Investments link to investor sidebar and fix indentation and alignment --- src/components/Sidebar.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index e15cb38..6ebe62f 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -100,12 +100,13 @@ export default function Sidebar() { isInvestor ? investorNavItems : isShop ? shopNavItems : bikerNavItems; -const bottomNavItems = isAdmin ? [ + const bottomNavItems = isAdmin ? [ { label: 'Home', href: '/admin', icon: BarChart3 }, { label: 'Fleet', href: '/admin/fleet', icon: Bike }, { label: 'Users', href: '/admin/users', icon: Users }, ] : isInvestor ? [ { label: 'Home', href: '/investor', icon: Bike }, + { label: 'Investments', href: '/investor/plans', icon: Target }, { label: 'History', href: '/investor/rental-history', icon: History }, { label: 'Withdraw', href: '/investor/withdraw', icon: CreditCard }, { label: 'Profile', href: '/investor/profile', icon: User }, @@ -196,7 +197,7 @@ const bottomNavItems = isAdmin ? [ -{/* Bottom Navigation for Mobile */} + {/* Bottom Navigation for Mobile */}