feat: landing showcase demo section#4
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds a dark 'Live demo' spotlight band to the landing page showing the same signed .wvb (a Hacker News reader) running on Electron, Tauri, iOS and Android. - New Showcase component (2-up desktop+phone on >=lg, single phone below) - WebM (VP9) primary + H.264 mp4 fallback + poster; respects prefers-reduced-motion - Adds Demo nav anchor; refreshes landing copy/data and docs alongside Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
webview-bundle-website | ac11e96 | Commit Preview URL Branch Preview URL |
Jun 19 2026, 02:30 PM |
On screens below lg, a simple segmented tab lets viewers switch the demo between the single-phone (mobile) cut and the 2-up desktop cut. lg+ is unchanged (always 2-up). Playback follows the active tab and still honors prefers-reduced-motion. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Desktop tab below lg now plays a dedicated desktop-only cut (one window, no phone) so the UI is large/legible on mobile, instead of the wide 2-up. lg+ still uses the 2-up. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
1 issue found across 27 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="src/layouts/home/components/Showcase.tsx">
<violation number="1" location="src/layouts/home/components/Showcase.tsx:21">
P2: Video playback state is not updated on viewport breakpoint changes. Crossing `< lg`/`lg+` can show a paused video and keep a hidden one running.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
|
|
||
| // Play the currently visible video; pause the hidden one. Honors prefers-reduced-motion | ||
| // (everything stays paused on its poster). Re-runs whenever the tab toggles. | ||
| useEffect(() => { |
There was a problem hiding this comment.
P2: Video playback state is not updated on viewport breakpoint changes. Crossing < lg/lg+ can show a paused video and keep a hidden one running.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At src/layouts/home/components/Showcase.tsx, line 21:
<comment>Video playback state is not updated on viewport breakpoint changes. Crossing `< lg`/`lg+` can show a paused video and keep a hidden one running.</comment>
<file context>
@@ -0,0 +1,151 @@
+
+ // Play the currently visible video; pause the hidden one. Honors prefers-reduced-motion
+ // (everything stays paused on its poster). Re-runs whenever the tab toggles.
+ useEffect(() => {
+ const reduce = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
+ framesRef.current?.querySelectorAll('video').forEach(video => {
</file context>
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
Adds a multi-platform "Live demo" section to the landing page — a dark spotlight band showing the same signed `.wvb` (a Hacker News reader) running on Electron, Tauri, iOS, and Android.
It also bundles a content refresh (docs + landing copy/data) that was already in the working tree.
Showcase section
Content refresh (pre-existing working-tree changes)
Verification
🤖 Generated with Claude Code
Summary by cubic
Adds a “Live demo” showcase to the landing page that plays the same signed
.wvbapp on Electron, Tauri, iOS, and Android, and refreshes docs/landing copy to match current APIs and platform status. On small screens the demo has a Mobile/Desktop toggle; the Desktop tab uses a single desktop-only cut; playback follows the active view and honors reduced motion.New Features
Showcasesection after the Hero with a dark spotlight band and#demoanchor; navbar adds “Demo”.lg+; belowlg, a Mobile/Desktop toggle (defaults to Mobile) with a dedicated desktop‑only cut for the Desktop tab.prefers-reduced-motion.public/showcase/*; landing copy updates (Hero, CTA, Platforms “planned” labels, diagram caption); docs theme aligned with the landing.Migration
pack.outFile→pack.outFileName.wvb uploadpacks by default. Use--no-packto upload an existing file or--file <path>.--no-write(was--skip-write).download(...)+install(...)(wasdownloadUpdate(...)).wvb-tauri(updater_get_update,updater_download,updater_install, etc.).fetchBundle(...)(wasfetch(...)).builtin.target; movedownload.concurrencytotarget.download.concurrency.Written for commit ac11e96. Summary will update on new commits.