You're going to create the header
- Take a look at the wireframe
- If the user clicks on Logout the user will be logged out of the app and redirected to the log in page.
The jwt token should be removed from localStorage, remember you can check by using the devtools and going to application > localstorage. Hint do you have have a function already in your userService
that you can use?
-
If the user clicks on the home icon they should be directed to the feed Page.
-
The logged in users profile picture should display to the left, and if clicked on should direct the user to thier profile page!
- If the user clicks on the profile picture in the header of a card component they should be redirected to that particular users profile page!