From 4239221f3504c6458150478f0e4bed94cdf40bdb Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 1 Jan 2025 16:42:56 +0100 Subject: [PATCH] Config: improve 404-page --- 404.html | 78 +++++++++++++++++++----------------------- src/UI/NotFound.svelte | 9 ++--- 2 files changed, 40 insertions(+), 47 deletions(-) diff --git a/404.html b/404.html index 58def5685..abeeabcc5 100644 --- a/404.html +++ b/404.html @@ -1,57 +1,49 @@ - - - - - - - + + + + + + + - MapComplete - page not found - - - - + MapComplete - page not found + + + + - - - - - - - - - - + + + + + + + + + + - + - -
- - - - -
- -
- Not found... -
- +
- + diff --git a/src/UI/NotFound.svelte b/src/UI/NotFound.svelte index 0ff564919..01124ed47 100644 --- a/src/UI/NotFound.svelte +++ b/src/UI/NotFound.svelte @@ -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("???") -
-
+
+ +

+

{ window.location = "index.html" }} @@ -19,4 +21,3 @@
-