2022-06-18 00:22:07 +05:30
|
|
|
<script>
|
2022-06-18 21:56:58 +05:30
|
|
|
import IconDiscord from "~icons/simple-icons/discord";
|
|
|
|
import IconMatrix from "~icons/simple-icons/matrix";
|
|
|
|
import IconGitHub from "~icons/simple-icons/github";
|
|
|
|
import IconSignal from "~icons/fa6-solid/signal";
|
2022-06-22 12:17:02 +05:30
|
|
|
import * as global from "../i18n/_global.json";
|
2022-06-22 12:27:47 +05:30
|
|
|
import { t } from "$lib/translations";
|
2022-06-24 21:32:23 +05:30
|
|
|
import { page } from "$app/stores";
|
2022-06-18 00:22:07 +05:30
|
|
|
</script>
|
|
|
|
|
|
|
|
<footer>
|
2022-06-24 21:32:23 +05:30
|
|
|
{#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}
|
2022-06-18 21:56:58 +05:30
|
|
|
<hr />
|
|
|
|
<div class="content">
|
2022-06-22 12:27:47 +05:30
|
|
|
<span>{$t("common.FOOTER_COPYRIGHT")}</span>
|
2022-06-18 00:22:07 +05:30
|
|
|
|
2022-06-18 21:56:58 +05:30
|
|
|
<div class="links">
|
2022-06-22 12:17:02 +05:30
|
|
|
<a href={global.MATRIX_INVITE}>
|
2022-06-18 21:56:58 +05:30
|
|
|
<IconMatrix />
|
|
|
|
</a>
|
2022-06-22 12:17:02 +05:30
|
|
|
<a href={global.DISCORD_INVITE}>
|
2022-06-18 21:56:58 +05:30
|
|
|
<IconDiscord />
|
|
|
|
</a>
|
2022-06-22 12:17:02 +05:30
|
|
|
<a href={global.GITHUB}>
|
2022-06-18 21:56:58 +05:30
|
|
|
<IconGitHub />
|
|
|
|
</a>
|
2022-06-22 12:17:02 +05:30
|
|
|
<a href={global.STATUS}>
|
2022-06-18 21:56:58 +05:30
|
|
|
<IconSignal />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-18 00:22:07 +05:30
|
|
|
</footer>
|
|
|
|
|
|
|
|
<style>
|
2022-06-18 21:56:58 +05:30
|
|
|
footer {
|
|
|
|
padding: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-size: 20px;
|
2022-06-24 21:32:23 +05:30
|
|
|
position: sticky;
|
|
|
|
top: 100vh;
|
2022-06-18 23:23:25 +05:30
|
|
|
width: calc(100vw - 2rem);
|
2022-06-18 21:56:58 +05:30
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
|
2022-06-18 21:56:58 +05:30
|
|
|
hr {
|
|
|
|
color: var(--accent-primary);
|
|
|
|
width: 100%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
|
2022-06-18 21:56:58 +05:30
|
|
|
div.content {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
|
2022-06-18 21:56:58 +05:30
|
|
|
div.links {
|
|
|
|
display: flex;
|
|
|
|
gap: 12px;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
|
2022-06-18 21:56:58 +05:30
|
|
|
.links a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
|
2022-06-18 21:56:58 +05:30
|
|
|
@media only screen and (max-width: 500px) {
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
2022-06-18 00:22:07 +05:30
|
|
|
|
2022-06-18 21:56:58 +05:30
|
|
|
div.links {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-06-24 21:32:23 +05:30
|
|
|
|
|
|
|
img {
|
|
|
|
width: 270px;
|
|
|
|
background: var(--accent-primary);
|
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
2022-06-18 21:56:58 +05:30
|
|
|
</style>
|