From 61dbb31d1d10d34a4c8f4738366ce15eeb67c512 Mon Sep 17 00:00:00 2001 From: Kieran Zhang Date: Thu, 11 Jun 2026 23:38:43 +0800 Subject: [PATCH 1/5] feat(website): app-true showcase, overlay capsule, and sticky feature scroller - Add a high-fidelity Home dashboard recreation that peeks up from the hero (traffic lights, sidebar, highlighted stat cards, donut + hours charts, history) so the empty fold invites scrolling - Replace the SVG demo with a 1:1 overlay capsule (waveform envelope mirrors the app's WaveformView) driven by a shared dictation timeline - Convert the auto-switching scenes into a sticky-sidebar feature scroller (AI Rewrite / In context / Always ready) with scroll-spy highlighting - Float the overlay capsule below the window edge; nav top-aligns with each section heading - Fix: .page uses overflow-x: clip (not hidden) so position: sticky works; .features-flow gets min-width: 0 to stop scenes overflowing on mobile - Remove the old DemoCard and dead demo/capability styles --- website/src/components/AppWindow.tsx | 35 + website/src/components/DashboardWindow.tsx | 322 +++++ website/src/components/DemoCard.tsx | 93 -- website/src/components/Features.tsx | 302 ++++ website/src/components/LandingPage.tsx | 36 +- website/src/components/OverlayCapsule.tsx | 129 ++ website/src/components/content.ts | 52 - website/src/components/useDictationScene.ts | 101 ++ website/src/styles.css | 1382 +++++++++++++++---- 9 files changed, 2008 insertions(+), 444 deletions(-) create mode 100644 website/src/components/AppWindow.tsx create mode 100644 website/src/components/DashboardWindow.tsx delete mode 100644 website/src/components/DemoCard.tsx create mode 100644 website/src/components/Features.tsx create mode 100644 website/src/components/OverlayCapsule.tsx create mode 100644 website/src/components/useDictationScene.ts diff --git a/website/src/components/AppWindow.tsx b/website/src/components/AppWindow.tsx new file mode 100644 index 0000000..0290075 --- /dev/null +++ b/website/src/components/AppWindow.tsx @@ -0,0 +1,35 @@ +import type { ReactNode } from 'react' + +// Reusable macOS window chrome. Traffic lights + optional toolbar, then a body +// slot. Used both for the Voily dashboard recreation and the target-app scenes. + +type AppWindowProps = { + children: ReactNode + className?: string + toolbar?: ReactNode + flush?: boolean +} + +export function TrafficLights() { + return ( +