Migrate to sveltekit #26

Merged
leomurca merged 36 commits from migrate-to-sveltekit into development 2025-06-04 21:41:44 +00:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit b6aa353ea9 - Show all commits

View file

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

View file

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