From bf04bcd6c42cdae7585625071e4681d916394087 Mon Sep 17 00:00:00 2001 From: Eric Dahl Date: Thu, 3 Dec 2026 01:47:28 -0500 Subject: [PATCH 1/2] Website: structured data that says the page is about an app Add one schema.org SoftwareApplication block to the page. It restates what the page already says: the name, the address, the description, iOS, iPadOS and macOS, the three screenshots with their alt text, and Eric Dahl as the author. It states no price, offer, rating, review or download link, because the app has none yet, and tests/structuredData.test.tsx fails if one is added. No FAQPage: the page has no FAQ. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ --- website/README.md | 3 ++ website/app/page.tsx | 6 +++ website/lib/structuredData.ts | 34 +++++++++++++++++ website/tests/structuredData.test.tsx | 54 +++++++++++++++++++++++++++ 4 files changed, 97 insertions(+) create mode 100644 website/lib/structuredData.ts create mode 100644 website/tests/structuredData.test.tsx diff --git a/website/README.md b/website/README.md index b5fb834..560967d 100644 --- a/website/README.md +++ b/website/README.md @@ -40,6 +40,8 @@ changes. - `tests/metadata.test.ts` checks the title and description lengths, the canonical address, and that the share image is a 1200 x 630 PNG on the Open Graph card and a large Twitter card. - `tests/analytics.test.ts` checks the PostHog setup, the `?internal=1` opt-out and the Content-Security-Policy. +- `tests/structuredData.test.tsx` checks the SoftwareApplication data restates the page and states no price, offer, + rating, review or download link. ## Where things live @@ -55,6 +57,7 @@ changes. | Visit counts (PostHog) | `lib/analytics.ts` | | Screenshots and alt text | `lib/screenshots.ts`, `public/images/` | | Favicon and Apple touch icon | `app/icon.png`, `app/apple-icon.png` (from the app icon) | +| Structured data for search engines (SoftwareApplication, no price or rating) | `lib/structuredData.ts` | ### The TestFlight link diff --git a/website/app/page.tsx b/website/app/page.tsx index 544670d..e17ae53 100644 --- a/website/app/page.tsx +++ b/website/app/page.tsx @@ -2,6 +2,7 @@ import { BetaSignup } from "@/components/BetaSignup"; import { Screenshot } from "@/components/Screenshot"; import { SHOTS } from "@/lib/screenshots"; import { SITE_NAME, TESTFLIGHT_URL, betaCta, showRecorderLink } from "@/lib/site"; +import { jsonLdText, softwareApplicationJsonLd } from "@/lib/structuredData"; const cta = betaCta(); const ctaTrack = { "data-track": "join_beta_clicked", "data-track-destination": cta.testflight ? "testflight" : "signup" }; @@ -9,6 +10,11 @@ const ctaTrack = { "data-track": "join_beta_clicked", "data-track-destination": export default function Home() { return ( <> + {/* For search engines: what the app is, restating this page (lib/structuredData.ts). */} +