feat: add mobile bottom navigation bar#121
Merged
Merged
Conversation
|
@MsParadox is attempting to deploy a commit to the aditthyass' projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
@MsParadox plz resolve conflicts asap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📱 Feature: Mobile Bottom Navigation Bar
Closes #101
📝 Description
Implemented a native-style Bottom Navigation Bar to improve mobile UX. The top navbar on mobile often requires opening a hamburger menu to navigate, slowing down power users. This new bottom tab bar places the 5 core routes at the user's fingertips.
🛠️ Changes Made
BottomNav.tsx: Built a fixed, glass-morphism bottom bar containing Leaderboard, Models, Feed, Contribute, and Search tabs.usePathnameto accurately highlight the active tab usingatlas-blue.env(safe-area-inset-bottom)to ensure it doesn't collide with the iOS home indicator bar.globals.css: Added dynamic padding to the<main>tag strictly for screens< 768pxto prevent content overlapping.layout.tsx: Mounted the component globally so it persists seamlessly across page transitions.✅ Acceptance Criteria Completed
< 768px).