Skip to content

feat(meta): give the site a real social preview - #215

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/og-preview
Aug 7, 2026
Merged

feat(meta): give the site a real social preview#215
github-actions[bot] merged 1 commit into
mainfrom
fix/og-preview

Conversation

@catomean

@catomean catomean commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Every link to this site currently shares as a blank grey rectangle — it ships no og:image at all.

Adds the Next file-convention card (opengraph-image.tsx, 1200x630 — the 1.91:1 size Slack, Telegram and the OpenGraph scrapers crop to), drawn in this site's own palette from globals.css.

Also sets metadataBase, which is the load-bearing half. Without it Next resolves the generated image to http://localhost:3000/opengraph-image: a tag that is present, looks configured, and is unfetchable by every scraper. The fallback is the real host, so a missing env var degrades to correct instead of to localhost.

Verified end-to-end on a sibling repo before porting: build, render, 200 image/png, 1200x630, and og:image emitted as the absolute production URL. Local tsc --noEmit clean; CI does the build.

Part of a fleet-wide sweep — 10 of 15 sites shared blank, found by FleetCrown Atlas.

This site shipped no og:image, so every link to it — Telegram, Slack, a DM —
rendered as a blank grey rectangle. Adds the Next file-convention card
(1200x630, the size those scrapers crop to) drawn in the site's own palette.

Also sets metadataBase, which is load-bearing rather than cosmetic: without it
Next resolves the generated image to http://localhost:3000/opengraph-image — a
tag that is present, looks configured, and is unfetchable by every scraper. The
fallback is the real host, so a missing env var degrades to correct rather than
to localhost.

Pattern verified end-to-end on a sibling repo: build, render, 200 image/png at
1200x630, and og:image emitted as the absolute production URL.
@cursor

cursor Bot commented Aug 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions
github-actions Bot merged commit d060258 into main Aug 7, 2026
2 checks passed
@github-actions
github-actions Bot deleted the fix/og-preview branch August 7, 2026 08:59
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