Redesign header with elegant dark theme#732
Conversation
- Apply matching dark gradient background - Update search input with translucent glass effect - Redesign 'Add Initiative' button with minimal border style - Update mobile search button to match theme - Add backdrop blur and subtle shadow - Improve form modal styling - Consistent spacing and typography
✅ Deploy Preview for linksforisrael ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Review Summary by QodoRedesign header with elegant dark theme
WalkthroughsDescription• Redesign header with dark gradient background matching footer theme • Update search input with translucent glass effect and improved focus states • Refactor button styling to transparent with border for minimal aesthetic • Improve form modal centering and backdrop blur effect • Enhance responsive layout using Container component Diagramflowchart LR
A["Header Component"] -->|"Dark gradient + blur"| B["Visual Theme"]
C["SearchInput"] -->|"Glass effect"| B
D["SearchButtonMobile"] -->|"Ghost variant"| B
E["AddSite Modal"] -->|"Centered + shadow"| B
B -->|"Cohesive design"| F["Elegant Dark UI"]
File Changes1. app/components/Header/Header.tsx
|
Code Review by Qodo
1. AddSite button low contrast
|
| background: transparent; | ||
| color: rgba(255, 255, 255, 0.9); | ||
| padding: 8px 16px; | ||
| border: 1px solid rgba(255, 255, 255, 0.3); | ||
| border-radius: 9999px; |
There was a problem hiding this comment.
1. Addsite button low contrast 🐞 Bug ✓ Correctness
• The AddSite CTA was restyled to background: transparent with near-white text and a subtle white border. • The CTA is rendered as a sticky/floating element near the bottom-left of the viewport; over typical light page content this will have poor contrast, making a primary action hard to discover/use. • This is an accessibility regression (focus/hover states also remain very low-contrast on light backgrounds).
Agent Prompt
### Issue description
The AddSite CTA is now transparent with white text, but it’s positioned as a sticky/floating element over page content. On light backgrounds it will be hard to see and fails usability/accessibility expectations.
### Issue Context
`AddSite` renders a sticky footer-like control that can overlay arbitrary content, so its colors must be robust across backgrounds.
### Fix Focus Areas
- app/components/AddSite/AddSite.module.scss[1-10]
- app/components/AddSite/AddSite.module.scss[35-60]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Summary
Redesigns the header to match the elegant dark theme from #731 (footer redesign), creating a cohesive visual identity.
Changes
Header.tsx
#1a1a2e→#16213e)SearchInput.tsx
whiteAlpha.100background)SearchButtonMobile.tsx
AddSite.module.scss
Visual Consistency
The header now shares the same design language as the footer:
Related