Skip to content

feat(nav): responsive sidebar with collapse toggle - #545

Open
Nuwe10 wants to merge 1 commit into
Stellar-split:mainfrom
Nuwe10:feature/514-responsive-navigation-sidebar
Open

feat(nav): responsive sidebar with collapse toggle#545
Nuwe10 wants to merge 1 commit into
Stellar-split:mainfrom
Nuwe10:feature/514-responsive-navigation-sidebar

Conversation

@Nuwe10

@Nuwe10 Nuwe10 commented Jul 29, 2026

Copy link
Copy Markdown

Summary

Replaces the overflow-prone mobile dropdown with a slide-in sidebar for screens narrower than lg.

Changes:

  • New src/components/layout/MobileSidebar.tsx — slide-in panel with backdrop, focus trap, and Escape/backdrop-click to close
  • Updated src/components/Navbar.tsx — hamburger button below lg, sidebar hidden on lg+, horizontal nav hidden below lg

Validation: No TypeScript diagnostics in modified files; existing pre-existing repo errors are unrelated.

Closes #514

Closes Stellar-split#514

- Add MobileSidebar component with slide-in transition (~200ms) and backdrop overlay
- Hamburger button triggers sidebar on screens below lg breakpoint
- Desktop horizontal nav visible on lg and wider; sidebar hidden on lg+
- Focus trapped inside sidebar when open via existing FocusTrap
- Escape key and backdrop click close sidebar and return focus to hamburger button
- Nav links close sidebar on navigation
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

@Nuwe10 is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@Nuwe10 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Responsive Navigation Sidebar with Collapse Toggle

1 participant