Originally created by: athanclark
Follows [#479] and [#497]. Links to the site's own pages (the landing page, profiles, help and the rest) previewed with /social-preview.jpg, a screenshot of the editor that names nothing.
/previews/site.png: a card each server draws for itself, 1200 × 630 (platform/lib/site-preview.jsx), the design of the repository's GitHub card (#497). It holds:
PLATFORM_NAME) or else its address, so other servers don't advertise timescale.info;It uses only what next/og bundles (its own font) and the files the server already has, cached for a day.
/previews/<audience>.png: each audience's page has its own card, with "OpenChronology · for educators" small, then the page's heading and promise. A shared link to /for/educators reads "Timelines your class builds together".
Other changes:
alt text says what the card says.Tests:
next-platform checks the site's og:image, twitter:image and alt, and that both cards are 1200 × 630 PNGs under 1 MB. It also checks that other names are 404. It passes here.landing-live-postgres checks the educators page's card and alt (in CI).sharing-postgres checks a profile's card and that a timeline page uses neither.Docs: docs/sharing.md#link-previews.
🤖 Generated with Claude Code
Ticket changed by: athanclark