From 57ba44ae6080f90bc659bc9a11c4c2b8e07bbbaa Mon Sep 17 00:00:00 2001 From: Alexander King Date: Mon, 24 Aug 2026 18:21:46 -0400 Subject: [PATCH 1/2] Merge the product tour into the homepage The tour was a page of its own that most visitors never reached, so the homepage described the product only in the abstract. Fold it into the root page and retire /product. The section markup moves over unchanged inside a .product-page wrapper: every callout-marker coordinate in style/product.css is a custom property scoped to that class, so the whole stylesheet applies on the homepage untouched. - One prompt iframe per page. src/index.ts binds it by id, so the tour's closing CTA (and its content section) would have been a dead duplicate. - Hero tilt is bound once. Both source pages registered their own mousemove handler for [data-tilt-hero]; merged naively that was two handlers writing conflicting transforms to the same element. - The benefit row is compact: 882px -> 392px at desktop. Tilt and the glare layer are gone - at a quarter size the tilt read as jitter and the glare as a smudge. Scoped as a modifier so showcase.liquid keeps the full-size cards. - Nav scroll-spies the tour instead of matching a page, and takes over its own anchor clicks. "/#product" and "/" are each a different document from "/index.html", so the browser reloaded the whole page before landing. umami.js compounded it: for any it preventDefaults, awaits its tracking request, then assigns location.href itself. Those two links now report their events directly and keep the navigation in-page. - A video slot sits under the hero, currently hidden behind a flag while the video is produced. Attaching a real video turns it on regardless of the flag. - Fixes a pre-existing horizontal scroll: md:w-[1200px] on the manifesto CTA forced 1200px at any viewport >= 768px. Claude-Session: https://claude.ai/code/session_01PJBsFWSPdZvjcWsFwJh587 --- objects/product.toml | 7 - pages/_nav.liquid | 26 +- pages/index.liquid | 1075 +++++++++++++++++++++++++++++++++----- pages/product.liquid | 781 --------------------------- pages/sitemap.xml.liquid | 4 - public/_redirects | 4 + style/main.css | 127 ++++- style/product.css | 12 + 8 files changed, 1095 insertions(+), 941 deletions(-) delete mode 100644 pages/product.liquid create mode 100644 public/_redirects diff --git a/objects/product.toml b/objects/product.toml index 8a78263..121a16e 100644 --- a/objects/product.toml +++ b/objects/product.toml @@ -31,10 +31,3 @@ title = "Every change, tracked forever" content = """ Archival remembers every change you've ever made. Browse your full history, see exactly what changed and when, and roll back anything instantly, from a single edit to a whole day's work. Archival websites, and all changes to them, last forever. """ - -[[sections]] -key = "cta" -title = "Build yours right now." -content = """ -Describe what type of site you'd like to create and we'll get you live in a few minutes. -""" diff --git a/pages/_nav.liquid b/pages/_nav.liquid index 71cd283..9f3e95d 100644 --- a/pages/_nav.liquid +++ b/pages/_nav.liquid @@ -44,8 +44,23 @@