-
Notifications
You must be signed in to change notification settings - Fork 0
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
added route handling and added activestatus using navlink #18
Conversation
Visit the preview URL for this PR (updated for commit be4c03f): https://tcl-76-smart-shopping-list--pr18-ar-mp-nav-to-all-3un54fzk.web.app (expires Mon, 19 Aug 2024 15:16:26 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 512b1a88be8ae05fd3e727b99332819df760271d |
lgtm, I really like the enhanced UI for active and pending status. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
<Outlet /> | ||
</main> | ||
<nav className="Nav"> | ||
<div className="Nav-container"> | ||
<a href="#" className="Nav-link"> | ||
<NavLink to="/" style={handleActive}> | ||
Home |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice implementation of this to handle the active route
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Good clean implementation of the AC
For an example of how to fill this template out, see this Pull Request.
Description
Marcos and I added functionality to clicking Home, List, and Manage list links in the navbar using NavLink. We added active status feature to enhance UX, so that users can see which page they are actively viewing.
Related Issue
Issue 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
[#3] (#3
Acceptance Criteria
Type of Changes
enhancement
Updates
Before
After
Testing Steps / QA Criteria