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

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 #2

Closed
3 tasks done
fullybaked opened this issue Mar 25, 2023 · 0 comments · Fixed by #14
Assignees

Comments

@fullybaked
Copy link
Contributor

fullybaked commented Mar 25, 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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants