Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
feat(website): finish the page the recording is recording
Etienne Lescotaef732043297
diff --git a/website/src/components/Recreation/index.tsx b/website/src/components/Recreation/index.tsxindex ef382535d..4dab80218 100644--- a/website/src/components/Recreation/index.tsx+++ b/website/src/components/Recreation/index.tsx@@ -436,10 +436,81 @@ export default function Recreation() {/><span className={styles.pageChip}>Live soil data</span></div>+ {/* The social proof strip and the three feature cards, as the+ design draws them. They were three empty boxes until now; the+ take scrolls the page far enough to show them, so they were+ the one part of the recorded window that read as unfinished. */}+ <div className={styles.pageProof}>+ <span className={styles.pageFaces}>+ <span data-face="a">LB</span>+ <span data-face="b">AK</span>+ <span data-face="c">JM</span>+ </span>+ <span>+ Loved by <strong>12,400</strong> gardeners+ </span>+ <span>+ <strong>38</strong> countries+ </span>+ <span>+ <strong>4.9</strong> avg rating+ </span>+ </div>+<div className={styles.pageCards}>- <span />- <span />- <span />+ <article className={styles.pageCard}>+ <div className={`${styles.pageCardArt} ${styles.artDots}`}>+ {[+ [1, 1, 0, 1, 0, 0, 1],+ [0, 1, 0, 0, 1, 0, 0],+ ].map((row, r) => (+ // biome-ignore lint/suspicious/noArrayIndexKey: a fixed drawing+ <span key={r}>+ {row.map((on, i) => (+ // biome-ignore lint/suspicious/noArrayIndexKey: a fixed drawing+ <span key={i} data-on={on ? "" : undefined} />+ ))}+ </span>+ ))}+ </div>+ <div className={styles.pageCardBody}>+ <div>Auto schedules</div>+ <div>Every pot on its own rhythm.</div>+ </div>+ </article>++ <article className={styles.pageCard}>+ <div className={`${styles.pageCardArt} ${styles.artBars}`}>+ {[+ [34, 0.55],+ [58, 0.7],+ [44, 0.6],+ [62, 0.75],+ ].map(([h, o]) => (+ <span key={h} style={{ height: `${h}%`, opacity: o }} />+ ))}+ </div>+ <div className={styles.pageCardBody}>+ <div>Soil signals</div>+ <div>Moisture, light and heat, live.</div>+ </div>+ </article>++ <article className={styles.pageCard}>+ <div className={`${styles.pageCardArt} ${styles.artLines}`}>+ {[+ [82, 0.5],+ [64, 0.35],+ [74, 0.45],+ ].map(([w, o]) => (+ <span key={w} style={{ width: `${w}%`, opacity: o }} />+ ))}+ </div>+ <div className={styles.pageCardBody}>+ <div>Harvest notes</div>+ <div>A journal that writes itself.</div>+ </div>+ </article></div></div>diff --git a/website/src/components/Recreation/styles.module.css b/website/src/components/Recreation/styles.module.cssindex b1f22cc89..f4db37e61 100644--- a/website/src/components/Recreation/styles.module.css+++ b/website/src/components/Recreation/styles.module.css@@ -968,18 +968,141 @@font-weight: 600;}+/* The recorded page is a light document whatever the site's theme is doing —+ it is a picture of somebody else's website — so every colour below is a+ literal, exactly as the design has it. */++.pageProof {+ display: flex;+ align-items: center;+ gap: 3.2cqw;+ padding: 2.4cqw 3cqw 0.4cqw;+ font-size: 1.15cqw;+ color: #667085;+}++.pageProof strong {+ color: #101828;+}++.pageFaces {+ display: flex;+ align-items: center;+}++.pageFaces span {+ width: 2.7cqw;+ height: 2.7cqw;+ border-radius: 50%;+ border: 0.22cqw solid #fff;+ display: grid;+ place-items: center;+ font-size: 0.95cqw;+ font-weight: 700;+ color: #fff;+}++.pageFaces span + span {+ margin-left: -0.9cqw;+}++.pageFaces span[data-face="a"] {+ background: #0e7a5f;+}++.pageFaces span[data-face="b"] {+ background: #065f46;+}++.pageFaces span[data-face="c"] {+ background: #9a3412;+}+.pageCards {display: flex;gap: 2cqw;- padding: 2.4cqw 3cqw 3cqw;+ padding: 2cqw 3cqw 3cqw;}-.pageCards span {+.pageCard {flex: 1;- height: 14cqh;- border-radius: 1cqw;border: 1px solid #eceff3;- background: linear-gradient(135deg, #f8fafc, #eef2f7);+ border-radius: 1cqw;+ overflow: hidden;+}++.pageCardArt {+ height: 11cqh;+ display: flex;+}++.pageCardBody {+ padding: 1.3cqw;+}++.pageCardBody div:first-child {+ font-size: 1.3cqw;+ font-weight: 650;+ color: #101828;+}++.pageCardBody div + div {+ margin-top: 0.6cqw;+ font-size: 1.1cqw;+ color: #667085;+}++/* ── the three thumbnails ── */++.artDots {+ flex-direction: column;+ justify-content: center;+ gap: 0.8cqw;+ padding: 0 1.6cqw;+ background: linear-gradient(135deg, #ecfdf5, #d1fae5);+}++.artDots > span {+ display: flex;+ gap: 0.6cqw;+}++.artDots > span > span {+ width: 1cqw;+ height: 1cqw;+ border-radius: 50%;+ background: rgba(6, 95, 70, 0.25);+}++.artDots > span > span[data-on] {+ background: #10b981;+}++.artBars {+ align-items: flex-end;+ gap: 0.7cqw;+ padding: 1.2cqw 1.6cqw;+ background: linear-gradient(135deg, #eff6ff, #dbeafe);+}++.artBars > span {+ flex: 1;+ border-radius: 0.3cqw 0.3cqw 0 0;+ background: #3b82f6;+}++.artLines {+ flex-direction: column;+ justify-content: center;+ gap: 0.9cqw;+ padding: 0 1.6cqw;+ background: linear-gradient(135deg, #fefce8, #fef9c3);+}++.artLines > span {+ height: 0.8cqw;+ border-radius: 0.4cqw;+ background: #a16207;}/* The app the recording opens, half-way through the take. */