From c5fbe82385dab52861f8827b71a8e764a19e0cf8 Mon Sep 17 00:00:00 2001 From: random-anon333 Date: Sun, 8 Mar 2026 10:23:56 -0600 Subject: [PATCH 1/3] feat: style preferred methods as card like donate with crypto - Preferred methods now uses same card structure (section, header, icon, title) - Add card-preferred styles and heart icon; unify section markup as card-section - Add preferred.js pay method; support optional preferred.description in text config Made-with: Cursor --- config/text.js | 10 ++++ index.html | 16 ++++--- scripts/donation-api.js | 11 ++++- scripts/main.js | 23 ++++++--- scripts/pay-methods/crypto.js | 3 +- scripts/pay-methods/preferred.js | 82 ++++++++++++++++++++++++++++++++ styles/main.css | 69 +++++++++++++++++++++++++-- 7 files changed, 194 insertions(+), 20 deletions(-) create mode 100644 scripts/pay-methods/preferred.js diff --git a/config/text.js b/config/text.js index ee353bb..97f939f 100644 --- a/config/text.js +++ b/config/text.js @@ -10,6 +10,16 @@ window.APP_TEXT = { tagline: "your donation helps me keep building open, free, and subversive code && art", }, + preferred: { + title: 'preferred methods', + cash: 'cash', + bitcoin: 'bitcoin', + }, + + other: { + title: 'donate with crypto', + }, + fiat: { title: 'donate with fiat', description: '', diff --git a/index.html b/index.html index 9288c21..d0a0571 100644 --- a/index.html +++ b/index.html @@ -2,14 +2,11 @@ - - - + - @@ -19,8 +16,13 @@

-
- +
+
+
+
+
+
+