Skip to content

Add the Open Graph image and social card metadata - #3

Merged
pei-tinybird merged 1 commit into
mainfrom
feature/opengraph-image
Oct 13, 2026
Merged

pei-tinybird merged 1 commit into
mainfrom
feature/opengraph-image

Conversation

@pei-tinybird

@pei-tinybird pei-tinybird commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Link previews now show a RawTree card instead of nothing.

Changes

  • app/opengraph-image.png: 1200×630 card built from rawtree-platform's OG template (lib/og-image.tsx): same background, Geist, spacing, and type scale, without the gradient overlay so the logo stays crisp (as on the homepage card). Description line height is 60px.
  • app/layout.tsx: Open Graph and Twitter card metadata (summary_large_image). No hardcoded metadataBase, so forks don't inherit our domain; on Vercel, Next resolves the image against the production domain.

Test plan

  • npm run typecheck
  • og:* and twitter:* tags render locally with the image at 1200×630
  • After deploy, og:image points at the production domain

- app/opengraph-image.png: 1200x630 card in the rawtree.com OG style.
- Open Graph and Twitter card title, description, and large image.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@pei-tinybird pei-tinybird self-assigned this Oct 13, 2026
@pei-tinybird
pei-tinybird requested a review from a team as a code owner October 13, 2026 08:34
@pei-tinybird
pei-tinybird merged commit b0ffcb6 into main Oct 13, 2026
1 check passed
@pei-tinybird
pei-tinybird deleted the feature/opengraph-image branch October 13, 2026 08:36
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