fix(marketing): replace OG image with product screenshot#1222
Conversation
The Satori-generated opengraph-image.tsx rendered plain text which looked generic on social cards. Replace it with an actual product screenshot that matches the landing page hero. Both openGraph and Twitter metadata already reference /og-image.png — the file now exists in public/. Also adds /og-preview route for regenerating the screenshot at 1200x630 when the hero design changes.
📝 WalkthroughWalkthroughThe PR replaces the existing Open Graph image generator with a new static preview page. The old generator is removed, and a new React/Next.js page component is added that renders a mock editor interface UI sized at 1200x630 pixels. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Preview Deployment🔗 Preview Links
Preview updates automatically with new commits |
Summary
opengraph-image.tsxwith an actual product screenshot (public/og-image.png)openGraph.imagesandtwitter.imagesin layout metadata already reference/og-image.png— the file now exists/og-previewutility route for regenerating the screenshot at 1200x630 when the hero design changesTest plan
/og-previewlocally at 1200x630 viewport to verify the preview route renders correctly<meta property="og:image">and<meta name="twitter:image">tags point to/og-image.pngin page sourceSummary by CodeRabbit
New Features
Refactor