Repository navigation
Link preview image for nirium.xyz/avalanche - #33
Merged
Merged
Conversation
Links to nirium.xyz/avalanche showed no image in Telegram and X: the app had no openGraph or twitter metadata. Adds a 1200x630 card in the same layout as nirium.xyz's own preview, with the Avalanche colors already used by the demo's icon, and the og/twitter tags with absolute URLs (basePath is not added to metadata images). The explorer gets its own og:url and title, same image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
M0nsxx
approved these changes
Nov 28, 2026
M0nsxx
left a comment
Member
There was a problem hiding this comment.
AI-assisted review (Claude)
Read the diff: og.png at 1200x630, og/twitter tags in layout.tsx with absolute nirium.xyz URLs (basePath isn't applied to metadata images), and the explorer's own title and og:url with the same image. Only these 3 files change, no logic. tsc, tests and next build pass, and next start serves the tags on the home page and /explorer. LGTM.
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.
Links to nirium.xyz/avalanche showed up in Telegram and X with no image, because the demo had no openGraph or twitter tags.
What changes:
apps/demo/public/og.png: 1200x630 card, same layout as nirium.xyz's preview (/og/home), in the Avalanche colors the demo icon already uses. No chain logo.layout.tsx: og and twitter tags with absolute URLs, since basePath is not added to metadata images.explorer/page.tsx: its own title and og:url, same image.Checked locally: tsc OK, tests pass,
next buildOK, andnext startserves the tags on /avalanche and /avalanche/explorer plus /avalanche/og.png (200, image/png).Not deployed. Telegram caches previews, so a link already sent keeps the old one until it is refreshed.
🤖 Generated with Claude Code