diff --git a/src/lib/components/layout/Footer.svelte b/src/lib/components/layout/Footer.svelte index 0425caa..9ca0efc 100644 --- a/src/lib/components/layout/Footer.svelte +++ b/src/lib/components/layout/Footer.svelte @@ -7,16 +7,10 @@ ? __COMMIT_HASH__ : null; - const items = $derived([ - [m["footer.source_code"](), GITHUB_URL_VERT], - [m["footer.discord_server"](), DISCORD_URL], - [m["footer.privacy_policy"](), "/privacy"], - ...(commitHash - ? [[commitHash, `${GITHUB_URL_VERT}/commit/${commitHash}`]] - : []), - ]); - const year = new Date().getFullYear(); + + // we can't use svelte snippets or a derived object to render the footer as it causes a full-page reload + // ...for some reason. i have no idea, maybe it's to do with the {#key $locale} in +layout.svelte