Skip to content

docs: add link preview images and show the hero animation on mobile - #827

Merged
kvlonge merged 1 commit into
mainfrom
feat/link-previews
Sep 25, 2026
Merged

kvlonge merged 1 commit into
mainfrom
feat/link-previews

Conversation

@kvlonge

@kvlonge kvlonge commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Why

Shared links to sqlbuild.com showed the square icon as a small, poorly cropped preview, and the hero animation was hidden on phones.

Changes

  • Added 1200×630 preview images: the rename and sqb plan migration for the homepage, and a documentation card for every docs page (og:image, twitter:image and image size tags).
  • Showed the hero animation on narrow screens, hiding only the tail of its two longest lines so it fits without scrolling.

Verification

  • astro build and scripts/check_links.py: 107 pages, 0 broken links; the built homepage and docs pages carry the new image tags.
  • Checked the hero at 375, 390 and 600px widths: it fits without horizontal scrolling.

@kvlonge
kvlonge enabled auto-merge (squash) September 25, 2026 17:53
@kvlonge
kvlonge merged commit 0cb0df8 into main Sep 25, 2026
16 checks passed
@kvlonge
kvlonge deleted the feat/link-previews branch September 25, 2026 17:54
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