Skip to content

🖼️ feat(seo): social preview image for every page - #58

Merged
gfazioli merged 1 commit into
mainfrom
feat/social-preview-image
Sep 23, 2026
Merged

gfazioli merged 1 commit into
mainfrom
feat/social-preview-image

Conversation

@gfazioli

Copy link
Copy Markdown
Contributor

Summary

  • app/opengraph-image.jpg (1200×630, 176 KB) + opengraph-image.alt.txt: Next.js emits og:image (with type, size and alt) on every route and copies it to twitter:image.
  • twitter.card: 'summary_large_image', and twitter.site is now the @wpbonesx handle instead of a URL.

Before: the live home page had no og:image/twitter:image and twitter:card was summary, so a link on X showed no preview image.

Verification

  • yarn test and yarn build pass.
  • Built HTML checked for / and /docs/migrating-to-v2: both carry og:image and twitter:image https://wpbones.com/opengraph-image.jpg?…, 1200×630, summary_large_image, @wpbonesx.

Links to wpbones.com shared on X, Mastodon, Slack or LinkedIn showed no
image: the metadata had no og:image, so Next.js rendered a plain
`summary` card. app/opengraph-image.jpg (1200x630, 176 KB, with an alt
text) becomes og:image on every route, and Next.js copies it to
twitter:image; the card is now summary_large_image.

twitter:site held a URL; it is the @wpbonesx handle the footer links to.
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
wpbones-website-docs Ready Ready Preview Sep 23, 2026 2:46pm UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Adds a site-wide social preview image and updates Twitter metadata for richer link previews.

Changes:

  • Adds Open Graph image assets and accessible alt text.
  • Configures summary_large_image cards and the @wpbonesx handle.
File Description
config/​index.ts Updates Twitter metadata configuration.
app/​opengraph-image.alt.txt Provides accessible image description.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@gfazioli
gfazioli merged commit 0e3a4cb into main Sep 23, 2026
3 checks passed
@gfazioli
gfazioli deleted the feat/social-preview-image branch September 23, 2026 14:47

This branch was successfully deployed

2 active deployments
Production — 0e3a4cbb Deployed Sep 23, 2026 by vercel[bot]
Preview — 0e3a4cbb Deployed Sep 23, 2026 by vercel[bot]
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.

2 participants