Repository navigation
Scrolling, interactive product demo on the landing page - #81
Merged
Merged
Conversation
The hero and story now play the real app inside a phone frame as visitors scroll: notes, reminders, a swipe and a chat with Tilly. Visitors can take over the phone at any time, and the demo ends with a call to start Tilly or ask Carl's Syntwin. written with claude-opus-5-5 in Claude Code
Also set the phone page's language to the demo's. written with claude-opus-5-5 in Claude Code
written with claude-opus-5-5 in Claude Code
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Why
The landing page showed static screenshots. Visitors couldn't see how Tilly feels to use, and the screenshots didn't match the app anymore.
What
The hero and the story below it now play the real app inside a phone frame as you scroll:
Visitors can take over the phone at any point. Clicks and typing go to the real UI, backed by an in-memory Jazz account with five demo friends. The script pauses until the next scene. On touch screens, a "Tap to try it" button hands over the phone so page swipes still scroll. The demo ends with "Your turn": keep clicking, start Tilly, or ask Carl's Syntwin. That replaces the separate Syntwin card.
Also in this PR:
allowedHostsincludes theworktailnet hosts in dev.Decisions
/demo/phonethat renders the app's own screens and components. The landing page sends it the scroll position overpostMessage. A pure function,demoFrameAt(locale, scene, progress), decides what each frame shows, and it is unit-tested.SwipeableListItemgains an optionalSwipePreviewcontext, so the demo can hold a row swiped open. Without a provider, behaviour is unchanged.useHasPlusAccessnow reads a context. The app provides it from Clerk inmain.tsx; the demo provides its own value.Weight
FeaturesWithProductScreenshot,PhoneMedia,SyntwinCTA, and four landing page screenshots the demo replaced.en-chat/en-peopleare kept for the README.Verification
bun checkpasses, and all 432 vitest tests pass.lang="en"in German.Known risks
tan(atan2())formula to a script after a Safari report, so check it on a Mac and an iPad.written with claude-opus-5-5 in Claude Code