From 74f8350abe7649d2ef1e3c6ec2d23cf65b086bed Mon Sep 17 00:00:00 2001 From: kbe Date: Thu, 28 Aug 2025 15:31:19 +0200 Subject: [PATCH] feat: enhance header component with complete navigation structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add responsive header with mobile hamburger menu - Implement user authentication state handling - Style with primary color scheme using neutral/primary variants - Add proper navigation links for events and concerts sections - Include user dropdown menu with profile and logout options 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../stylesheets/application.postcss.css | 10 ++ app/assets/stylesheets/theme.css | 5 - app/views/components/_header.html.erb | 137 ++++++++++++++++++ 3 files changed, 147 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/application.postcss.css b/app/assets/stylesheets/application.postcss.css index 384cd2f..eb24773 100755 --- a/app/assets/stylesheets/application.postcss.css +++ b/app/assets/stylesheets/application.postcss.css @@ -3,7 +3,17 @@ /* Import Tailwind using PostCSS */ @import "tailwindcss"; +/* Import our custom theme */ +@import "theme"; +/* Import components */ +@import "components/hero"; +@import "components/flash"; +@import "components/footer"; +@import "components/event-finder"; + +/* Import pages */ +@import "pages/home"; /* Base styles */ body { diff --git a/app/assets/stylesheets/theme.css b/app/assets/stylesheets/theme.css index 76931c7..3b9c25c 100755 --- a/app/assets/stylesheets/theme.css +++ b/app/assets/stylesheets/theme.css @@ -100,11 +100,6 @@ } /* Base styles */ -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} body { font-family: var(--font-sans); diff --git a/app/views/components/_header.html.erb b/app/views/components/_header.html.erb index e69de29..3e31ac7 100755 --- a/app/views/components/_header.html.erb +++ b/app/views/components/_header.html.erb @@ -0,0 +1,137 @@ +
+
+ +
+