Skip to content

Sync dev to main: Apollo-branded social cards - #1089

Merged
bharvey88 merged 2 commits into
mainfrom
dev
Aug 22, 2026
Merged

Sync dev to main: Apollo-branded social cards#1089
bharvey88 merged 2 commits into
mainfrom
dev

Conversation

@bharvey88

Copy link
Copy Markdown
Contributor

Publishes the social card rebrand from #1088 to the live wiki.

🤖 Generated with Claude Code

Link embeds in Discord and elsewhere used the stock Material card:
a black background with goldenrod text, at 1200x630. Three problems.
The colors were not Apollo's. The card was painted with the page title
and description, which the embed already prints as text right above it,
so every unfurl showed the same words twice. And summary_large_image
made each link eat a full-width banner in the channel.

Add a custom layout at layouts/apollo.yml. It is 630x630, uses the
theme's own #4379AA primary with white text and a #9ABC31 accent rule,
and carries only the logo and site name so the embed text is not
repeated. The logo's own square is #4379AB, so its edge disappears into
the background and only the white A and green dot read.

The layout emits twitter:card: summary instead of summary_large_image.
Discord, Slack and X read that tag and render a small square thumbnail
beside the title and description rather than a banner, which is roughly
a quarter of the vertical space.

Custom card layouts are available in the community edition of
mkdocs-material as of the version pinned here, so this needs no
Insiders access.

Note that Discord caches unfurls per URL, so links already posted will
keep showing the old card until that expires.

Verified by rendering the layout through the social plugin and checking
both the PNG and the emitted meta tags.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@coderabbitai

coderabbitai Bot commented Aug 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • beta

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6b868d53-d49c-45dc-af06-8b86f65fb490

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bharvey88
bharvey88 merged commit b7ca6ef into main Aug 22, 2026
2 checks passed
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