Skip to content

feat(og): default agicash preview image for shared links#1077

Open
orveth wants to merge 1 commit into
masterfrom
nits/og-image-absolute
Open

feat(og): default agicash preview image for shared links#1077
orveth wants to merge 1 commit into
masterfrom
nits/og-image-absolute

Conversation

@orveth
Copy link
Copy Markdown
Contributor

@orveth orveth commented May 15, 2026

Shared agi.cash links had no preview image because the root page's og:image pointed at a small relative PWA icon path. This PR adds a default 900×473 brand OG card at public/og/agicash-card.webp and points the root meta at it as an absolute URL.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

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

Project Deployment Actions Updated (UTC)
agicash Ready Ready Preview, Comment May 15, 2026 8:40pm

Request Review

@supabase
Copy link
Copy Markdown

supabase Bot commented May 15, 2026

This pull request has been ignored for the connected project hrebgkfhjpkbxpztqqke because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

The root page was emitting `og:image="/icon-192x192.png"` — a
relative URL pointing at the 192x192 PWA icon. Twitter/X requires
absolute URLs and rejects images below 300x157 for the
`summary_large_image` card type, so shared `agi.cash` links
rendered without a preview image.

Adds a 900x473 webp card (matching the existing gift-card OG
convention in `public/og/`) and points the root meta at it as an
absolute URL via the loader's `origin`. Title and description
metadata are unchanged.

Asset by @Bobthree.
@orveth orveth force-pushed the nits/og-image-absolute branch from e2894dd to c3ad841 Compare May 15, 2026 20:39
@orveth orveth changed the title fix(og): use absolute URL for og:image on root feat(og): default agicash preview image for shared links May 15, 2026
@gudnuf gudnuf requested a review from jbojcic1 May 15, 2026 20:45
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.

2 participants