design(site): light-mode god rays, real-asset downloads, hero Windows button, OG card#184
Merged
Merged
Conversation
- God rays now render in light mode too: a transparent (premultiplied-alpha) canvas lets the warm-paper page show through the gaps, and a uLight-adapted shader draws deeper, softer shafts on paper while keeping the dark-mode glow unchanged - Pick up the release's Windows *-setup.exe from the resolved asset list: the Get Started and hero download buttons light up and link to the installer when one exists, and stay an inert 'coming soon' chip otherwise - Disable the cursor-reflection coat interaction for now (gated behind a flag, code left in place)
A deploy fired minutes after a publish could resolve a release whose just-attached assets (notably the Windows *-setup.exe) were missing from a CDN-cached releases/latest body — the runner's region kept serving a stale response well past its 60s s-maxage. The page then shipped a 'coming soon' Windows chip for a build that actually exists. Force revalidation with no-cache headers + a per-build cache-buster query param so the build always sees current release state.
…ease lookup - macOS now links to the real .dmg from the release asset list (prefer arm64), matching how Windows resolves its *-setup.exe, with the conventional filename only as a pinned-build fallback. Both buttons link to the correct asset for the latest build. - Force-revalidate the GitHub releases lookup (no-cache headers + per-build cache-buster) so a release-day rebuild can't resolve a stale CDN body and ship links for an older build or miss just-attached assets.
…nk unfurls - Hero now shows both macOS (.dmg) and Windows (.exe) download buttons, resolved from the latest release; Windows falls back to a 'coming soon' chip when no installer is attached. Drops the now-redundant OS-detection swap script. - Add an Open Graph / Twitter card pointing at a generated screenshot of the hero card (public/og.png), so link unfurlers use the brand hero instead of grabbing the inline dashboard screenshot. Meta-only, invisible to the page. - Add scripts/gen-og.mjs (Playwright) + a 'bun run og' script to regenerate the hero screenshot against a running dev/preview server.
Compose the capture in gen-og.mjs: hide the download buttons, typing caret, the rest of the page, and the dock, and pad the top so the hero card centers on the god-ray backdrop. Affects only the generated screenshot, not the live page.
Hide the hero download buttons with visibility:hidden (not display:none) when composing the OG screenshot, so the card keeps full height and covers the god-rays' central fade zone instead of exposing it as a dark box below the card.
…ray source Pin the hero dead-centre at a generous size for the capture and dispatch a resize so the god-rays light re-anchors to it. A card centred on the light source, with half-height beyond the shader's central fade radius, fully covers the dark convergence zone — no dark strip below the card.
…ightmode-windows # Conflicts: # site/src/components/markdoc/Hero.astro # site/src/lib/downloads.ts
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.
Site fixes + polish for the landing page (mxml.sh / GitHub Pages). All scoped to
site/;design(site):so it doesn't trigger a release bump.Light mode
uLight-adapted shader draws deeper/softer shafts on paper while keeping the dark-mode glow unchanged. Removes thedisplay:nonelight-mode gate that left light mode flat.Downloads reflect the latest build + correct assets
…-darwin-arm64.dmg, Windows → the…-setup.exe. Convention fallback only for pinned builds.*-setup.exeexists, else an inert "coming soon" chip.Hero
Link-unfurl (OG) card
public/og.png) instead of unfurlers grabbing the inline dashboard image. Head-only; invisible to the page.scripts/gen-og.mjs(Playwright) +bun run ogto regenerate it. The capture composes a clean, centered card (no buttons) on the god-ray backdrop — centering matters so the card covers the shader's central fade zone (no "black box").Misc
Verified: site builds green, 0 em-dashes, both download links resolve to the live v0.4.35 assets, OG image renders cleanly in both the buttoned and clean compositions.