Repository navigation
fix: og image avatar clipping - #188
Merged
Merged
Conversation
Use absolute positioning for the avatar circle matching Gatsby's original layout — a 628px diameter circle centered at (1043, 377) that overflows the right and bottom edges of the 1200×628 canvas. Constrain text column to 609px matching Gatsby's copyWidth calculation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Render emojis via Satori's loadAdditionalAsset using Twemoji SVGs - Add textWrap: 'balance' to title for more even line distribution Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Avatar uses absolute positioning matching Gatsby's geometry (628px diameter circle, clipped at canvas edges) - Title allowed to overlap avatar with rounded background for readability - Title truncated to ~2 lines (60 chars) with ellipsis - Description stays within original 609px copy width Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
✅ Deploy Preview for queen-raae-codes ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Use DEPLOY_PRIME_URL env var for social image URLs so deploy previews reference their own domain instead of the hardcoded production URL. Falls back to siteUrl for local development. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
raae
force-pushed
the
fix/og-image-avatar-clipping
branch
from
February 3, 2026 17:23
15f7989 to
e523565
Compare
…alks Add content-hash query param (?v=<hash>) to OG image URLs so social platforms re-fetch when title or description changes. Use frontmatter speaker images for talk pages instead of generating dynamic OG images. Non-post pages fall back to the default raae.jpg. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The public/ directory was gitignored (leftover from Gatsby where it was the build output). In Astro, public/ holds static assets that must be deployed — raae.jpg, testimonials, landing images, etc. The Astro build output goes to dist/ which remains gitignored. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
data.image.src alone doesn't trigger Astro's image pipeline, so the JPEG wasn't output to dist/. Using getImage() with format: 'jpeg' properly processes the image and emits it to the build output. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
No description provided.