Add main wrapper

This commit is contained in:
Leonardo Murça 2025-06-03 17:14:23 -03:00
parent 0bdef1739a
commit b6aa353ea9
2 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,6 @@
// @ts-nocheck
function appVersion() {
/* eslint-disable no-undef */
return APP_VERSION;
}

View file

@ -10,8 +10,18 @@
{#if !$loading && $locale !== undefined}
<Header />
<main>
<slot />
</main>
<Footer />
{:else}
<LoadingTranslations />
{/if}
<style>
main {
flex: 1; /* This pushes footer to bottom */
padding: 20px;
min-height: 90vh;
}
</style>