feat(og): default agicash preview image for shared links#1077
Open
orveth wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
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.
e2894dd to
c3ad841
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shared
agi.cashlinks had no preview image because the root page'sog:imagepointed at a small relative PWA icon path. This PR adds a default 900×473 brand OG card atpublic/og/agicash-card.webpand points the root meta at it as an absolute URL.