2024-12-25 11:04:20 -05:00
|
|
|
<script lang="ts">
|
|
|
|
import type { Meta } from "$api/models";
|
|
|
|
import Git from "svelte-bootstrap-icons/lib/Git.svelte";
|
|
|
|
import Reception4 from "svelte-bootstrap-icons/lib/Reception4.svelte";
|
|
|
|
import Newspaper from "svelte-bootstrap-icons/lib/Newspaper.svelte";
|
|
|
|
import CardText from "svelte-bootstrap-icons/lib/CardText.svelte";
|
|
|
|
import Shield from "svelte-bootstrap-icons/lib/Shield.svelte";
|
|
|
|
import Envelope from "svelte-bootstrap-icons/lib/Envelope.svelte";
|
|
|
|
import CashCoin from "svelte-bootstrap-icons/lib/CashCoin.svelte";
|
|
|
|
import Logo from "./Logo.svelte";
|
2025-02-24 20:37:51 +01:00
|
|
|
import { t } from "$lib/i18n";
|
2024-12-25 11:04:20 -05:00
|
|
|
|
|
|
|
type Props = { meta: Meta };
|
|
|
|
let { meta }: Props = $props();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<footer class="big-footer mt-3 pt-3 pb-1 px-5">
|
|
|
|
<div class="d-flex flex-column flex-md-row mb-2">
|
|
|
|
<div class="align-start flex-grow-1">
|
|
|
|
<Logo />
|
|
|
|
<ul class="mt-2 list-unstyled">
|
2025-02-24 20:37:51 +01:00
|
|
|
<li><strong>{$t("footer.version")}</strong> {meta.version}</li>
|
2024-12-25 11:04:20 -05:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="align-end">
|
|
|
|
<ul class="list-unstyled">
|
2025-02-24 20:37:51 +01:00
|
|
|
<li>{meta.users.total.toLocaleString()} <strong>{$t("footer.users")}</strong></li>
|
|
|
|
<li>{meta.members.toLocaleString()} <strong>{$t("footer.members")}</strong></li>
|
2024-12-25 11:04:20 -05:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul class="list-inline">
|
|
|
|
<a
|
|
|
|
class="list-inline-item link-underline link-underline-opacity-0"
|
|
|
|
target="_blank"
|
|
|
|
href={meta.repository}
|
|
|
|
>
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<Git />
|
2025-02-24 20:37:51 +01:00
|
|
|
{$t("footer.source")}
|
2024-12-25 11:04:20 -05:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
class="list-inline-item link-underline link-underline-opacity-0"
|
|
|
|
target="_blank"
|
|
|
|
href="https://status.pronouns.cc"
|
|
|
|
>
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<Reception4 />
|
2025-02-24 20:37:51 +01:00
|
|
|
{$t("footer.status")}
|
2024-12-25 11:04:20 -05:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
<a class="list-inline-item link-underline link-underline-opacity-0" href="/page/about">
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<Envelope />
|
2025-02-24 20:37:51 +01:00
|
|
|
{$t("footer.about-contact")}
|
2024-12-25 11:04:20 -05:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
<a class="list-inline-item link-underline link-underline-opacity-0" href="/page/tos">
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<CardText />
|
2025-02-24 20:37:51 +01:00
|
|
|
{$t("footer.terms")}
|
2024-12-25 11:04:20 -05:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
<a class="list-inline-item link-underline link-underline-opacity-0" href="/page/privacy">
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<Shield />
|
2025-02-24 20:37:51 +01:00
|
|
|
{$t("footer.privacy")}
|
2024-12-25 11:04:20 -05:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
<a class="list-inline-item link-underline link-underline-opacity-0" href="/page/changelog">
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<Newspaper />
|
2025-02-24 20:37:51 +01:00
|
|
|
{$t("footer.changelog")}
|
2024-12-25 11:04:20 -05:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
<a class="list-inline-item link-underline link-underline-opacity-0" href="/page/donate">
|
|
|
|
<li class="list-inline-item">
|
|
|
|
<CashCoin />
|
2025-02-24 20:37:51 +01:00
|
|
|
{$t("footer.donate")}
|
2024-12-25 11:04:20 -05:00
|
|
|
</li>
|
|
|
|
</a>
|
|
|
|
</ul>
|
|
|
|
</footer>
|