You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story:
As a user,
I want to be able to click on the Login button in the Navbar section
So that I can access the Login page and log in to the application.
Acceptance Criteria:
The Navbar should display a "Login" button when the user is not logged in.
Clicking on the "Login" button should redirect the user to the Login page.
Upon successful login, the user should be redirected to the homepage or a designated dashboard page.
If the user is already logged in, the Navbar should display a different set of options (e.g., Profile) instead of the "Login" button.
Implementation Notes:
Implement the routing using React Router to navigate to the Login component when the "Login" button is clicked.
Set up a route in the main application that maps to the Login component.
Test the login functionality thoroughly, including both successful and unsuccessful login attempts.
Test the Navbar and Login integration to ensure that the "Login" button functions correctly and updates appropriately based on the user's login status.
The text was updated successfully, but these errors were encountered:
User Story:
As a user,
I want to be able to click on the Login button in the Navbar section
So that I can access the Login page and log in to the application.
Acceptance Criteria:
Implementation Notes:
The text was updated successfully, but these errors were encountered: