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

3. As a user, I want to be able to navigate to all the pages in the application by clicking the links in the nav bar #2

Open
2 of 3 tasks
stacietaylorcima opened this issue Dec 18, 2023 · 0 comments

Comments

@stacietaylorcima
Copy link
Contributor

stacietaylorcima commented Dec 18, 2023

Summary

Users need to be able to navigate between the pages of our application in order to access all of its features. There is a navigation bar in the Layout.jsx component, but it's not quite feature-complete: the links in the nav element don't actually allow the user to navigate from page to page.

Acceptance criteria

  • The nav element is added to the Layout component
  • Links to the "Home", "List", and "Add item" pages of the app are In the nav element
  • The links all function as expected using the NavLink component from react-router-dom

Notes

  • The official docs for the NavLink component will come in very handy!
  • While a standard anchor element (<a>) could allow a user to navigate from page to page, the NavLink component adds additional behavior that is essential to our app functioning correctly!
@jeremiahfallin jeremiahfallin changed the title 2. As a user, I want to be able to navigate to all the pages in the application by clicking the links in the nav bar 3. As a user, I want to be able to navigate to all the pages in the application by clicking the links in the nav bar Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant