Skip to content

Add /donate page (mock-up, no Stripe wiring yet) - #2

Merged
Username-Matilda merged 3 commits into
mainfrom
claude/nifty-cerf-qRcfh
May 22, 2026
Merged

Add /donate page (mock-up, no Stripe wiring yet)#2
Username-Matilda merged 3 commits into
mainfrom
claude/nifty-cerf-qRcfh

Conversation

@Username-Matilda

Copy link
Copy Markdown
Owner

Summary

Static mock-up of the donations page at /donate. Visual + interactive only — no real payments, no backend, no Stripe wiring.

  • site/donate/index.html — page using the existing header/footer pattern
  • site/donate/donate.js — frequency toggle, amount selection, custom amount input, stubbed checkout request
  • site/styles.css — appended donate-specific styles (form card, amount grid, dual CTAs, registered-details block)

What's safe about merging this now

  • Clicking either Donate button just shows a JavaScript alert; no money moves, no Stripe call is made.
  • No Donate link is added to the main nav or any other page — the URL is only reachable by typing /donate/ directly.
  • No analytics added to this page.

What's still TODO (separate PRs)

  • Add Donate nav link to index.html and chapter pages
  • Cloudflare Worker for create-checkout-session endpoint (Stripe Checkout, Link disabled, Bacs + card variants)
  • Wire the form fetch to the Worker
  • Replace case-for-support placeholder copy (user is writing this)
  • Decide whether the Safe AI Alliance Ltd disclosure also belongs in the site-wide footer
  • Create the /privacy page that the donate footnote links to

How to preview after merging

Once merged, GitHub Pages will rebuild and the page will be live at https://pauseai.uk/donate/.


Generated by Claude Code

claude added 3 commits May 22, 2026 00:49
Static mock-up of /donate so the user can review layout and copy
before any Stripe / Cloudflare Worker wiring. No backend yet — the
submit handler is stubbed with a clearly marked TODO(stripe) block.

- site/donate/index.html: page using existing header/footer pattern
- site/donate/donate.js: frequency toggle, amount selection, custom
  amount input, stubbed checkout-session request
- site/styles.css: appended donate-specific styles (form card,
  frequency toggle, amount grid, custom input, dual CTAs)

Notes for the next iteration:
- 'Donate' nav link not yet added to other pages
- Cloudflare Worker not yet written
- Stripe publishable key not yet embedded (no account)
- Case-for-support copy is a placeholder
Adds the Trading Disclosures information (company number, registered
office, place of registration) as a muted block at the bottom of the
transparency section. Reorders the transparency copy so the donor-
facing message comes first and the legal text sits below.

Awaiting user confirmation that 'trading name of' is the correct
relationship between PauseAI UK and Safe AI Alliance Ltd.
Use 'Safe AI Alliance Ltd is the legal entity operating PauseAI UK'
phrasing per user preference, rather than 'trading name of'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants