From cee37c78c4d9a9c9d618666bdbb9e0f9559191aa Mon Sep 17 00:00:00 2001 From: Joshua Ryder Date: Thu, 6 Nov 2025 09:51:09 -0500 Subject: [PATCH] feat: Unify navigation with hamburger menu across all screen sizes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Renamed MobileMenu to Menu component (no longer mobile-only) - Added 500ms debounce to prevent accidental double-tap menu toggles - Improved click-outside detection using ref-based containment check - Removed mobile/desktop navigation split - menu now consistent everywhere - All pages now use single hamburger menu on both mobile and desktop - Simplified header layouts across index, sermon, profile, admin, and users pages This provides a cleaner, more consistent UX with the hamburger menu available on all screen sizes. The debounce prevents the menu from closing accidentally when navigating between pages or double-tapping. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/{MobileMenu.vue => Menu.vue} | 32 ++++++-- pages/[slug].vue | 99 ++++++------------------- pages/admin.vue | 36 ++------- pages/index.vue | 77 +++---------------- pages/profile.vue | 36 ++------- pages/users.vue | 36 ++------- 6 files changed, 81 insertions(+), 235 deletions(-) rename components/{MobileMenu.vue => Menu.vue} (82%) diff --git a/components/MobileMenu.vue b/components/Menu.vue similarity index 82% rename from components/MobileMenu.vue rename to components/Menu.vue index 0e635c7..87fa738 100644 --- a/components/MobileMenu.vue +++ b/components/Menu.vue @@ -1,9 +1,10 @@