Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

perf(website): stop shipping pixels and blur nobody sees

Etienne Lescot0c02b8e3c776
diff --git a/website/src/components/Recreation/index.tsx b/website/src/components/Recreation/index.tsx
index 73ac0b78f..cc57a5f63 100644
--- a/website/src/components/Recreation/index.tsx
+++ b/website/src/components/Recreation/index.tsx
@@ -16,7 +16,8 @@
* each with the hotspot the renderer actually uses.
*
* The session is staged: the transcript, the trims, the zooms and the speed
- * ramp are a composed demonstration, not a recording. The figcaption says so.
+ * ramp are a composed demonstration, not a recording. `generated.ts` carries the
+ * provenance of every string it draws.
*
* ── ONE CLOCK, TWO TIMEBASES ─────────────────────────────────────────────────
*
@@ -158,390 +159,381 @@ export default function Recreation() {
const placed = trims(0);
return (
- <>
- <section className={styles.band} ref={band} data-recreation="">
- <div className={styles.stage} ref={root}>
- {/* ═══ THE CAPTIONS ═══ The section's real copy. Above the gate they
- share one box and take turns; below it they stack. */}
- <div className={styles.captions}>
- {BEATS.map((b) => (
- <article key={b.id} className={styles.cap} data-cap={b.id}>
- <p className={styles.capKicker}>{b.kicker}</p>
- <h3 className={styles.capTitle}>{b.title}</h3>
- <p className={styles.capSub}>{b.sub}</p>
- </article>
- ))}
- </div>
-
- <div className={styles.scene} aria-hidden="true">
- {/* ═══ THE INSPECTOR ═══ */}
- <div className={styles.panel}>
- <header className={styles.panelHead}>
- <h4 className={styles.panelTitle} data-pane="style">
- {PANELS.background.title}
- </h4>
- <h4 className={styles.panelTitle} data-pane="effects">
- {PANELS.effects.title}
- </h4>
- <h4 className={styles.panelTitle} data-pane="cursor">
- {PANELS.cursor.title}
- </h4>
- <h4 className={styles.panelTitle} data-pane="transcript">
- Current transcription
- </h4>
- </header>
-
- <div className={styles.panelBody}>
- {/* ── Background ── */}
- <div className={styles.pane} data-pane="style">
- <span className={styles.tabs}>
- {PANELS.background.tabs.map((tab, i) => (
- <span key={tab} className={i === 0 ? styles.tabOn : styles.tab}>
- {tab}
- </span>
- ))}
- </span>
- <span className={styles.upload}>{PANELS.background.uploadCustom}</span>
- <span className={styles.swatches}>
- {WALLPAPERS.slice(0, WALLPAPER_COUNT_SHOWN).map((n, i) => (
- <span
- key={n}
- className={styles.swatch}
- data-t={i < 4 ? `th-${i}` : undefined}
- style={{ ["--i" as string]: i }}
- >
- <img
- src={`/img/walkthrough/wp-${String(n).padStart(2, "0")}.jpg`}
- alt=""
- width={240}
- height={240}
- loading="lazy"
- decoding="async"
- />
- </span>
- ))}
- </span>
- </div>
+ <section className={styles.band} ref={band} data-recreation="">
+ <div className={styles.stage} ref={root}>
+ {/* ═══ THE CAPTIONS ═══ The section's real copy. Above the gate they
+ share one box and take turns; below it they stack. */}
+ <div className={styles.captions}>
+ {BEATS.map((b) => (
+ <article key={b.id} className={styles.cap} data-cap={b.id}>
+ <p className={styles.capKicker}>{b.kicker}</p>
+ <h3 className={styles.capTitle}>{b.title}</h3>
+ <p className={styles.capSub}>{b.sub}</p>
+ </article>
+ ))}
+ </div>
- {/* ── Video Effects ── */}
- <div className={styles.pane} data-pane="effects">
- <span className={`${styles.control} ${styles.controlLive}`}>
- <span className={styles.controlHead}>
- <span className={styles.controlLabel}>{CONTROLS.padding.label}</span>
- <span className={styles.controlValue} ref={padValue}>
- {CONTROLS.padding.display}
- </span>
+ <div className={styles.scene} aria-hidden="true">
+ {/* ═══ THE INSPECTOR ═══ */}
+ <div className={styles.panel}>
+ <header className={styles.panelHead}>
+ <h4 className={styles.panelTitle} data-pane="style">
+ {PANELS.background.title}
+ </h4>
+ <h4 className={styles.panelTitle} data-pane="effects">
+ {PANELS.effects.title}
+ </h4>
+ <h4 className={styles.panelTitle} data-pane="cursor">
+ {PANELS.cursor.title}
+ </h4>
+ <h4 className={styles.panelTitle} data-pane="transcript">
+ Current transcription
+ </h4>
+ </header>
+
+ <div className={styles.panelBody}>
+ {/* ── Background ── */}
+ <div className={styles.pane} data-pane="style">
+ <span className={styles.tabs}>
+ {PANELS.background.tabs.map((tab, i) => (
+ <span key={tab} className={i === 0 ? styles.tabOn : styles.tab}>
+ {tab}
</span>
- <span className={styles.track} data-t="padtrk">
- <span className={`${styles.trackFill} ${styles.trackFillPad}`} />
- <span className={`${styles.knob} ${styles.knobPad}`} />
- </span>
- </span>
- <Toggle label={CONTROLS.blurBg.label} on={CONTROLS.blurBg.on} />
- <Slider
- label={CONTROLS.motionBlur.label}
- display={CONTROLS.motionBlur.display}
- pct={pctOf(CONTROLS.motionBlur)}
- />
- <Slider
- label={CONTROLS.shadow.label}
- display={CONTROLS.shadow.display}
- pct={pctOf(CONTROLS.shadow)}
- />
- <Slider
- label={CONTROLS.roundness.label}
- display={CONTROLS.roundness.display}
- pct={pctOf(CONTROLS.roundness)}
- />
- </div>
-
- {/* ── Cursor ── */}
- <div className={styles.pane} data-pane="cursor">
- <Toggle label={CONTROLS.cursorShow.label} on={CONTROLS.cursorShow.on} />
- <Toggle label={CONTROLS.clipToBounds.label} on={CONTROLS.clipToBounds.on} />
- <span className={styles.controlLabel}>{CONTROLS.cursorTheme.label}</span>
- <span className={styles.cursorStyles}>
- {CURSORS.themes.map((theme, i) => (
- <span
- key={theme.id}
- className={styles.cursorStyle}
- data-t={`cur-${i}`}
- data-i={i}
- style={{ backgroundImage: `url(${theme.src})` }}
+ ))}
+ </span>
+ <span className={styles.upload}>{PANELS.background.uploadCustom}</span>
+ <span className={styles.swatches}>
+ {WALLPAPERS.slice(0, WALLPAPER_COUNT_SHOWN).map((n, i) => (
+ <span
+ key={n}
+ className={styles.swatch}
+ data-t={i < 4 ? `th-${i}` : undefined}
+ style={{ ["--i" as string]: i }}
+ >
+ <img
+ src={`/img/walkthrough/wp-${String(n).padStart(2, "0")}.jpg`}
+ alt=""
+ width={240}
+ height={240}
+ loading="lazy"
+ decoding="async"
/>
- ))}
- </span>
- <span className={`${styles.control} ${styles.controlLive}`}>
- <span className={styles.controlHead}>
- <span className={styles.controlLabel}>{CONTROLS.cursorSize.label}</span>
- <span className={styles.controlValue} ref={sizeValue}>
- {CONTROLS.cursorSize.display}
- </span>
</span>
- <span className={styles.track} data-t="sztrk">
- <span className={`${styles.trackFill} ${styles.trackFillSize}`} />
- <span className={`${styles.knob} ${styles.knobSize}`} />
+ ))}
+ </span>
+ </div>
+
+ {/* ── Video Effects ── */}
+ <div className={styles.pane} data-pane="effects">
+ <span className={`${styles.control} ${styles.controlLive}`}>
+ <span className={styles.controlHead}>
+ <span className={styles.controlLabel}>{CONTROLS.padding.label}</span>
+ <span className={styles.controlValue} ref={padValue}>
+ {CONTROLS.padding.display}
</span>
</span>
- <Slider
- label={CONTROLS.smoothing.label}
- display={CONTROLS.smoothing.display}
- pct={pctOf(CONTROLS.smoothing)}
- />
- </div>
+ <span className={styles.track} data-t="padtrk">
+ <span className={`${styles.trackFill} ${styles.trackFillPad}`} />
+ <span className={`${styles.knob} ${styles.knobPad}`} />
+ </span>
+ </span>
+ <Toggle label={CONTROLS.blurBg.label} on={CONTROLS.blurBg.on} />
+ <Slider
+ label={CONTROLS.motionBlur.label}
+ display={CONTROLS.motionBlur.display}
+ pct={pctOf(CONTROLS.motionBlur)}
+ />
+ <Slider
+ label={CONTROLS.shadow.label}
+ display={CONTROLS.shadow.display}
+ pct={pctOf(CONTROLS.shadow)}
+ />
+ <Slider
+ label={CONTROLS.roundness.label}
+ display={CONTROLS.roundness.display}
+ pct={pctOf(CONTROLS.roundness)}
+ />
+ </div>
- {/* ── Current transcription ── */}
- <div className={styles.pane} data-pane="transcript">
- <span className={styles.flowMask}>
- <p className={styles.flow} ref={flow}>
- {TOKENS.map((tok, i) =>
- tok.silence ? (
- <span
- key={`${tok.text}-${i}`}
- className={styles.sil}
- data-w={i}
- data-t={`tok-${i}`}
- >
- {tok.text}
- </span>
- ) : (
- <span
- key={`${tok.text}-${i}`}
- className={styles.word}
- data-w={i}
- data-t={CUT_INDEX.includes(i) ? `tok-${i}` : undefined}
- >
- {tok.text}{" "}
- </span>
- ),
- )}
- </p>
+ {/* ── Cursor ── */}
+ <div className={styles.pane} data-pane="cursor">
+ <Toggle label={CONTROLS.cursorShow.label} on={CONTROLS.cursorShow.on} />
+ <Toggle label={CONTROLS.clipToBounds.label} on={CONTROLS.clipToBounds.on} />
+ <span className={styles.controlLabel}>{CONTROLS.cursorTheme.label}</span>
+ <span className={styles.cursorStyles}>
+ {CURSORS.themes.map((theme, i) => (
+ <span
+ key={theme.id}
+ className={styles.cursorStyle}
+ data-t={`cur-${i}`}
+ data-i={i}
+ style={{ backgroundImage: `url(${theme.src})` }}
+ />
+ ))}
+ </span>
+ <span className={`${styles.control} ${styles.controlLive}`}>
+ <span className={styles.controlHead}>
+ <span className={styles.controlLabel}>{CONTROLS.cursorSize.label}</span>
+ <span className={styles.controlValue} ref={sizeValue}>
+ {CONTROLS.cursorSize.display}
+ </span>
</span>
- </div>
+ <span className={styles.track} data-t="sztrk">
+ <span className={`${styles.trackFill} ${styles.trackFillSize}`} />
+ <span className={`${styles.knob} ${styles.knobSize}`} />
+ </span>
+ </span>
+ <Slider
+ label={CONTROLS.smoothing.label}
+ display={CONTROLS.smoothing.display}
+ pct={pctOf(CONTROLS.smoothing)}
+ />
</div>
- </div>
- {/* ═══ THE TOOL PALETTE ═══ six tools, the app's own bar */}
- <div className={styles.palette}>
- <span className={`${styles.tool} ${styles.toolWand}`} data-t="wand">
- <Wand2 size={30} />
- </span>
- <span className={styles.tool}>
- <SplitSquareHorizontal size={30} />
- </span>
- <span className={styles.tool}>
- <Clock size={30} />
- </span>
- <span className={`${styles.tool} ${styles.toolComment}`} data-t="comment">
- <MessageSquare size={30} />
- </span>
- <span className={styles.tool}>
- <ZoomIn size={30} />
- </span>
- <span className={styles.tool}>
- <Crosshair size={30} />
- </span>
+ {/* ── Current transcription ── */}
+ <div className={styles.pane} data-pane="transcript">
+ <span className={styles.flowMask}>
+ <p className={styles.flow} ref={flow}>
+ {TOKENS.map((tok, i) =>
+ tok.silence ? (
+ <span
+ key={`${tok.text}-${i}`}
+ className={styles.sil}
+ data-w={i}
+ data-t={`tok-${i}`}
+ >
+ {tok.text}
+ </span>
+ ) : (
+ <span
+ key={`${tok.text}-${i}`}
+ className={styles.word}
+ data-w={i}
+ data-t={CUT_INDEX.includes(i) ? `tok-${i}` : undefined}
+ >
+ {tok.text}{" "}
+ </span>
+ ),
+ )}
+ </p>
+ </span>
+ </div>
</div>
+ </div>
- {/* ═══ THE COMPOSITE ═══ */}
- <div className={styles.card}>
- <div className={styles.cardClip}>
- <div className={styles.zoomer}>
- {CANVAS_BG.map((n) => (
- <img
- key={n}
- className={styles.bg}
- data-i={n - 1}
- src={`/img/walkthrough/canvas-bg-${n}.jpg`}
- alt=""
- loading={n === 1 ? undefined : "lazy"}
- decoding="async"
- />
- ))}
+ {/* ═══ THE TOOL PALETTE ═══ six tools, the app's own bar */}
+ <div className={styles.palette}>
+ <span className={`${styles.tool} ${styles.toolWand}`} data-t="wand">
+ <Wand2 size={30} />
+ </span>
+ <span className={styles.tool}>
+ <SplitSquareHorizontal size={30} />
+ </span>
+ <span className={styles.tool}>
+ <Clock size={30} />
+ </span>
+ <span className={`${styles.tool} ${styles.toolComment}`} data-t="comment">
+ <MessageSquare size={30} />
+ </span>
+ <span className={styles.tool}>
+ <ZoomIn size={30} />
+ </span>
+ <span className={styles.tool}>
+ <Crosshair size={30} />
+ </span>
+ </div>
- {/* The recorded window. `--frame-scale` is a uniform scale, not an
- inset: the page inside must not reflow while the padding moves. */}
- <div className={styles.frame}>
- <div className={styles.chrome}>
- <span className={styles.lights}>
+ {/* ═══ THE COMPOSITE ═══ */}
+ <div className={styles.card}>
+ <div className={styles.cardClip}>
+ <div className={styles.zoomer}>
+ {CANVAS_BG.map((n) => (
+ <img
+ key={n}
+ className={styles.bg}
+ data-i={n - 1}
+ src={`/img/walkthrough/canvas-bg-${n}.jpg`}
+ alt=""
+ loading={n === 1 ? undefined : "lazy"}
+ decoding="async"
+ />
+ ))}
+
+ {/* The recorded window. `--frame-scale` is a uniform scale, not an
+ inset: the page inside must not reflow while the padding moves. */}
+ <div className={styles.frame}>
+ <div className={styles.chrome}>
+ <span className={styles.lights}>
+ <span />
+ <span />
+ <span />
+ </span>
+ <span className={styles.omnibox}>fern.garden</span>
+ </div>
+ <div className={styles.viewport}>
+ <div className={styles.page}>
+ <div className={styles.pageNav}>
+ <span className={styles.pageMark} />
+ <span className={styles.pageBrand}>Fern</span>
+ <span className={styles.pageLinks}>
+ <span>Product</span>
+ <span>Pricing</span>
+ <span>Journal</span>
+ </span>
+ <span className={styles.pageSignIn}>Sign in</span>
+ </div>
+ <div className={styles.pageHero}>
+ <h3>Grow smarter, water less.</h3>
+ <p>
+ Fern watches your plants&apos; soil, light and weather — and waters only
+ when they ask for it.
+ </p>
+ <div className={styles.pageBtns}>
+ <span className={styles.pageCta}>Download the app</span>
+ <span className={styles.pageGhost} data-shot="see">
+ See how it works
+ </span>
+ </div>
+ </div>
+ <div className={styles.pageShot}>
+ <img
+ src="/img/walkthrough/canvas-poster.jpg"
+ alt=""
+ loading="lazy"
+ decoding="async"
+ />
+ <span className={styles.pageChip}>Live soil data</span>
+ </div>
+ <div className={styles.pageCards}>
<span />
<span />
<span />
- </span>
- <span className={styles.omnibox}>fern.garden</span>
- </div>
- <div className={styles.viewport}>
- <div className={styles.page}>
- <div className={styles.pageNav}>
- <span className={styles.pageMark} />
- <span className={styles.pageBrand}>Fern</span>
- <span className={styles.pageLinks}>
- <span>Product</span>
- <span>Pricing</span>
- <span>Journal</span>
- </span>
- <span className={styles.pageSignIn}>Sign in</span>
- </div>
- <div className={styles.pageHero}>
- <h3>Grow smarter, water less.</h3>
- <p>
- Fern watches your plants&apos; soil, light and weather — and waters only
- when they ask for it.
- </p>
- <div className={styles.pageBtns}>
- <span className={styles.pageCta}>Download the app</span>
- <span className={styles.pageGhost} data-shot="see">
- See how it works
- </span>
- </div>
- </div>
- <div className={styles.pageShot}>
- <img
- src="/img/walkthrough/canvas-poster.jpg"
- alt=""
- loading="lazy"
- decoding="async"
- />
- <span className={styles.pageChip}>Live soil data</span>
- </div>
- <div className={styles.pageCards}>
- <span />
- <span />
- <span />
- </div>
</div>
+ </div>
- {/* The app the recording opens, half-way through the take. */}
- <div className={styles.appWin}>
- <div className={styles.appSetup}>
- <span className={styles.appLine} />
- <span className={styles.appLine} />
- <span className={styles.appBtn}>Pair sensor</span>
- </div>
- <div className={styles.appDone}>
- <span className={styles.appTick} />
- <span className={styles.appOk}>Sensor paired</span>
- </div>
+ {/* The app the recording opens, half-way through the take. */}
+ <div className={styles.appWin}>
+ <div className={styles.appSetup}>
+ <span className={styles.appLine} />
+ <span className={styles.appLine} />
+ <span className={styles.appBtn}>Pair sensor</span>
+ </div>
+ <div className={styles.appDone}>
+ <span className={styles.appTick} />
+ <span className={styles.appOk}>Sensor paired</span>
</div>
</div>
</div>
-
- {/* The pointer inside the recording, from the captured telemetry —
- which is what the Cursor panel restyles. */}
- <span className={styles.shotCursor} />
</div>
+
+ {/* The pointer inside the recording, from the captured telemetry —
+ which is what the Cursor panel restyles. */}
+ <span className={styles.shotCursor} />
</div>
+ </div>
- <span className={styles.zoomBadge}>
- <span className={styles.zoomBadgeText}>{ZOOMS[1].label}</span>
- </span>
+ <span className={styles.zoomBadge}>
+ <span className={styles.zoomBadgeText}>{ZOOMS[1].label}</span>
+ </span>
+
+ {/* 16/10.5, not a circle. */}
+ <span className={styles.webcam}>
+ <video
+ ref={cam}
+ className={styles.webcamVideo}
+ muted
+ playsInline
+ preload="none"
+ tabIndex={-1}
+ disableRemotePlayback
+ />
+ </span>
+ </div>
- {/* 16/10.5, not a circle. */}
- <span className={styles.webcam}>
- <video
- ref={cam}
- className={styles.webcamVideo}
- muted
- playsInline
- preload="none"
- tabIndex={-1}
- disableRemotePlayback
- />
- </span>
- </div>
+ {/* ═══ THE FLOOR ═══ */}
+ <div className={styles.floor}>
+ <div className={styles.floorClip}>
+ {/* Static positions, one transform. */}
+ <div className={styles.rail}>
+ <div className={styles.ruler}>
+ {RULER.map((t) => {
+ const major = Math.round(t * 2) % 4 === 0;
+ return (
+ <span
+ key={t}
+ className={major ? styles.tickMajor : styles.tick}
+ style={{ left: x(t) }}
+ >
+ {major && t >= 0 ? fmt(t) : null}
+ </span>
+ );
+ })}
+ </div>
- {/* ═══ THE FLOOR ═══ */}
- <div className={styles.floor}>
- <div className={styles.floorClip}>
- {/* Static positions, one transform. */}
- <div className={styles.rail}>
- <div className={styles.ruler}>
- {RULER.map((t) => {
- const major = Math.round(t * 2) % 4 === 0;
- return (
- <span
- key={t}
- className={major ? styles.tickMajor : styles.tick}
- style={{ left: x(t) }}
- >
- {major && t >= 0 ? fmt(t) : null}
- </span>
- );
- })}
+ {CLIPS.map((c) => (
+ <div
+ key={c.from}
+ className={styles.clip}
+ style={{ left: x(c.from), width: x(c.to - c.from) }}
+ >
+ <span className={styles.clipWave} />
</div>
+ ))}
- {CLIPS.map((c) => (
- <div
- key={c.from}
- className={styles.clip}
- style={{ left: x(c.from), width: x(c.to - c.from) }}
- >
- <span className={styles.clipWave} />
- </div>
- ))}
+ {ZOOMS.map((z, i) => (
+ <span
+ key={z.label + z.from}
+ className={styles.pillZoom}
+ style={{
+ left: x(z.from),
+ width: x(z.to - z.from),
+ ["--i" as string]: i,
+ }}
+ >
+ {z.label}
+ </span>
+ ))}
- {ZOOMS.map((z, i) => (
- <span
- key={z.label + z.from}
- className={styles.pillZoom}
- style={{
- left: x(z.from),
- width: x(z.to - z.from),
- ["--i" as string]: i,
- }}
- >
- {z.label}
- </span>
- ))}
+ <span
+ className={styles.pillSpeed}
+ style={{ left: x(SPEED.from), width: x(SPEED.to - SPEED.from) }}
+ >
+ {SPEED.label}
+ </span>
+ {placed.map((c, i) => (
<span
- className={styles.pillSpeed}
- style={{ left: x(SPEED.from), width: x(SPEED.to - SPEED.from) }}
+ key={`${c.label}-${c.from}`}
+ className={styles.pillTrim}
+ data-trim=""
+ style={{
+ left: x(c.from),
+ width: x(c.to - c.from),
+ ["--i" as string]: i,
+ }}
>
- {SPEED.label}
+ {c.label}
</span>
-
- {placed.map((c, i) => (
- <span
- key={`${c.label}-${c.from}`}
- className={styles.pillTrim}
- data-trim=""
- style={{
- left: x(c.from),
- width: x(c.to - c.from),
- ["--i" as string]: i,
- }}
- >
- {c.label}
- </span>
- ))}
- </div>
+ ))}
</div>
+ </div>
- <span className={styles.playhead} style={{ left: `${PLAYHEAD * 100}%` }}>
- <span className={styles.playheadHead} />
- </span>
+ <span className={styles.playhead} style={{ left: `${PLAYHEAD * 100}%` }}>
+ <span className={styles.playheadHead} />
+ </span>
- <div className={styles.transport}>
- <span className={styles.time} ref={timeValue}>
- 0:00.0
- </span>
- <span className={styles.cuts} ref={cutsValue} />
- </div>
+ <div className={styles.transport}>
+ <span className={styles.time} ref={timeValue}>
+ 0:00.0
+ </span>
+ <span className={styles.cuts} ref={cutsValue} />
</div>
-
- {/* The reader's pointer, over the editor. */}
- <span className={styles.uiCursor} />
</div>
+
+ {/* The reader's pointer, over the editor. */}
+ <span className={styles.uiCursor} />
</div>
- </section>
-
- <p className={styles.figcaption}>
- The editor above is drawn live in your browser from the design tokens the application ships:
- the panel titles, every slider&apos;s range and units, the wallpapers and the ten cursor
- packs are read out of its source rather than typed here. The session it is editing is a
- staged demonstration, not a recording of one.
- </p>
- </>
+ </div>
+ </section>
);
}
diff --git a/website/src/components/Recreation/styles.module.css b/website/src/components/Recreation/styles.module.css
index beace558c..2e2af84ca 100644
--- a/website/src/components/Recreation/styles.module.css
+++ b/website/src/components/Recreation/styles.module.css
@@ -1289,16 +1289,6 @@
/* ═══ FALLBACKS ════════════════════════════════════════════════════════════ */
-.figcaption {
- max-width: 78ch;
- margin: 26px auto 0;
- padding: 0 24px;
- font-size: 12.5px;
- line-height: 1.6;
- color: var(--os-muted);
- text-align: center;
-}
-
@media (max-width: 900px) {
.band {
height: auto;
@@ -1310,8 +1300,7 @@
overflow: visible;
}
- .scene,
- .figcaption {
+ .scene {
display: none;
}
@@ -1347,8 +1336,7 @@
height: auto;
}
- .scene,
- .figcaption {
+ .scene {
display: none;
}
@@ -1369,8 +1357,7 @@
}
@media (forced-colors: active) {
- .scene,
- .figcaption {
+ .scene {
display: none;
}
}
diff --git a/website/src/components/Showcase/panels.tsx b/website/src/components/Showcase/panels.tsx
index 233d1b50c..9a63fe7ed 100644
--- a/website/src/components/Showcase/panels.tsx
+++ b/website/src/components/Showcase/panels.tsx
@@ -63,7 +63,7 @@ function RecordPanel() {
src="/img/walkthrough/canvas-bg-1.jpg"
alt=""
width={1200}
- height={1200}
+ height={675}
loading="lazy"
decoding="async"
/>
@@ -160,7 +160,7 @@ function CaptionsPanel() {
src="/img/walkthrough/canvas-bg-2.jpg"
alt=""
width={1200}
- height={1200}
+ height={675}
loading="lazy"
decoding="async"
/>
diff --git a/website/src/components/Showcase/styles.module.css b/website/src/components/Showcase/styles.module.css
index 8f611d7a6..c4e08396c 100644
--- a/website/src/components/Showcase/styles.module.css
+++ b/website/src/components/Showcase/styles.module.css
@@ -568,7 +568,14 @@
}
/* The plate the app burns into the render: literal in both themes, because it
- is drawn over video and not over the page. */
+ is drawn over video and not over the page.
+
+ No backdrop-filter, though the app's own plate has one. It always sits over
+ the bottom of the wallpaper — the drawn window stops at 70% and the plate
+ starts at 91% — so its backdrop is a smooth gradient, and blurring a smooth
+ gradient returns the same gradient. Measured: removing the blur moved 0.8%
+ of the panel's pixels by a mean of 0.13/255, all of them on the plate's own
+ edge. It bought a compositing layer and a backdrop read-back for that. */
.capLine {
position: absolute;
left: 50%;
@@ -578,7 +585,6 @@
padding: 10px 18px;
border-radius: 10px;
background: rgba(8, 10, 13, 0.72);
- backdrop-filter: blur(12px);
font-size: 18px;
font-weight: 700;
letter-spacing: -0.01em;
diff --git a/website/static/img/walkthrough/canvas-bg-1.jpg b/website/static/img/walkthrough/canvas-bg-1.jpg
index 7b19f1735..6c17fff37 100644
Binary files a/website/static/img/walkthrough/canvas-bg-1.jpg and b/website/static/img/walkthrough/canvas-bg-1.jpg differ
diff --git a/website/static/img/walkthrough/canvas-bg-2.jpg b/website/static/img/walkthrough/canvas-bg-2.jpg
index fe2fce2e2..eb34f7a39 100644
Binary files a/website/static/img/walkthrough/canvas-bg-2.jpg and b/website/static/img/walkthrough/canvas-bg-2.jpg differ
diff --git a/website/static/img/walkthrough/canvas-bg-3.jpg b/website/static/img/walkthrough/canvas-bg-3.jpg
index 8fb808407..6ca55d725 100644
Binary files a/website/static/img/walkthrough/canvas-bg-3.jpg and b/website/static/img/walkthrough/canvas-bg-3.jpg differ
diff --git a/website/static/img/walkthrough/wp-03.jpg b/website/static/img/walkthrough/wp-03.jpg
deleted file mode 100644
index 49d9191e5..000000000
Binary files a/website/static/img/walkthrough/wp-03.jpg and /dev/null differ
diff --git a/website/static/img/walkthrough/wp-14.jpg b/website/static/img/walkthrough/wp-14.jpg
deleted file mode 100644
index c4b8e0a6b..000000000
Binary files a/website/static/img/walkthrough/wp-14.jpg and /dev/null differ
diff --git a/website/static/img/walkthrough/wp-15.jpg b/website/static/img/walkthrough/wp-15.jpg
deleted file mode 100644
index ea949b1d9..000000000
Binary files a/website/static/img/walkthrough/wp-15.jpg and /dev/null differ
diff --git a/website/static/img/walkthrough/wp-16.jpg b/website/static/img/walkthrough/wp-16.jpg
deleted file mode 100644
index 7a3182474..000000000
Binary files a/website/static/img/walkthrough/wp-16.jpg and /dev/null differ
diff --git a/website/static/img/walkthrough/wp-17.jpg b/website/static/img/walkthrough/wp-17.jpg
deleted file mode 100644
index effce8113..000000000
Binary files a/website/static/img/walkthrough/wp-17.jpg and /dev/null differ
diff --git a/website/static/img/walkthrough/wp-18.jpg b/website/static/img/walkthrough/wp-18.jpg
deleted file mode 100644
index 5dfc629db..000000000
Binary files a/website/static/img/walkthrough/wp-18.jpg and /dev/null differ