Skip to content

fix: use per-post fonts in OG images#5

Open
Microck wants to merge 2 commits intomainfrom
polish-writeup
Open

fix: use per-post fonts in OG images#5
Microck wants to merge 2 commits intomainfrom
polish-writeup

Conversation

@Microck
Copy link
Copy Markdown
Contributor

@Microck Microck commented Mar 28, 2026

Changes:

  • Make opengraph-image.tsx load the actual heading font for each post theme
  • Use a static Anthropic Serif instance for free-opus
  • Use Space Grotesk for posts that inherit the default theme
  • Keep the real SVG logo and scythe assets in the generated OG images

Verification:

  • npm run build

Microck added 2 commits March 28, 2026 16:50
- Add opengraph-image.tsx route with per-post themed OG images
- Move anthropic pricing image under heading in free-opus post
- Add OG preview gallery at /og-preview for visual review
- Add brand assets (logo, scythe SVGs) and OG layout utilities
- Add TTF fallback font for satori compatibility
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 28, 2026

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Mar 28, 2026 5:48pm

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