Skip to content

chore: regenerate social preview to match axonops/mask layout#30

Merged
millerjp merged 1 commit into
mainfrom
chore/social-preview-fix
Apr 21, 2026
Merged

chore: regenerate social preview to match axonops/mask layout#30
millerjp merged 1 commit into
mainfrom
chore/social-preview-fix

Conversation

@millerjp

Copy link
Copy Markdown

Summary

The social preview shipped in #29 was a sips-padded gopher on white — not the branded layout the mask project uses. This PR replaces it with a PIL-rendered 1280×640 image whose geometry mirrors `axonops/mask`'s `social-preview-1280x640.png` exactly.

Visual

preview

Layout (sampled from mask)

  • Canvas: 1280×640, background `#0c242e` (teal-navy, sampled from mask's preview).
  • White rounded-corner card at `x=80..560 y=80..560` (480×480), `radius=24` — matches mask's card to the pixel.
  • Syncmap gopher centred inside the card with 20px padding.
  • Text column at `x=600`:
    • Title "syncmap" — Arial Bold 110pt (fits the 7-letter word with margin).
    • Subtitle line 1: "Type-safe generic wrapper around sync.Map" — Arial 32pt.
    • Subtitle line 2: "Zero runtime dependencies · Go 1.26+" — Arial 32pt.
    • URL: "github.com/axonops/syncmap" — dimmed, Arial 28pt.

Post-merge

Upload the regenerated image via Settings → Social preview. A copy is already on your desktop as `syncmap-social-preview-1280x640.png`.

The previous social preview was a naïve sips-padded gopher on white —
not the branded layout axonops/mask uses. Replace with a PIL-rendered
1280x640 image that mirrors mask's geometry exactly:

  * Dark teal background (#0c242e), sampled from mask's preview.
  * White rounded-corner card at x=80..560 y=80..560 with the
    syncmap gopher centred inside it.
  * Right-hand text column at x=600 with "syncmap" as the title
    (Arial Bold 110pt — fits the 7-letter word inside the canvas),
    two tagline lines in 32pt regular, and the canonical repo URL
    in dimmed 28pt at the bottom.

Visual side-by-side with /tmp/mask-social-preview.png confirms the
block structure, spacing, and colour palette match.
@millerjp millerjp merged commit 71b77f0 into main Apr 21, 2026
18 checks passed
@millerjp millerjp deleted the chore/social-preview-fix branch April 21, 2026 05:42
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant