Repository navigation
feat(site): demo page; move the Pages client to demo/client/ - #201
Merged
Merged
Conversation
"Your phone becomes…" now cycles phone / tablet / laptop, easing to each word's width so "becomes" follows without a gap; screen readers hear "phone, tablet or laptop", and reduced motion keeps "phone". Drop the "Is it free?" FAQ. Downloads shipped (v20261115.0), so they move from "coming" to "works today"; "coming" regains per-device decks and picking between several computers.
The guide's GitHub Pages list is now clickable. The responsive gallery drops the 390px phone and the 7" tablet, and labels the mpris test fixture "MPRIS" so it isn't confused with the media showcase deck.
- site/demo/: a click-through demo. Pick a window on a pretend desktop (Desktop, Firefox, Gmail, YouTube, Meet, music, anything else) and one large live client switches to that deck; a landscape/portrait toggle sticks across apps. - The client on Pages moves from /deckd/app/ to /deckd/demo/client/. It only exists for the homepage and the demo page to embed, and "app" read like something to use. A visit with nothing to demo (no ?demo=, ?playground or ?deck=) forwards to the demo page (VITE_DEMO_PAGE, client/src/demo-landing.ts); a daemon-served client never redirects. - Homepage: Demo link in the header and a "Try the demo" button; the narrow header drops its in-page links so it stays on one line. The trackpad section now covers the keyboard and voice typing. - `just pages` takes PAGES_HOST=0.0.0.0 to serve other devices.
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.
Summary
A click-through demo page, and the Pages client moved somewhere that doesn't read as a usable app.
PAGES_HOST=0.0.0.0 just pagesserves the preview to other devices (Tailscale).Stacked on #191, which this carries along.
Evidence
/deckd/app/with no?demo=showed "Reconnecting…"; the 5-link header overflowed at 390px.After: checked in Chromium against
just pages:/deckd/demo/client/?demo=…; homepage phones too/deckd/demo/client/and old/deckd/app/→/deckd/demo/;/deckd/app/?demo=gmailstill opens the deck;/deckd/?demo=firefox→demo/client/?demo=firefoxdemoLanding()unit tests (3 new); client 420 tests pass, tsc and eslint clean;scripts/build_pages.shassembles.Merge Danger
Door: two-way
Blast Radius: Pages-only
Old
/deckd/app/…links still work via the 404 fallback. The client change is gated onVITE_DEMO_PAGE, which only the Pages build sets.