add link to financial stuff and make footer better

This commit is contained in:
Akis 2022-06-24 19:02:23 +03:00
parent 45bb749c6f
commit 74182001c1
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
8 changed files with 56 additions and 59 deletions

View File

@ -14,6 +14,8 @@
"DONATE_DESCRIPTION": "The ways you can donate to us and more", "DONATE_DESCRIPTION": "The ways you can donate to us and more",
"DONATE_PLEASE_DO": "please do", "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_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?", "DONATE_OK_SURE": "sure I'll donate. Links?",
"CONTACT_TITLE": "Contact Us", "CONTACT_TITLE": "Contact Us",
"CONTACT_DESCRIPTION": "Do you want to contact us?", "CONTACT_DESCRIPTION": "Do you want to contact us?",

View File

@ -5,9 +5,21 @@
import IconSignal from "~icons/fa6-solid/signal"; import IconSignal from "~icons/fa6-solid/signal";
import * as global from "../i18n/_global.json"; import * as global from "../i18n/_global.json";
import { t } from "$lib/translations"; import { t } from "$lib/translations";
import { page } from "$app/stores";
</script> </script>
<footer> <footer>
{#if $page.url.pathname === "/"}
<a
href="https://www.abuseipdb.com/user/82331"
title="AbuseIPDB is an IP address blacklist for webmasters and sysadmins to report IP addresses engaging in abusive behavior on their networks"
>
<img
src="https://www.abuseipdb.com/contributor/82331.svg"
alt="AbuseIPDB Contributor Badge"
/>
</a>
{/if}
<hr /> <hr />
<div class="content"> <div class="content">
<span>{$t("common.FOOTER_COPYRIGHT")}</span> <span>{$t("common.FOOTER_COPYRIGHT")}</span>
@ -35,8 +47,8 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
font-size: 20px; font-size: 20px;
position: absolute; position: sticky;
bottom: 0; top: 100vh;
width: calc(100vw - 2rem); width: calc(100vw - 2rem);
} }
@ -72,4 +84,11 @@
margin-left: 0; margin-left: 0;
} }
} }
img {
width: 270px;
background: var(--accent-primary);
padding: 0.5rem;
border-radius: 10px;
}
</style> </style>

View File

@ -29,8 +29,6 @@ body {
main { main {
padding: 1rem; padding: 1rem;
flex-grow: 1;
padding-bottom: 200px;
} }
a { a {

View File

@ -29,6 +29,16 @@
<img src={MoneroQR} alt="Monero Qr Code" /> <img src={MoneroQR} alt="Monero Qr Code" />
</div> </div>
<p>
<i>
{$t("common.DONATE_TRANSPARENCY_1")}
<a href="https://github.com/ProjectSegfault/transparency/"
>{$t("common.DONATE_TRANSPARENCY_2")}</a
>
.
</i>
</p>
<style> <style>
.monero { .monero {
display: flex; display: flex;

View File

@ -9,26 +9,28 @@
<h1>{$t("common.FAQ_TITLE")}</h1> <h1>{$t("common.FAQ_TITLE")}</h1>
<h2>{$t('common.FAQ_OWNER_TITLE')}</h2> <h2>{$t("common.FAQ_OWNER_TITLE")}</h2>
<p>{$t('common.FAQ_OWNER')}</p> <p>{$t("common.FAQ_OWNER")}</p>
<h2>{$t('common.FAQ_TOXICITY_TITLE')}</h2> <h2>{$t("common.FAQ_TOXICITY_TITLE")}</h2>
<p> <p>
{$t('common.FAQ_TOXICITY_1')} {$t("common.FAQ_TOXICITY_1")}
<a href="https://matrix.to/#/#support:projectsegfau.lt">#support:projectsegfau.lt</a> <a href="https://matrix.to/#/#support:projectsegfau.lt"
{$t('common.FAQ_TOXICITY_2')} >#support:projectsegfau.lt</a
>
{$t("common.FAQ_TOXICITY_2")}
</p> </p>
<h2>{$t('common.FAQ_TRUST_TITLE')}</h2> <h2>{$t("common.FAQ_TRUST_TITLE")}</h2>
<p> <p>
{$t('common.FAQ_TRUST_1')} {$t("common.FAQ_TRUST_1")}
<strong>{$t('common.FAQ_TRUST_2')}</strong> <strong>{$t("common.FAQ_TRUST_2")}</strong>
{$t('common.FAQ_TRUST_3')} {$t("common.FAQ_TRUST_3")}
</p> </p>
<h2>{$t('common.FAQ_CONTACT_TITLE')}</h2> <h2>{$t("common.FAQ_CONTACT_TITLE")}</h2>
<p> <p>
{$t('common.FAQ_CONTACT')} {$t("common.FAQ_CONTACT")}
<a href="/contact">{$t('common.NAVBAR_CONTACT')}</a> <a href="/contact">{$t("common.NAVBAR_CONTACT")}</a>
. .
</p> </p>

View File

@ -11,44 +11,13 @@
<div> <div>
<h2>{$t("common.INDEX_DESCRIPTION")}</h2> <h2>{$t("common.INDEX_DESCRIPTION")}</h2>
<h1>{$t("common.INDEX_WHAT")}</h1> <h1>{$t("common.INDEX_WHAT")}</h1>
<!-- Cause I feel the need to scream --> <!-- Cause I feel the need to scream -->
<p>{$t("common.INDEX_WHO_ARE_WE")}</p> <p>{$t("common.INDEX_WHO_ARE_WE")}</p>
<h1>{$t("common.INDEX_TELL_ME_MORE")}</h1> <h1>{$t("common.INDEX_TELL_ME_MORE")}</h1>
<p>{$t("common.INDEX_MORE_INFO")}</p> <p>{$t("common.INDEX_MORE_INFO")}</p>
</div> </div>
<a
href="https://www.abuseipdb.com/user/82331"
title="AbuseIPDB is an IP address blacklist for webmasters and sysadmins to report IP addresses engaging in abusive behavior on their networks"
>
<img
src="https://www.abuseipdb.com/contributor/82331.svg"
alt="AbuseIPDB Contributor Badge"
/>
</a>
<style>
div {
padding-bottom: 150px;
}
img {
width: 270px;
background: var(--accent-primary);
padding: 0.5rem;
position: absolute;
bottom: 80px;
border-radius: 10px;
}
@media only screen and (max-width: 508px) {
img {
bottom: 160px;
}
}
</style>

View File

@ -66,8 +66,7 @@
<li>Geyser & Floodgate</li> <li>Geyser & Floodgate</li>
<li>LuckPerms</li> <li>LuckPerms</li>
<li> <li>
mcMMO <a mcMMO <a href="https://dl.odyssey346.dev/Software/mcMMO.jar"
href="https://dl.odyssey346.dev/Software/mcMMO.jar"
>{$t("common.MINECRAFT_MCMMO")}</a >{$t("common.MINECRAFT_MCMMO")}</a
> >
</li> </li>

View File

@ -8,9 +8,7 @@ const config = {
// for more information about preprocessors // for more information about preprocessors
extensions: [".svelte"], extensions: [".svelte"],
preprocess: [ preprocess: [preprocess()],
preprocess(),
],
kit: { kit: {
adapter: adapter(), adapter: adapter(),