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): a 404 in the structured data, a literal colour, a locked CTA

Etienne Lescot408259f4e2ec
diff --git a/website/src/lib/structured-data.ts b/website/src/lib/structured-data.ts
index f7a19508b..e9136d22d 100644
--- a/website/src/lib/structured-data.ts
+++ b/website/src/lib/structured-data.ts
@@ -34,12 +34,18 @@ const SOFTWARE_APPLICATION_LD = {
downloadUrl: `${SITE_URL}/download/`,
installUrl: "https://github.com/getopenscreen/openscreen/releases",
softwareHelp: `${SITE_URL}/docs/intro/`,
- // The establishing plate on the landing page — one real frame of the running
- // editor. Deliberately no VideoObject alongside it: the walkthrough's clips
- // are silent five-second fragments with no standalone playback page, which is
- // not what that rich result describes, and declaring a video the page never
- // presents as one is a manual-action risk.
- screenshot: `${SITE_URL}/img/walkthrough/editor-1560.jpg`,
+ // No `screenshot`. It pointed at the establishing plate the landing page used
+ // to open with; that page is the scroll recreation now and the plate went with
+ // it, so the URL had been resolving to a 404. Nothing shipped is an honest
+ // replacement — og-image.png is a wordmark card, and the recreation is a
+ // recreation rather than a frame of the running editor — so restoring the
+ // property means shipping a real screenshot, not repointing this at the
+ // nearest available picture.
+ //
+ // Deliberately no VideoObject either: the walkthrough's clips are silent
+ // five-second fragments with no standalone playback page, which is not what
+ // that rich result describes, and declaring a video the page never presents
+ // as one is a manual-action risk.
license: "https://github.com/getopenscreen/openscreen/blob/main/LICENSE",
isAccessibleForFree: true,
// `offers` at price 0 is what lets a result carry a "Free" annotation;
diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.css
index a1645a295..c16397c9a 100644
--- a/website/src/pages/index.module.css
+++ b/website/src/pages/index.module.css
@@ -109,7 +109,8 @@
rgba(16,185,129,.25) was the *dark* accent, and it shipped unchanged into the
light theme. Foreground is --os-bg, not #fff — white on the light-theme accent
measures 3.76:1, which is a Level AA failure on the page's main call to
- action. Against --os-bg the same button is above 7:1 in both themes. */
+ action. Against --os-bg the same button measures 7.81:1 dark and 4.96:1 light:
+ AA in both, AAA in one. */
.primaryCta {
background: var(--os-accent);
color: var(--os-bg);
@@ -388,7 +389,12 @@
padding: 3px 10px;
border-radius: 999px;
background: var(--os-accent);
- color: #04110b;
+ /* --os-bg, not a literal near-black: the accent swaps under
+ [data-theme="light"] and a fixed foreground therefore sits on two
+ different greens. #04110b measured 7.59:1 on the dark accent and 3.75:1 on
+ the light one — an AA failure at this size. Against --os-bg the same label
+ is 7.81:1 and 4.96:1, which is the CTA's solution and the CTA's reason. */
+ color: var(--os-bg);
font-family: var(--ifm-font-family-monospace);
font-size: 10.5px;
font-weight: 700;
diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx
index a72d08a38..953ebe766 100644
--- a/website/src/pages/index.tsx
+++ b/website/src/pages/index.tsx
@@ -40,9 +40,14 @@ export default function Home() {
</Heading>
<p className={styles.tagline}>Native capture, local AI, no paywall.</p>
<div className={styles.actions}>
+ {/* Not "Download for macOS". This page's own trio says Windows, macOS
+ and Linux, and /download offers a .dmg, an .exe, a .deb, an .rpm, a
+ .pacman, an AppImage and a Nix flake. The label is static, so it was
+ not adapting to the reader either: it simply told two of the three
+ platforms that the page's main action was not for them. */}
<Link className={styles.primaryCta} to="/download">
<Download size={16} />
- Download for macOS
+ Download
</Link>
<Link className={styles.secondaryCta} to="/docs/intro">
Read the docs