Files
Abue Ammar 4e15182745 Add a /support page backed by Polar (#932)
* Add a /support page backed by Polar

The site linked "Support" to a bare Polar checkout link that no longer
resolved. /support lets a visitor pick one-time or monthly and an amount,
then sends them to Polar's own checkout page with both already filled in,
so the address bar shows who takes the payment. Polar returns them to a
thank-you that links to the portal where their perks are claimed.

The site stays a static export. A small Worker in website/worker runs only
for the two API routes: one creates the checkout session, the other returns
the number of supporters, cached so page views do not reach Polar. Without
Polar credentials both degrade quietly, so contributors build and run the
site exactly as before.

The header gains a Support link, the support copy is calmer, and the dead
link is replaced in the README, FUNDING.yml and the app's Support command.

* Drop the trailing slash from public support links
2026-09-19 23:33:47 +06:00
..