diff --git a/AGENTS.md b/AGENTS.md index 4a482d6..4d0c9b7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,7 +16,7 @@ The source of the public site at `withmarfa.com`: Astro, built to static files a - `src/pages/`: one file per page. `404.astro` is what Cloudflare serves for a missing path. `sitemap.xml.ts` lists every page except those in its `UNLISTED` set. - `src/layouts/Base.astro`: the document head, the header, the column and the footer, used by every page. -- `src/components/`: the header (the Marfa mark, which leads home, a GitHub icon and the Docs pill), which stays at the top as a page scrolls; the footer (About, Subscribe and Privacy); the Get Updates card with the sign-up form, opened from the footer and the home page; the Get in Touch card, opened from About; and the question that opens (one at a time within a group). +- `src/components/`: the header (the Marfa mark, which leads home, a GitHub icon and the Docs pill), which stays at the top as a page scrolls; the footer (About and Subscribe); the privacy notice, linked from the sign-up card and About; the Get Updates card with the sign-up form, opened from the footer and the home page; the Get in Touch card, opened from About; and the question that opens (one at a time within a group). - `src/styles/global.css`: the color tokens, shared with the docs site's canvas and text colors, and the shared buttons and cards. Light and dark follow the system; there is no toggle. - `src/lib/analytics.ts`: PostHog, loaded after the page. - `public/`: copied as is. `_headers` sets the security headers and the Content Security Policy. `og.png` is the link preview image, rendered from `scripts/og-image.html`. diff --git a/src/components/Footer.astro b/src/components/Footer.astro index ed54d54..fbae3a4 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -10,7 +10,6 @@ const path = pagePath(Astro.url); diff --git a/src/components/Subscribe.astro b/src/components/Subscribe.astro index da7f041..6517541 100644 --- a/src/components/Subscribe.astro +++ b/src/components/Subscribe.astro @@ -29,7 +29,7 @@ const { card } = Astro.props; />

- Occasional updates, nothing else. Unsubscribe any time. Privacy + Only news about Marfa. Unsubscribe any time. Privacy

{ diff --git a/src/components/Updates.astro b/src/components/Updates.astro index bef3769..f0c12c4 100644 --- a/src/components/Updates.astro +++ b/src/components/Updates.astro @@ -1,19 +1,16 @@ --- -/** The Get Updates card, opened from the header and from the questions. */ +/** The Get Updates card, opened from the footer and the home page. */ import Subscribe from './Subscribe.astro'; --- diff --git a/src/pages/about.astro b/src/pages/about.astro index b1f812a..a73294d 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -49,7 +49,8 @@ const next = [

- Have a question or an idea? . + Have a question or an idea? . Read + the privacy notice.

diff --git a/src/styles/global.css b/src/styles/global.css index 4177bdb..629f152 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -28,7 +28,7 @@ /* Lowers the page's text on tall windows without pushing it off short ones. */ --top: clamp(36px, 8vh, 80px); --end: 40px; - --header-space: 10px; + --header-space: 6px; /* Lets an opening question animate to its natural height where supported. */ interpolate-size: allow-keywords; @@ -59,7 +59,7 @@ --section: 24px; --top: clamp(20px, 4vh, 40px); --end: 16px; - --header-space: 6px; + --header-space: 4px; } } @@ -232,7 +232,7 @@ a:hover { /* A card over the page, opened by a popovertarget button: the browser handles opening, Escape and a tap outside, with or without JavaScript. */ .sheet { - width: min(420px, calc(100vw - 32px)); + width: min(460px, calc(100vw - 32px)); box-sizing: border-box; margin: auto; padding: 24px;