feat(frontend): always show footer at bottom of page

This commit is contained in:
Sam 2023-03-24 01:25:29 +01:00
parent 84b87790ee
commit 40fb2d5dd1
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 13 additions and 8 deletions

View File

@ -23,15 +23,20 @@
<meta property="og:site_name" content="pronouns.cc" />
</svelte:head>
<Navigation />
<div class="container">
<slot />
<div class="position-absolute top-0 end-0">
{#each $toastStore as toast}
<Toast header={toast.header} body={toast.body} />
{/each}
<div class="d-flex flex-column min-vh-100">
<div class="flex-grow-1">
<Navigation />
<div class="container">
<slot />
<div class="position-absolute top-0 end-0">
{#each $toastStore as toast}
<Toast header={toast.header} body={toast.body} />
{/each}
</div>
</div>
</div>
<footer>
<footer class="container">
<hr />
<p>
pronouns.cc <a href="https://codeberg.org/u1f320/pronouns.cc/commit/{commit}">{version}</a>