Who: As a developer
What: I want to update the links in the Header component
Why: in order to have a specific link to user profile, login/logout and userName instead user_email.
Acceptance Criteria:
On clicking the profile icon, should direct to user-profile page, before login, it should be login and after login, it should be logout, display user_name instead of user email in the Header
User Story
Who: As a developer What: I want to update the links in the Header component Why: in order to have a specific link to user profile, login/logout and userName instead user_email.
Acceptance Criteria:
On clicking the profile icon, should direct to user-profile page, before login, it should be login and after login, it should be logout, display user_name instead of user email in the Header
Implementation Details:
Take user as props to Header component.