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

Mm feature/navbar layout #40

Merged
merged 14 commits into from
Oct 6, 2024

Conversation

marshjaja
Copy link
Collaborator

Description

This PR introduces a fully responsive navigation system for both desktop and tablet/mobile devices.
An active link class has been applied to highlight the current page the user is on, along with hover states for the links and icons.
Additionally, a light and dark mode toggle has been implemented, allowing users to switch between these two themes.
This enhances the user experience by ensuring the navigation is intuitive across devices and provides flexibility in user interface preferences.

Related Issue

Closes #31

Acceptance Criteria

  • Mobile nav bar version is similar to the one we currently have.
  • Desktop nav bar is on the top as Figma design.
  • Remove manage list page since we moved everything out of it.

Type of Changes

feature
enhancement

Updates

Before

Screenshot 2024-10-05 at 17 11 02

Screenshot 2024-10-05 at 16 37 59
Screenshot 2024-10-05 at 16 38 27

After

Favicon

Screenshot 2024-10-05 at 16 53 12

Desktop Light mode

Screenshot 2024-10-05 at 16 43 46

Screenshot 2024-10-05 at 16 46 09

Desktop Dark mode

Screenshot 2024-10-05 at 16 45 22

Screenshot 2024-10-05 at 16 44 08

Mobile Light mode

Screenshot 2024-10-05 at 16 47 07
Screenshot 2024-10-05 at 16 47 18

Mobile Dark mode

Screenshot 2024-10-05 at 16 47 34
Screenshot 2024-10-05 at 16 47 46

Testing Steps / QA Criteria

  • Do a git pull and git checkout mm-feature/navbar-layout
  • After switching you can see the responsive navbar displayed. You can switch between desktop and tablet/mobile views to observe the different layouts
  • You can also toggle between Light mode and Dark mode to test the theme-switching functionality.

…bile devices, add icons to navbar to match the design
…ition for light to dark mode switch, remove unnecessary button from homepage.
…cons

- Moved the Navbar component into its own dedicated file for better separation of concerns and maintainability
- Added basic tooltips to non-navbar icons (dark mode toggle, sign-in/sign-out buttons)
Copy link
Collaborator

@joriordan332 joriordan332 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So good! Love that addition of the shopping cart icon showing on the tab, well done!

Copy link
Collaborator

@Hudamabkhoot Hudamabkhoot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done @marshjaja it looks amazing! 🙌 I only have a few comments

  • I believe the logo is a bit big for desktop and too big for mobile.
  • The nav bar active and hover state are the same color so if i'm on home and i hover over list they both look active.
  • The mobile nav bar doesn't have a background so if the list is longer it wont be that visible.

@marshjaja
Copy link
Collaborator Author

marshjaja commented Oct 6, 2024

@Hudamabkhoot good spots, thank you!👏🏾 I have implemented your requested changes. Fingers crossed and and may the power be with us when we go and do our merges🥲😅

Copy link
Collaborator

@Hudamabkhoot Hudamabkhoot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks great now! We are going to do well! 💪

Copy link

github-actions bot commented Oct 6, 2024

Visit the preview URL for this PR (updated for commit 90e286b):

https://tcl-79-smart-shopping-list--pr40-mm-feature-navbar-la-kqscvtoi.web.app

(expires Sun, 13 Oct 2024 10:51:16 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d91d9ddbda780208241c52942f544acf8e81407a

@Hudamabkhoot Hudamabkhoot merged commit 65b72a6 into feat/setup-tailwind-shadcn Oct 6, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants