Skip to content

fix(web): real Open Graph cards for /reports pages#152

Merged
muraschal merged 1 commit into
mainfrom
fix/reports-og-image
Jun 25, 2026
Merged

fix(web): real Open Graph cards for /reports pages#152
muraschal merged 1 commit into
mainfrom
fix/reports-og-image

Conversation

@muraschal

Copy link
Copy Markdown
Contributor

Follow-up to #149. Dropping the broken hardcoded /opengraph-image override (a 404) left the /reports pages with no og:image, because Next does not cascade the route-group OG image into the reports segments. Add colocated opengraph-image routes (index + [slug], en + de) rendering a branded card via the shared renderOgImage. Now the proof-gallery shares with a real card again.

Verified: typecheck · lint · test · build (4 new hashed OG routes generated).

Follow-up to the audit fix: removing the broken hardcoded `/opengraph-image`
override left the reports pages with no og:image at all (Next does not
cascade the route-group OG into the reports segments). Add colocated
opengraph-image routes (index + [slug], en + de) that render a branded card
via the shared renderOgImage — the index uses the gallery kicker/headline,
the detail uses the report title/summary.

Closes the remaining half of the /reports OG finding.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
auditor Ready Ready Preview, Comment Jun 25, 2026 9:39pm

Request Review

@muraschal muraschal merged commit df10f1d into main Jun 25, 2026
4 checks passed
@muraschal muraschal deleted the fix/reports-og-image branch June 25, 2026 21:41
muraschal added a commit that referenced this pull request Jun 25, 2026
The Vercel git webhook missed the previous main push (#152), so production
stayed a deploy behind. Empty commit to re-fire the auto-deploy. (See the
infra audit finding on gating/reliability of the deploy pipeline.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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