Config: improve 404-page

This commit is contained in:
Pieter Vander Vennet 2025-01-01 16:42:56 +01:00
parent b0612ac6b1
commit 4239221f35
2 changed files with 40 additions and 47 deletions

View file

@ -2,14 +2,16 @@
import Tr from "./Base/Tr.svelte"
import Translations from "./i18n/Translations.ts"
import BackButton from "./Base/BackButton.svelte"
import Not_found from "../assets/svg/Not_found.svelte"
console.log("???")
</script>
<main>
<div class="flex flex-col">
<div class="flex flex-col items-center justify-center w-full h-full p-8">
<Not_found class="h-32"/>
<h1>
<Tr t={Translations.t.general["404"]} />
</h1>
<BackButton
clss="m-8"
on:click={() => {
window.location = "index.html"
}}
@ -19,4 +21,3 @@
</div>
</BackButton>
</div>
</main>