Add /donate page (mock-up, no Stripe wiring yet) - #2
Merged
Conversation
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'.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 patternsite/donate/donate.js— frequency toggle, amount selection, custom amount input, stubbed checkout requestsite/styles.css— appended donate-specific styles (form card, amount grid, dual CTAs, registered-details block)What's safe about merging this now
Donatelink is added to the main nav or any other page — the URL is only reachable by typing/donate/directly.What's still TODO (separate PRs)
Donatenav link toindex.htmland chapter pagescreate-checkout-sessionendpoint (Stripe Checkout, Link disabled, Bacs + card variants)fetchto the Worker/privacypage that the donate footnote links toHow 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