Skip to content

Add deterministic Anvil social card - #295

Merged
DavidBakerEffendi merged 1 commit into
masterfrom
dave/deterministic-anvil-social-card
Jul 21, 2026
Merged

DavidBakerEffendi merged 1 commit into
masterfrom
dave/deterministic-anvil-social-card

Conversation

@DavidBakerEffendi

Copy link
Copy Markdown
Collaborator

Description

Adds an editable SVG social-card source and a repeatable PNG export command, replacing the opaque hand-authored PNG with a dark-mode design that matches the Anvil landing page.

Key Changes:

  • Adds the Anvil social-card SVG and regenerates the production 1200×630 PNG from it.
  • Adds npm run generate:social-card for repeatable exports using the existing Sharp dependency.

Touch Points:

  • docs/src/assets/anvil-social-card.svg
  • docs/scripts/generate-social-card.mjs
  • docs/public/anvil-social-card.png
  • docs/package.json

Validation: rendered the SVG with rsvg-convert, visually inspected the PNG, confirmed two independent renders have identical hashes, and ran git diff --check. The docs build was not run because docs/node_modules is absent in this worktree.

@DavidBakerEffendi
DavidBakerEffendi marked this pull request as ready for review July 21, 2026 11:58
@DavidBakerEffendi
DavidBakerEffendi merged commit 5efc5a2 into master Jul 21, 2026
8 checks passed
@DavidBakerEffendi
DavidBakerEffendi deleted the dave/deterministic-anvil-social-card branch July 21, 2026 11:58
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