chore: drop Cloudflare Pages references and _hyperscript#17
Merged
Conversation
- Remove all "Cloudflare Pages" / *.pages.dev references from CLAUDE.md and the pages.dev noindex rule from static/_headers (no longer hosted on Cloudflare Pages). - Replace _hyperscript with plain DOM JS: drop the unpkg <script> tag, remove inline _="on click ..." attributes, and wire the menu toggle and link-click close into the existing inline navbar script. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deleted (PR closed). |
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.
Summary
Two cleanups bundled together, both done in one session:
*.pages.devpreview-URL references fromCLAUDE.md, plus thehttps://:project.pages.dev/*x-robots-tag: noindexblock fromstatic/_headers._hyperscriptwith plain JS. Removes the unpkg_hyperscript.min.js<script>tag and the inline_="on click ..."attributes in the navbar. The mobile menu toggle and "close menu on link click" behavior now live in the existing inline<script>innavbar.html, using plain DOM APIs.Notes
x-robots-tag: noindexrule for*.pages.devpreviews is gone since that hosting is no longer used._attribute); the new JS closes the menu on any nav-link click, which is more consistent and harmless (Privacy navigates to a separate page).make buildpasses.🤖 Generated with Claude Code