Commit graph

6 commits

Author SHA1 Message Date
ebfa25d1e8 Rework donate flow into guided steps with gift options
- Split the donate page into step components and reorder the flow: intent, rank or amount, recipient, gift, upgrade target, then confirm
- Let a gift go to a player on the other edition, and allow anonymous gifts (donor is left blank in metadata)
- Look up the recipient's current rank for upgrades and disable ranks they already hold
- Validate custom amounts on the server as integers between CUSTOM_MIN and CUSTOM_MAX
- Show friendly messages for checkout errors and send users back to the step that needs fixing
- Build the Stripe appearance from the page's glow accent colour, and tint the glow to match a custom amount's unlocked tier
2026-10-24 16:40:08 +01:00
5a34a2471f Tint donate UI accent to match the glow colour
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 13:32:13 +01:00
372d34cc62 Replace donate page wave background with glow
- Add DonateGlow WebGL gradient that shifts colour per donation intent and rank
- Drive donate steps from URL query params so browser back/forward work
- Clear pending checkout session when an answer changes
- Remove the unused wave-pattern canvas background
2026-10-24 10:49:44 +01:00
00fc2adf63 added a funky background to the donate page 2026-10-24 09:51:47 +01:00
842aebf0b0 stupid AI slop can't even get a link right lmao 2026-10-24 08:43:56 +01:00
963dde1a3e More changes 2026-09-01 13:04:11 +01:00