feat(website): expand the homepage live demo into a modal on launch#650
Open
blove wants to merge 5 commits into
Open
feat(website): expand the homepage live demo into a modal on launch#650blove wants to merge 5 commits into
blove wants to merge 5 commits into
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Clicking "Launch live demo" on the homepage now opens the live demo in a large, accessible modal/lightbox instead of swapping a cramped ~720px inline iframe — so visitors get a genuinely usable chat surface.
DemoModal(new): backdrop + browser-frame chrome with the LangGraph | AG-UI tabs inside (switch runtime while open), faux URL, ×; a lazy<iframe>body at a perfect 16:10; footer with close hint + "Open the full demo ↗".width = min(96vw, 90vh×16/10)→ fills the viewport while holding 16:10; backdrop absorbs the rest. Mobile (<640px): full-screen sheet.prefers-reduced-motion. Close: × / Esc / backdrop-click; focus returns to the launch button; body scroll-locked while open.DemoShowcase: the inline frame stays a perpetual looping video;launchedset →modalOpenboolean; launch fires analytics (home_demo_launch_*).apps/website/e2e/demo-modal.spec.ts— launch→dialog→iframe, Esc closes + focus returns, in-modal tab-switch updates the runtime. Passed locally 2/2.Spec:
docs/superpowers/specs/2026-06-07-demo-modal-design.md· Plan:docs/superpowers/plans/2026-06-07-demo-modal.mdTest Plan
website(lint + build) andwebsite — e2egreen.🤖 Generated with Claude Code