From 515819ee6cf7fd199f09985a323b827e913ca035 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 1 Jan 2025 16:50:21 +0100 Subject: [PATCH] Config: improve 404-page: use signup guy image --- assets/svg/license_info.json | 10 ++++++++++ assets/svg/world.svg | 1 + assets/svg/world.svg.license | 2 ++ src/UI/NotFound.svelte | 26 +++++++++++++++----------- src/assets/svg/World.svelte | 4 ++++ 5 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 assets/svg/world.svg create mode 100644 assets/svg/world.svg.license create mode 100644 src/assets/svg/World.svelte diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json index b5712434e..5ed16d9cd 100644 --- a/assets/svg/license_info.json +++ b/assets/svg/license_info.json @@ -1318,5 +1318,15 @@ "sources": [ "https://www.wikipedia.org/" ] + }, + { + "path": "world.svg", + "license": "GPL 2.0", + "authors": [ + "https://github.com/hiddewie" + ], + "sources": [ + "https://github.com/openstreetmap/openstreetmap-website/blob/d38f6484e1aa201284b7eac19dbcc7fad856b88a/assets/sign-up-illustration.svg" + ] } ] \ No newline at end of file diff --git a/assets/svg/world.svg b/assets/svg/world.svg new file mode 100644 index 000000000..ffa41b9f7 --- /dev/null +++ b/assets/svg/world.svg @@ -0,0 +1 @@ + diff --git a/assets/svg/world.svg.license b/assets/svg/world.svg.license new file mode 100644 index 000000000..e3ef47e6c --- /dev/null +++ b/assets/svg/world.svg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: https://github.com/hiddewie +SPDX-License-Identifier: GPL 2.0 \ No newline at end of file diff --git a/src/UI/NotFound.svelte b/src/UI/NotFound.svelte index 01124ed47..9bbdfb6bf 100644 --- a/src/UI/NotFound.svelte +++ b/src/UI/NotFound.svelte @@ -3,21 +3,25 @@ import Translations from "./i18n/Translations.ts" import BackButton from "./Base/BackButton.svelte" import Not_found from "../assets/svg/Not_found.svelte" + import World from "../assets/svg/World.svelte" + console.log("???") -
- +
+
+

- +

- { +
+ { window.location = "index.html" }} - > -
- -
-
-
+ > +
+ +
+ +
diff --git a/src/assets/svg/World.svelte b/src/assets/svg/World.svelte new file mode 100644 index 000000000..f2d897754 --- /dev/null +++ b/src/assets/svg/World.svelte @@ -0,0 +1,4 @@ + + \ No newline at end of file