Skip to content

Match header to app-v2 and add www redirect#2

Open
anth-volk wants to merge 2 commits intomainfrom
fix/header-and-routing
Open

Match header to app-v2 and add www redirect#2
anth-volk wants to merge 2 commits intomainfrom
fix/header-and-routing

Conversation

@anth-volk
Copy link

@anth-volk anth-volk commented Mar 11, 2026

Fixes #1

Summary

  • Replaces the header with an exact copy of the policyengine-app-v2 header component structure (Apple-style animated dropdowns, design system tokens, hover effects, mobile sheet menu)
  • Adds www-to-non-www redirect in vercel.json
  • Fixes logo path to use basePath directly instead of runtime detection

Test plan

  • Verify header gradient, border, font, and spacing match policyengine.org
  • Verify About dropdown animates with height reveal and blur backdrop
  • Verify country selector dropdown matches
  • Verify mobile menu works on small viewports
  • Verify logo loads on first paint (no flash of broken image)

🤖 Generated with Claude Code

anth-volk and others added 2 commits March 11, 2026 01:42
Copy the full header component structure from policyengine-app-v2,
including Apple-style animated dropdowns, hover effects, and design
system tokens. Add www-to-non-www redirect in vercel.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use hardcoded /us/api prefix instead of runtime detection via
assetUrl(), which returns the wrong path during server-side render.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
household-api-docs Ready Ready Preview Mar 11, 2026 1:06am

Request Review

@anth-volk anth-volk changed the title Fixes #1: Match header to app-v2 and add www redirect Match header to app-v2 and add www redirect Mar 11, 2026
@anth-volk anth-volk marked this pull request as ready for review March 11, 2026 01:08
@anth-volk anth-volk requested a review from MaxGhenis March 11, 2026 01:08
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.

Header doesn't match policyengine-app-v2 and lacks www redirect

1 participant