Regenerate responsive derivatives for the new California Live and BNC stills - #21
Merged
Merged
Conversation
The <Picture> component serves the pre-generated avif/webp variants, not the base JPEG, so the earlier swap left the old title cards showing in modern browsers. Regenerate the 400/800/1080 avif+webp variants for media-cali and media-bnc from the new stills and refresh img-variants.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UtMN98v2akyjTLdqHedbid
✅ Deploy Preview for qfearless ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
Follow-up to #20. That PR swapped the base JPEGs for the two Speak-page media cards (California Live and BNC), but the
<Picture>component serves the pre-generated.avif/.webpresponsive variants, not the base JPEG. Those variants were still the old placeholder title cards, so modern browsers (and the deployed site) kept rendering the old images.This regenerates the responsive variants from the new stills so the cards actually display the real segment photography.
Changes
.avifand.webpvariants formedia-caliandmedia-bncfrom the new source stills, using the same settings astools/optimize_images.py.Intrinsic dimensions are unchanged (1080×608), so
src/data/img-variants.jsonneeds no update.Verification
npm run buildsucceeds.python3 tools/validate_site.py distpasses (6 pages, 0 unfilled slots).python3 tools/seo_check.py distpasses (6 pages, 0 warnings).🤖 Generated with Claude Code
https://claude.ai/code/session_01UtMN98v2akyjTLdqHedbid
Generated by Claude Code