Pmacdon15 / final_project_web

1 stars 1 forks source link

Add property to Navbar isAdmin #35

Open Pmacdon15 opened 1 day ago

Pmacdon15 commented 1 day ago

Description

We should add a property to the nav bar called is admin and it should navigate to the admin portal if the user is an admin and a student if the user is a guest or student. We will have to change the route that's being navigated in the nav bar as well as some sort of function on login to send the user to admin-portal-all-programs/email.

Todo

Main spots to change:

Spot 1:

NavBar.component.jsx: spot1

Spot 2 :

LoginForm.component.jsx: spot2

Spot 3

PALLAVIKHEDLE commented 1 day ago

Hi @Pmacdon15,

I’ve reviewed the issue description, and it seems straightforward to resolve. I’d be happy to help fix it! Could you kindly assign this issue to me so I can get started?

Pmacdon15 commented 1 day ago

As much as that's appreciated this is a project we are doing for school, So we will have to decline your assistance but I appreciate it.