MapComplete/src/UI/NotFound.svelte

29 lines
731 B
Svelte
Raw Normal View History

<script>
2023-07-15 19:28:59 +02:00
import Tr from "./Base/Tr.svelte"
import Translations from "./i18n/Translations.ts"
import BackButton from "./Base/BackButton.svelte"
2025-01-01 16:42:56 +01:00
import Not_found from "../assets/svg/Not_found.svelte"
import World from "../assets/svg/World.svelte"
console.log("???")
</script>
2023-07-15 19:28:59 +02:00
2025-01-02 15:34:59 +01:00
<div class="flex h-full w-full flex-col items-center justify-center p-8">
<div class="flex flex-col items-center">
2025-06-13 01:38:07 +02:00
<World class="w-full h-auto"/>
2025-01-01 16:42:56 +01:00
<h1>
<Tr t={Translations.t.general["404"]} />
2025-01-01 16:42:56 +01:00
</h1>
</div>
<BackButton
on:click={() => {
2025-01-02 15:34:59 +01:00
window.location = "index.html"
}}
>
<div class="flex w-full justify-center">
<Tr t={Translations.t.general.backToIndex} />
</div>
</BackButton>
</div>