Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link-to-login-button #38

Open
PakizeBozkurt opened this issue Jul 21, 2023 · 0 comments
Open

link-to-login-button #38

PakizeBozkurt opened this issue Jul 21, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation Nice to have Having nice function

Comments

@PakizeBozkurt
Copy link
Collaborator

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:

  1. The Navbar should display a "Login" button when the user is not logged in.
  2. Clicking on the "Login" button should redirect the user to the Login page.
  3. Upon successful login, the user should be redirected to the homepage or a designated dashboard page.
  4. 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:

  1. Implement the routing using React Router to navigate to the Login component when the "Login" button is clicked.
  2. Set up a route in the main application that maps to the Login component.
  3. Test the login functionality thoroughly, including both successful and unsuccessful login attempts.
  4. Test the Navbar and Login integration to ensure that the "Login" button functions correctly and updates appropriately based on the user's login status.
@PakizeBozkurt PakizeBozkurt self-assigned this Jul 21, 2023
@PakizeBozkurt PakizeBozkurt added documentation Improvements or additions to documentation Nice to have Having nice function labels Jul 21, 2023
@PakizeBozkurt PakizeBozkurt moved this from Todo to Code review in @LangJo project Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Nice to have Having nice function
Projects
Status: Code review
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant