Skip to content

Render the PolicyEngine site shell around the dashboard - #9

Merged
MaxGhenis merged 2 commits into
mainfrom
add-site-shell
Aug 10, 2026
Merged

MaxGhenis merged 2 commits into
mainfrom
add-site-shell

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Summary

  • Adds PolicyEngineHeader (white wordmark + Research / Model / API / About / Donate linking to policyengine.org/uk/*) and PolicyEngineFooter (About us, Donate, Developer tools, Privacy policy, Terms and conditions) to the root layout, styled with the repo's design-system tokens — the same components used by young-worker-nics and electricity-vat-cut.
  • Adds the white wordmark asset at public/assets/logos/policyengine-white.svg.
  • The header is static (not sticky) so the dashboard's own sticky title row keeps the viewport top while scrolling.

Everything served on policyengine.org carries the site shell rendered by the child app (the zone rewrite does not inject the parent shell) — see the shell rule in policyengine-app-v2 CLAUDE.md and PolicyEngine/policyengine-app-v2#1145. The /uk/bus-fare-cap exemption in the app-v2 zone-shell audit will be removed in a follow-up once this deploys.

Verification

  • bun run build passes; prerendered HTML contains the brand, all four required nav labels, and all five footer links.

🤖 Generated with Claude Code

Adds PolicyEngineHeader (brand wordmark + Research / Model / API /
Donate nav) and PolicyEngineFooter (About us, Donate, Developer tools,
Privacy policy, Terms and conditions) to the root layout, matching the
young-worker-nics / electricity-vat-cut components and this repo's
design-system tokens. The header is static rather than sticky so the
tool's own sticky title row keeps the viewport top while scrolling.
Every tool served on policyengine.org carries the site shell rendered by
the child app — the multizone rewrite does not inject the parent shell.
The /uk/bus-fare-cap entry in app-v2's SHELL_BRAND_EXEMPT_SOURCES will
be dropped once this deploys.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
bus-fare-cap Ready Ready Preview Aug 10, 2026 3:31pm

policyengine's [uk] extra exact-pins policyengine-uk (==2.89.2 as of
bundle 5.0.1), which conflicts with this repo's policyengine-uk>=2.89.3
floor and made pip resolution impossible. Install policyengine-uk
directly instead of via the extra. Verified locally on Python 3.13:
resolution succeeds (policyengine 5.0.1 + policyengine-uk 2.89.4), ruff
passes, 8/8 tests pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit 072499c into main Aug 10, 2026
3 checks passed
@MaxGhenis
MaxGhenis deleted the add-site-shell branch August 10, 2026 15:37

This branch was successfully deployed

1 active deployment
Preview — c84fd6a1 Deployed Aug 10, 2026 by vercel[bot]
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.

1 participant