Skip to content

Commit

Permalink
add icons
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefbadr2002 committed Dec 22, 2023
1 parent bc0cdf6 commit cb46733
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions client/public/assets/icons/navbar/ic_medicine.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 17 additions & 17 deletions client/src/layouts/dashboard/config-navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const navConfigByRole = {
{
title: 'Medicine',
path: '/products',
icon: icon('ic_cart')
icon: icon('ic_medicine')
},
{
title: 'Doctors',
Expand All @@ -21,7 +21,7 @@ const navConfigByRole = {
{
title: 'Appointments',
path: '/appointments',
icon: icon('ic_user')
icon: icon('ic_appointment')
},
{
title: 'My Prescriptions',
Expand All @@ -31,7 +31,7 @@ const navConfigByRole = {
{
title: 'Medical History',
path: `/medical-history/${localStorage.getItem('userID')}`,
icon: icon('ic_disabled')
icon: icon('ic_history')
},
{
title: 'Packages',
Expand All @@ -56,7 +56,7 @@ const navConfigByRole = {
{
title: 'Orders',
path: '/orders',
icon: icon('ic_analytics')
icon: icon('ic_order')
},
{
title: 'Addresses',
Expand All @@ -66,20 +66,20 @@ const navConfigByRole = {
{
title: 'chat',
path: '/chat',
icon: icon('ic_analytics')
icon: icon('ic_chat')
}
],

Doctor: [
{
title: 'Appointments',
path: '/appointments',
icon: icon('ic_user')
icon: icon('ic_appointment')
},
{
title: 'Patients',
path: '/patients',
icon: icon('ic_user')
icon: icon('ic_patient')
},
{
title: 'Weekly slots',
Expand All @@ -94,7 +94,7 @@ const navConfigByRole = {
{
title: 'Medicine',
path: '/products',
icon: icon('ic_cart')
icon: icon('ic_medicine')
},
{
title: 'Doctors',
Expand All @@ -109,15 +109,15 @@ const navConfigByRole = {
{
title: 'Chat',
path: '/chat',
icon: icon('ic_analytics')
icon: icon('ic_chat')
}
],

Pharmacist: [
{
title: 'Medicine',
path: '/products',
icon: icon('ic_cart')
icon: icon('ic_medicine')
},
{
title: 'Doctors',
Expand All @@ -127,12 +127,12 @@ const navConfigByRole = {
{
title: 'Orders',
path: '/orders',
icon: icon('ic_analytics')
icon: icon('ic_order')
},
{
title: 'Report',
path: '/report',
icon: icon('ic_analytics')
icon: icon('ic_report')
},
{
title: 'Upload Documents',
Expand All @@ -147,20 +147,20 @@ const navConfigByRole = {
{
title: 'Chat',
path: '/chat',
icon: icon('ic_analytics')
icon: icon('ic_chat')
}
],

Admin: [
{
title: 'Requests',
path: '/requests',
icon: icon('ic_user')
icon: icon('ic_requests')
},
{
title: 'Report',
path: '/report',
icon: icon('ic_analytics')
icon: icon('ic_report')
},
{
title: 'Manage packages',
Expand All @@ -170,12 +170,12 @@ const navConfigByRole = {
{
title: 'Users',
path: '/users',
icon: icon('ic_analytics')
icon: icon('ic_user')
},
{
title: 'Add Admin',
path: '/add-admin',
icon: icon('ic_analytics')
icon: icon('ic_addAdmin')
}
]
};
Expand Down

0 comments on commit cb46733

Please sign in to comment.