Skip to content

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

fix(website): the hero says who it is, and the recorded pointer points

Etienne Lescotfda52008c409
diff --git a/website/src/components/Recreation/scene.ts b/website/src/components/Recreation/scene.ts
index 3e882ba70..7b3e90e7b 100644
--- a/website/src/components/Recreation/scene.ts
+++ b/website/src/components/Recreation/scene.ts
@@ -357,8 +357,21 @@ const SHOT_PATH: number[][] = [
[15.5, 44, 62],
[15.9, 50, 61.5],
[16.9, 50, 61.5],
- [17.4, 34.8, 27.6],
- [18.3, 34.8, 27.6],
+ /* (40, 36) and not the design's (34.8, 27.6): that point is on the window's
+ title bar in the design's frame and misses ours by six per cent of the
+ height, because the frame is inset by OUR padding — read off the vendored
+ document — and not by the design's. Measured against the rendered window,
+ which spans 36.0-64.0 across and 33.6-73.2 down, with the bar the 5.2%
+ slice at its top.
+
+ These are still coordinates, which is the same shape of fragility that put
+ the reader's pointer 151px off its targets and swept the wrong word: the
+ robust version aims at the window the way the pointer aims at `[data-t]`.
+ That is a refactor rather than a patch — the shot path is evaluated in the
+ pure score, which has no DOM to measure — and `data-shot="see"` in the
+ markup is the unbuilt half of it. */
+ [17.4, 40, 36],
+ [18.3, 40, 36],
[19.2, 35, 68],
[20.2, 58, 58],
[21.3, 34.5, 49],
diff --git a/website/src/components/Recreation/styles.module.css b/website/src/components/Recreation/styles.module.css
index 578512250..2728aa9b4 100644
--- a/website/src/components/Recreation/styles.module.css
+++ b/website/src/components/Recreation/styles.module.css
@@ -1301,7 +1301,14 @@
width: calc(3.4% + var(--size-u) * 6%);
aspect-ratio: 58 / 73;
background: var(--shot-cursor) left top / contain no-repeat;
- transform: translate(calc(var(--shot-x) * 1cqw), calc(var(--shot-y) * 1cqh))
+ /* The tip is what points, so the tip is what goes to the coordinate — the
+ leftmost translate pulls the sprite back by its own hotspot, in percentages
+ of its own box, which is the only way to say it here: this sprite's size
+ follows the cursor-size slider, so the fixed pixel margin .uiCursor uses
+ would only be right at one setting. Leftmost so it is applied outside the
+ click bounce and does not wobble with it. */
+ transform: translate(calc(var(--shot-hx) * -1%), calc(var(--shot-hy) * -1%))
+ translate(calc(var(--shot-x) * 1cqw), calc(var(--shot-y) * 1cqh))
scale(var(--shot-bounce));
transform-origin: calc(var(--shot-hx) * 1%) calc(var(--shot-hy) * 1%);
filter: drop-shadow(0 0.3cqh 0.5cqh rgba(0, 0, 0, 0.4));
diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.css
index 7b3710e4d..67182e2ff 100644
--- a/website/src/pages/index.module.css
+++ b/website/src/pages/index.module.css
@@ -395,11 +395,6 @@
color: var(--os-fg-2);
}
-.titleAccent {
- display: block;
- color: var(--os-accent);
-}
-
.scrollHint {
margin: 28px 0 0;
font-size: 12.5px;
diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx
index 6ec1247f7..558f2c465 100644
--- a/website/src/pages/index.tsx
+++ b/website/src/pages/index.tsx
@@ -26,12 +26,14 @@ export default function Home() {
<span className={styles.badgeNew}>NEW</span>
<span className={styles.badgeText}>Export faster</span>
</p>
- {/* The descriptor sits inside the h1 rather than in the paragraph below
- it: "Screen Recording / Reimagined" alone gives the page's only h1 no
- subject, and a search result needs one. */}
+ {/* The product's name, not a claim about it. The design opens on
+ "Screen Recording / Reimagined", which is the one line on a page
+ that spends its whole length proving specific things — the editor
+ runs live, the model is 264 MB, every edit is undoable — that
+ proves nothing. It also left the strongest on-page signal there is
+ without the word people search once they have heard of us. */}
<Heading as="h1" className={styles.title}>
- Screen Recording
- <span className={styles.titleAccent}>Reimagined</span>
+ OpenScreen
<span className={styles.titleTagline}>
A free, open-source screen recorder and video editor
</span>