Skip to content

Commit

Permalink
chore: update icon list in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Jul 30, 2024
1 parent bf0e385 commit a226bc9
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import {
BiHomeSmile,
BiUser,
BiHelpCircle,
BiBuildingHouse,
BiCog,
} from 'react-icons/bi';
import { ContactInformationModal } from './ContactInformationModal';
import React from 'react';
Expand Down Expand Up @@ -56,10 +58,10 @@ function Sidebar() {
];

const adminList = [
{ name: 'Home', path: '/AdminDashboard', icon: 'home-smile' },
{ name: 'Donation Tracking', path: '/DonationTrackingTable', icon: 'building-house' },
{ name: 'Donation Items', path: '/DonationItemsTable', icon: 'heart-circle' },
{ name: 'Settings', path: '/AdminSettings', icon: 'cog' },
{ name: 'Home', path: '/AdminDashboard', icon: BiHomeSmile },
{ name: 'Donation Tracking', path: '/DonationTrackingTable', icon: BiBuildingHouse },
{ name: 'Donation Items', path: '/DonationItemsTable', icon: BiHeartCircle },
{ name: 'Settings', path: '/AdminSettings', icon: BiCog },
];

const navigate = useNavigate();
Expand Down Expand Up @@ -107,7 +109,6 @@ function Sidebar() {

<VStack>
{navList.map(item => {
console.log(item.icon);
return (
<Link to={item.path} key={item.name} style={{ width: '100%', display: 'block' }}>
<Button width="full" justifyContent="flex-start" variant="ghost" gap={2}>
Expand Down

0 comments on commit a226bc9

Please sign in to comment.