Repository navigation
docs(feat): redraw the social preview in the Orbit design - #99
Merged
Merged
Conversation
The link preview still showed the old light landing page. Redraw it from the site's own WebGL engine: the ASCII planet with its default, personal and work moons, the wordmark and half-disc, the hero headline in Inter Tight Light and the three Codex homes in IBM Plex Mono, monochrome on #080808. scripts/og-image.html reads the engine from docs/index.html at render time and freezes its clock at 608.8 s, a moment where all three moons sit clear of the planet and the headline and the light faces the viewer. The headless Chrome command in its header regenerates the PNG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 10 minutes. View limit details
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 |
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
docs/og-image.png(1200×630) so link previews match the Orbit site from docs(feat): redesign the site around a live ASCII orbit #97. It now shows the ASCII planet with its default, personal and work moons and rings, drawn by the page's own WebGL engine. Around it: thecodex-profileswordmark with the half-disc, the headline Your Codex profiles, one click away. in Inter Tight Light, and~/.codex · ~/.codex-personal · ~/.codex-workin IBM Plex Mono. It's monochrome: ground#080808, ink#ECECE8, no accent colours.scripts/og-image.html, the card's source, for the new design. It doesn't copy the engine. At render time it reads the engine fromdocs/index.htmland freezes the clock at 608.8 s. At that moment all three moons sit clear of the planet and the headline, and the light faces the viewer. If the engine's clock line ever changes, the frame prints an error rather than rendering a different scene. The headless Chrome command in its header regenerates the PNG.og:image:altandtwitter:image:altto describe the new picture. Theog:imageandtwitter:imageURLs and the 1200×630 size are unchanged.## Unreleased.Before / after
Testing
node test/site/geo-test.mjs: passes. It reads the PNG's real 1200×630 size againstog:image:width/height.make check: passes, including ShellCheck.#080808, and no pixel's chroma is above 5, which is the ink's slight warmth.Scope and compatibility
docs/,scripts/og-image.html). No CLI,app defaultor Desktop profile changes.Checklist
make check; if the environment lacks ShellCheck, I ranmake testand documented the missing lint result instead.or migrates auth tokens or ChatGPT cookies.
app defaultsession and use theoriginal signed app bundle. (No Desktop changes.)
🤖 Generated with Claude Code