Conversation
Generate per-page Open Graph images at 1200x630 via Next.js edge API routes using ImageResponse. Each page gets a dedicated route with page-specific visual mockups: - /api/og/home — toolkit overview with 2x2 tool grid - /api/og/studio — code editor mockup with Solidity snippet - /api/og/builder — extrinsic form mockup (balances.transferKeepAlive) - /api/og/docs — documentation sidebar + content mockup Shared font loader fetches Nunito from Google Fonts at runtime. Metadata wired up in all page layouts for Twitter cards, Discord embeds, and Slack previews.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #40 +/- ##
==========================================
- Coverage 50.42% 48.90% -1.53%
==========================================
Files 178 180 +2
Lines 22266 22946 +680
Branches 1236 1236
==========================================
- Hits 11227 11221 -6
- Misses 10991 11677 +686
Partials 48 48 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
next/ogImageResponse API (1200x630, edge runtime)/api/og/home,/api/og/studio,/api/og/builder,/api/og/docsrelaycode.orgbottom-rightTest plan
/api/og/home,/api/og/studio,/api/og/builder,/api/og/docsand verify images render