Repository navigation
Allow the slides site to embed the macro site; remove the methodology step strip - #276
Merged
Merged
Conversation
Replace X-Frame-Options SAMEORIGIN with a CSP frame-ancestors list: 'self', policyengine.org, www.policyengine.org (which serves /slides), policyengine-slides.vercel.app and http://localhost:3000 (local presenting). Browsers that support frame-ancestors ignore X-Frame-Options, so keeping it would only block the embed in older browsers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The numbered strip of linked steps above each methodology walkthrough repeated the step headings that follow it. Removed from all seven methodology pages, with its now-unused .meth-map CSS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small site changes.
1. Let the PolicyEngine slides site embed this site (vercel.json). The NEF deck (PolicyEngine/policyengine-slides#118) shows the site live in an iframe, which today's headers block (
X-Frame-Options: SAMEORIGIN,frame-ancestors 'self').frame-ancestorsnow lists'self',https://policyengine.org,https://www.policyengine.org(which serves/slides),https://policyengine-slides.vercel.appandhttp://localhost:3000.X-Frame-Optionsis removed: browsers that supportframe-ancestorsignore it, so it would only block older ones.2. Remove the numbered step strip ("The 6 steps, in order. Notation is at the end.") from all seven methodology pages, plus its unused
.meth-mapCSS. It repeated the step headings directly below it.Vercel redeploys production from main after merge.
🤖 Generated with Claude Code