From 74182001c1de1997a6f94d3d3f3f89c35a32b3e7 Mon Sep 17 00:00:00 2001 From: Akis Date: Fri, 24 Jun 2022 19:02:23 +0300 Subject: [PATCH] add link to financial stuff and make footer better --- src/i18n/common.json | 2 ++ src/lib/Footer.svelte | 23 ++++++++++++++++-- src/lib/app.css | 2 -- src/routes/donate.svelte | 10 ++++++++ src/routes/faq.svelte | 32 +++++++++++++------------ src/routes/index.svelte | 39 ++++--------------------------- src/routes/minecraft/index.svelte | 3 +-- svelte.config.js | 4 +--- 8 files changed, 56 insertions(+), 59 deletions(-) diff --git a/src/i18n/common.json b/src/i18n/common.json index 8644a6b..baf2601 100644 --- a/src/i18n/common.json +++ b/src/i18n/common.json @@ -14,6 +14,8 @@ "DONATE_DESCRIPTION": "The ways you can donate to us and more", "DONATE_PLEASE_DO": "please do", "DONATE_EXPLANATION": "If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. I really recommend you donate any spare money you have if you enjoy or use our services on a daily basis. Thanks!", + "DONATE_TRANSPARENCY_1": "You can find all of our financial reports categorized by year and month at ", + "DONATE_TRANSPARENCY_2": "our transparency repository on GitHub", "DONATE_OK_SURE": "sure I'll donate. Links?", "CONTACT_TITLE": "Contact Us", "CONTACT_DESCRIPTION": "Do you want to contact us?", diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index 9e9ba7b..8aa8507 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -5,9 +5,21 @@ import IconSignal from "~icons/fa6-solid/signal"; import * as global from "../i18n/_global.json"; import { t } from "$lib/translations"; + import { page } from "$app/stores";