From c8a0f74e62b2178aa32ef52b92066f864ac54959 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 6 Aug 2024 14:09:16 +0600 Subject: [PATCH] web/DonateBanner: dark theme & scaling support --- web/i18n/en/donate.json | 6 +- web/src/components/misc/DonateBanner.svelte | 111 ++++++++++++++++++-- 2 files changed, 108 insertions(+), 9 deletions(-) diff --git a/web/i18n/en/donate.json b/web/i18n/en/donate.json index 687be9ec..7cd62c35 100644 --- a/web/i18n/en/donate.json +++ b/web/i18n/en/donate.json @@ -1,4 +1,4 @@ { - "title": "Support a safe\nand open Internet", - "subtitle": "donate to imput or share the\njoy of cobalt with a friend" -} \ No newline at end of file + "banner.title": "Support a safe\nand open Internet", + "banner.subtitle": "donate to imput or share the\njoy of cobalt with a friend" +} diff --git a/web/src/components/misc/DonateBanner.svelte b/web/src/components/misc/DonateBanner.svelte index 92a0bb3b..817a3e24 100644 --- a/web/src/components/misc/DonateBanner.svelte +++ b/web/src/components/misc/DonateBanner.svelte @@ -11,8 +11,10 @@