MapComplete/src/UI/NotFound.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
735 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
<div class="flex flex-col items-center justify-center w-full h-full p-8">
<div class="flex flex-col items-center">
<World style="height: 200px" />
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={() => {
2024-06-16 16:06:26 +02:00
window.location = "index.html"
}}
>
<div class="flex w-full justify-center">
<Tr t={Translations.t.general.backToIndex} />
</div>
</BackButton>
</div>