feat(frontend): expose user/member count

This commit is contained in:
Sam 2023-04-17 16:43:06 +02:00
parent 94cd4cd6d3
commit 7a550dc624
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 16 additions and 11 deletions

View File

@ -39,16 +39,21 @@
<footer class="container">
<hr />
<p>
pronouns.cc <a href="https://codeberg.org/u1f320/pronouns.cc/commit/{commit}">{version}</a>
{#if versionMismatch}
(backend: <a href="https://codeberg.org/u1f320/pronouns.cc/commit/{data.git_commit}"
>{data.git_commit}</a
>)
{/if} &middot;
<a href="/page/about">About & contact</a> &middot;
<a href="/page/terms">Terms of service</a> &middot;
<a href="/page/privacy">Privacy policy</a>
</p>
<div class="d-flex flex-column flex-md-row">
<p>
pronouns.cc <a href="https://codeberg.org/u1f320/pronouns.cc/commit/{commit}">{version}</a>
{#if versionMismatch}
(backend: <a href="https://codeberg.org/u1f320/pronouns.cc/commit/{data.git_commit}"
>{data.git_commit}</a
>)
{/if} &middot;
<a href="/page/about">About & contact</a> &middot;
<a href="/page/terms">Terms of service</a> &middot;
<a href="/page/privacy">Privacy policy</a>
</p>
<p class="ms-auto">
Users: <strong>{data.users}</strong> &middot; Members: <strong>{data.members}</strong>
</p>
</div>
</footer>
</div>