Repository navigation
Shared OgCard for preview cards; PostHog - #1
Merged
Merged
Conversation
- Cards render OgCard from @kevinschaich/components/og on Darkgrade's backdrop; stat tiles are folded into the sub line. Fonts registered as body, heading (600, 500) and mono (Fragment Mono). - satori pinned to 0.12.2, the version next/og ships: 0.63 paints the card's absolutely positioned backdrop and overlay over its text. - posthog-js snippet in index.html, after the twitter:card tag so the prerender's head rewrite keeps it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
OpenGraph cards
scripts/prerender.tsrendersOgCardfrom@kevinschaich/components/og(^0.8.2: 0.8.0 on npm had no./og, and 0.8.1 painted the backdrop fade over the words under plain satori). Stat tiles are folded intosub: the index says "95 cameras · specs verified across independent sources", a camera "Brand · spec level N/100 · $price" (parts without data are left out).body(Public Sans 400),heading(600 and 500),mono(Fragment Mono 400, new dev dependency). satori stays at ^0.63.2.public/cameras, composed onto the backdrop with sharp, since satori/resvg can't read webp); the other 16 cameras have no picture and use the backdrop, as do the index and list pages.PostHog
posthog-js snippet in
index.htmlwith the given key,api_hostand options. It sits after thetwitter:cardtag because the prerender replaces everything from<title>to that tag. All 102 built HTML pages contain it. Not tested against the live proxy.🤖 Generated with Claude Code