From 640898e0224f5ccc1bdacc49825c226114821e77 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sun, 4 Aug 2024 16:11:21 +0000 Subject: [PATCH] web/donate: move header to component, initial donation options --- web/src/components/misc/DonateBanner.svelte | 133 ++++++++++++++ web/src/routes/donate/+page.svelte | 193 ++++++++++---------- 2 files changed, 227 insertions(+), 99 deletions(-) create mode 100644 web/src/components/misc/DonateBanner.svelte diff --git a/web/src/components/misc/DonateBanner.svelte b/web/src/components/misc/DonateBanner.svelte new file mode 100644 index 00000000..4ad71d3e --- /dev/null +++ b/web/src/components/misc/DonateBanner.svelte @@ -0,0 +1,133 @@ + + + + + \ No newline at end of file diff --git a/web/src/routes/donate/+page.svelte b/web/src/routes/donate/+page.svelte index c977368b..e36ebef3 100644 --- a/web/src/routes/donate/+page.svelte +++ b/web/src/routes/donate/+page.svelte @@ -3,9 +3,10 @@ import { t } from "$lib/i18n/translations"; import { donate } from "$lib/env"; - - import IconHeart from "@tabler/icons-svelte/IconHeart.svelte"; - import Meowbalt from "$components/misc/Meowbalt.svelte"; + import DonateBanner from "$components/misc/DonateBanner.svelte"; + import IconCalendarRepeat from "@tabler/icons-svelte/IconCalendarRepeat.svelte"; + import IconCup from "@tabler/icons-svelte/IconCup.svelte"; + import IconArrowRight from "@tabler/icons-svelte/IconArrowRight.svelte"; let customAmountOnceInput: HTMLInputElement; let customAmountRecurringInput: HTMLInputElement; @@ -34,27 +35,35 @@
- + {/each} +