Skip to content

feat: redesign og images to match site style, one per page - #128

Merged
jaspermayone merged 1 commit into
mainfrom
jaspermayone/og-redesign
Aug 13, 2026
Merged

jaspermayone merged 1 commit into
mainfrom
jaspermayone/og-redesign

Conversation

@jaspermayone

Copy link
Copy Markdown
Owner

Summary

The old OG image was a single generic dark card shared by every page. This PR replaces it with a design that matches the site (CuteNotes boxed-letter title, green squiggle underline, Balgin body text on a light background) and gives every page its own image.

Changes

  • src/lib/og-image.tsx: new design. Loads the local CuteNotes and Balgin font files from disk and renders the title with a hand-drawn squiggle underline in the site accent green (#56ba8e).
  • src/lib/og-utils.ts: OG copy for every route, including the ones that had no entry before (concerts, conferences, elsewhere, friends, hackathons, hardware, keys, open-source, slashes, support-me). Removed the unused type color schemes.
  • src/app/<route>/opengraph-image.tsx: 21 new per-route images via the Next file convention.
  • src/app/layout.tsx: removed the hardcoded root openGraph.images / twitter.images so the per-route file convention wins.
  • src/app/api/og/route.tsx: moved off the edge runtime so it can read the font files from disk.

Preview

Home and /photos render like the animated page titles on the site: boxed handwritten letters with a green squiggle, subtitle and description in Balgin, and a jaspermayone.com footer.

@vercel

vercel Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
website Ready Ready Preview Aug 13, 2026 1:23pm

@github-actions

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit b56a049.

@jaspermayone
jaspermayone merged commit 1be3597 into main Aug 13, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — b56a0497 Deployed Aug 13, 2026 by vercel[bot]
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