style: standardize header icons and update sidebar navigation labels and icons
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
LogOut,
|
||||
Calculator,
|
||||
Wrench,
|
||||
Target, User
|
||||
Target, User, History
|
||||
} from 'lucide-react';
|
||||
import { getUserName, getUserRole, logout } from '@/lib/auth';
|
||||
|
||||
@@ -65,9 +65,9 @@ const bikerNavItems = [
|
||||
];
|
||||
|
||||
const investorNavItems = [
|
||||
{ label: 'Dashboard', href: '/investor', icon: BarChart3 },
|
||||
{ label: 'Dashboard', href: '/investor', icon: Bike },
|
||||
{ label: 'My Investments', href: '/investor/plans', icon: Target },
|
||||
{ label: 'Rental History', href: '/investor/rental-history', icon: FileText },
|
||||
{ label: 'Rental History', href: '/investor/rental-history', icon: History },
|
||||
{ label: 'Withdraw', href: '/investor/withdraw', icon: CreditCard },
|
||||
{ label: 'My Profile', href: '/investor/profile', icon: User },
|
||||
];
|
||||
@@ -100,14 +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: BarChart3 },
|
||||
{ label: 'Investments', href: '/investor/plans', icon: Target },
|
||||
{ label: 'History', href: '/investor/rental-history', icon: FileText },
|
||||
{ label: 'Home', href: '/investor', icon: Bike },
|
||||
{ label: 'History', href: '/investor/rental-history', icon: History },
|
||||
{ label: 'Withdraw', href: '/investor/withdraw', icon: CreditCard },
|
||||
{ label: 'Profile', href: '/investor/profile', icon: User },
|
||||
] : isShop ? [
|
||||
|
||||
Reference in New Issue
Block a user