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";
|
|
|
|
import { t } from '$lib/translations';
|
2022-06-18 00:22:07 +05:30
|
|
|
</script>
|
|
|
|
|
|
|
|
<footer>
|
2022-06-18 21:56:58 +05:30
|
|
|
<hr />
|
|
|
|
<div class="content">
|
2022-06-22 12:17:02 +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-18 23:23:25 +05:30
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|