From eccf75b7b757bc41865aa3c3c5c6d87e4b54749a Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 6 Aug 2024 16:45:25 +0600 Subject: [PATCH] web/donate: redesign the donation options card --- .../donate/DonateOptionsCard.svelte | 231 ++++++++++++------ .../components/donate/DonationOption.svelte | 24 ++ web/src/routes/donate/+page.svelte | 1 - 3 files changed, 180 insertions(+), 76 deletions(-) create mode 100644 web/src/components/donate/DonationOption.svelte diff --git a/web/src/components/donate/DonateOptionsCard.svelte b/web/src/components/donate/DonateOptionsCard.svelte index 0a5a7f28..1b9b5f95 100644 --- a/web/src/components/donate/DonateOptionsCard.svelte +++ b/web/src/components/donate/DonateOptionsCard.svelte @@ -1,59 +1,101 @@ -
-
-
-
monthly donation
-
processed by liberapay
+
+
+ +
-
- {#each { length: 4 } as _} - - - {/each} +
+ donateStripe(5)} + > + + + donateStripe(10)} + > + + + donateStripe(15)} + > + + + donateStripe(30)} + > + +
-
- - -
- diff --git a/web/src/components/donate/DonationOption.svelte b/web/src/components/donate/DonationOption.svelte new file mode 100644 index 00000000..c0988c90 --- /dev/null +++ b/web/src/components/donate/DonationOption.svelte @@ -0,0 +1,24 @@ + + + + + diff --git a/web/src/routes/donate/+page.svelte b/web/src/routes/donate/+page.svelte index 7862929e..02f4dd33 100644 --- a/web/src/routes/donate/+page.svelte +++ b/web/src/routes/donate/+page.svelte @@ -15,7 +15,6 @@
-