Skip to content

chore: switch OG image to Mintlify auto-generated template#6

Merged
alexander-sei merged 4 commits into
mainfrom
chore/og-image-mintlify-template
May 20, 2026
Merged

chore: switch OG image to Mintlify auto-generated template#6
alexander-sei merged 4 commits into
mainfrom
chore/og-image-mintlify-template

Conversation

@alexander-sei
Copy link
Copy Markdown
Collaborator

@alexander-sei alexander-sei commented May 20, 2026

Summary

  • Drop the static og:image (/assets/docs-banner.png) from seo.metatags so Mintlify's per-page social card generator takes over.
  • Add thumbnails.background: /assets/og-template.png so each card renders with our branded backdrop.
  • Set thumbnails.appearance: dark so the title/description render in light text for readable contrast on the dark template.
  • Add assets/og-template.png — 1200×630, derived from the existing assets/header.svg rings pattern, Sei wave symbol stripped, rings dimmed to ~25% opacity over black so they read as a watermark instead of dominating the title area.

Before: every shared URL previewed as the same static "Sei Documentation" banner. After: /node/node-operators previews as "Sei Node Operations Guide" with its page description over the branded rings backdrop. Each page gets its own card.

Verified on the preview deploy

  • <meta og:image> resolves to Mintlify's OG generator with our template passed as the background parameter.
  • Rendered card on /node/node-operators shows division eyebrow ("Node Operations"), page title, description, and the dimmed rings backdrop — all legible.

Cache note

Telegram/Slack/Discord aggressively cache OG images (typically days). Already-shared links will keep showing the old banner — append a throwaway query param (?v=2) when re-sharing to force a refresh.

Test plan

  • After merge + production deploy, paste https://docs.sei.io/node/node-operators?v=2 into Slack/Telegram and verify the preview shows the per-page title rather than the static banner.
  • Spot-check 2-3 other pages (EVM, Learn, Cosmos-SDK) for correct per-page titles and backdrop.

🤖 Generated with Claude Code

Replace the static /assets/docs-banner.png OG image with Mintlify's
per-page generated previews using `thumbnails.background` so each
shared link renders the page title and description over a branded
template instead of one generic banner.

Note: requires a 1200x630 template asset at /assets/og-template.png
with no baked-in text (Mintlify overlays logo + title + description).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented May 20, 2026

PR Summary

Low Risk
Low risk: configuration-only SEO/social preview changes; main risk is missing/incorrect thumbnails.background asset causing degraded link previews.

Overview
Removes the global seo.metatags og:image override so Mintlify can generate per-page social preview cards.

Updates thumbnails to use dark appearance and sets background to /assets/og-template.png to brand the auto-generated OG images instead of a single shared banner.

Reviewed by Cursor Bugbot for commit fa8b7a7. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 20, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
sei-docs 🟢 Ready View Preview May 20, 2026, 3:28 PM

1200x630 PNG rendered from the existing /assets/header.svg rings
pattern with the Sei wave symbol stripped (Mintlify overlays its
own logo + title + description on top). Dark center leaves clean
space for the overlay; rings frame the edges.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Initial render had rings at full saturation; Mintlify's OG generator
places the page title bottom-left, where the bright rings made the
title illegible. Dropping rings to ~25% opacity over solid black
keeps the visual branding while leaving the title area readable.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The OG template background is dark (black with subtle red rings),
so light-mode text rendering (dark text on dark bg) was illegible.
Switch thumbnails.appearance to "dark" so Mintlify renders the
title, division eyebrow, and description in light colors for
readable contrast on the dark template.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@alexander-sei alexander-sei merged commit a481cc4 into main May 20, 2026
6 checks passed
@alexander-sei alexander-sei deleted the chore/og-image-mintlify-template branch May 20, 2026 18:34
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