From 7ebf20aa7bf917df72420fb4e3436e3780028d72 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Wed, 12 Feb 2025 18:03:40 +0800 Subject: [PATCH] feat: enhance navbar responsiveness and styling - Adjust main navigation layout for better spacing - Improve mobile menu accessibility and usability - Introduce a separate user menu partial for cleaner structure - Update button styles and sizes for consistency These changes aim to enhance the user experience by ensuring that the navbar is visually appealing and functional across different screen sizes, making navigation easier. --- app/views/layouts/_navbar.html.erb | 92 +++++++++++++++++---------- app/views/layouts/_user_menu.html.erb | 35 ++++++++++ 2 files changed, 95 insertions(+), 32 deletions(-) create mode 100644 app/views/layouts/_user_menu.html.erb diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb index 1d4b758..9dff240 100644 --- a/app/views/layouts/_navbar.html.erb +++ b/app/views/layouts/_navbar.html.erb @@ -1,58 +1,86 @@