Give /kit and /press their own pages, and hold /privacy until counsel #111

Merged
an.di merged 5 commits from adilallo/feature/CR-288-kit-press-privacy into main 2026-11-21 03:00:20 +00:00
Member

Overview

Cutover needs three public URLs that main does not have yet. Printed facilitator-guide links still go to /kit, which today redirects to workshops. Press needs an embargoed /press before 18 February 2027. /privacy is written, but it must stay off in production until university counsel has read it.

This PR gives /kit and /press real Content Template pages, and gates /privacy on a runtime flag so production 404s and hides the link until that switch is on.

Changes

  • /kit — own page, not a workshops redirect. Facilitator guide (Notion), FigJam board, five-meeting flow, office hours from 22 February 2027. Cards, poster and zine are named without download links until those files exist.
  • /press — embargoed kit. Release and Boulder count stay off the page until 6am Mountain, 18 February 2027. Contact is Nathan Schneider at medlab@colorado.edu.
  • /privacy — ENABLE_PRIVACY_POLICY=true at runtime turns the page on. A build-time NEXT_PUBLIC_ENABLE_PRIVACY_POLICY value does not. Unset (production default): 404, no footer / login / email / sitemap links. Staging can set the flag without a rebuild.
  • Cookies copy: claim cookie, CommunityRule as one word, no magic-link wording.
  • Mail From display name rewrites leftover Community Rule to CommunityRule.
  • Workshops hero “Talk to a facilitator” hugs its label instead of stretching the column.

Screenshots

01-kit.png

How to Test

  1. npm run dev with ENABLE_PRIVACY_POLICY unset.
  2. /kit loads and does not redirect to /workshops. Check the facilitator-guide and FigJam links.
  3. /press loads. Confirm the embargo line and that the release / Boulder count are not on the page.
  4. /privacy is 404. Footer and login show Terms of Service only (no Privacy Policy).
  5. /cookies uses the claim-cookie copy.
  6. Set ENABLE_PRIVACY_POLICY=true and restart. /privacy loads; footer and login gain the Privacy Policy link.
  7. Workshops hero: “Talk to a facilitator” is a compact pill, not full column width.
  8. Optional: npx tsc --noEmit, npx vitest run tests/pages/kit.test.tsx tests/pages/press.test.tsx tests/unit/privacyPolicyEnabled.test.ts tests/components/Footer.test.tsx tests/components/LoginForm.test.tsx.

Notes

  • Production stays flag-off until counsel. Staging can turn the page on with ENABLE_PRIVACY_POLICY=true (see ops runbook).
  • Press copy swaps to the live kit when the embargo lifts; that is not this PR.
  • Workshops still does not match Figma at every breakpoint (tablet hero fan, phone room list, table art). That is separate work, not this PR.02-press.png03-privacy-off.png04-cookies.png05-login.png
## Overview Cutover needs three public URLs that `main` does not have yet. Printed facilitator-guide links still go to `/kit`, which today redirects to workshops. Press needs an embargoed `/press` before 18 February 2027. `/privacy` is written, but it must stay off in production until university counsel has read it. This PR gives `/kit` and `/press` real Content Template pages, and gates `/privacy` on a runtime flag so production 404s and hides the link until that switch is on. ## Changes - **`/kit`** — own page, not a workshops redirect. Facilitator guide (Notion), FigJam board, five-meeting flow, office hours from 22 February 2027. Cards, poster and zine are named without download links until those files exist. - **`/press`** — embargoed kit. Release and Boulder count stay off the page until 6am Mountain, 18 February 2027. Contact is Nathan Schneider at medlab@colorado.edu. - **`/privacy`** — `ENABLE_PRIVACY_POLICY=true` at runtime turns the page on. A build-time `NEXT_PUBLIC_ENABLE_PRIVACY_POLICY` value does not. Unset (production default): 404, no footer / login / email / sitemap links. Staging can set the flag without a rebuild. - Cookies copy: claim cookie, CommunityRule as one word, no magic-link wording. - Mail From display name rewrites leftover `Community Rule` to `CommunityRule`. - Workshops hero “Talk to a facilitator” hugs its label instead of stretching the column. ## Screenshots ![01-kit.png](attachments/9d09291c-21cd-49c3-a4f3-5d422945bb64) ## How to Test 1. `npm run dev` with `ENABLE_PRIVACY_POLICY` **unset**. 2. `/kit` loads and does not redirect to `/workshops`. Check the facilitator-guide and FigJam links. 3. `/press` loads. Confirm the embargo line and that the release / Boulder count are not on the page. 4. `/privacy` is 404. Footer and login show Terms of Service only (no Privacy Policy). 5. `/cookies` uses the claim-cookie copy. 6. Set `ENABLE_PRIVACY_POLICY=true` and restart. `/privacy` loads; footer and login gain the Privacy Policy link. 7. Workshops hero: “Talk to a facilitator” is a compact pill, not full column width. 8. Optional: `npx tsc --noEmit`, `npx vitest run tests/pages/kit.test.tsx tests/pages/press.test.tsx tests/unit/privacyPolicyEnabled.test.ts tests/components/Footer.test.tsx tests/components/LoginForm.test.tsx`. ## Notes - Production stays flag-off until counsel. Staging can turn the page on with `ENABLE_PRIVACY_POLICY=true` (see ops runbook). - Press copy swaps to the live kit when the embargo lifts; that is not this PR. - Workshops still does not match Figma at every breakpoint (tablet hero fan, phone room list, table art). That is separate work, not this PR.![02-press.png](attachments/7bb77a2c-1966-436e-bf44-de616d98555e)![03-privacy-off.png](attachments/821f4676-e62c-4698-8e58-b5915beeb537)![04-cookies.png](attachments/485b06b8-cfc7-476b-b459-4ed958732460)![05-login.png](attachments/396c142e-40f2-41a1-9898-91bb7b47732f)
an.di added 5 commits 2026-11-21 02:59:47 +00:00
an.di merged commit 2dfc365dbd into main 2026-11-21 03:00:20 +00:00
an.di deleted branch adilallo/feature/CR-288-kit-press-privacy 2026-11-21 03:00:21 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CommunityRule/community-rule#111