Config: improve 404-page: use signup guy image

This commit is contained in:
Pieter Vander Vennet 2025-01-01 16:50:21 +01:00
parent 4239221f35
commit 515819ee6c
5 changed files with 32 additions and 11 deletions

View file

@ -1318,5 +1318,15 @@
"sources": [ "sources": [
"https://www.wikipedia.org/" "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"
]
} }
] ]

1
assets/svg/world.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 49 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: https://github.com/hiddewie
SPDX-License-Identifier: GPL 2.0

View file

@ -3,21 +3,25 @@
import Translations from "./i18n/Translations.ts" import Translations from "./i18n/Translations.ts"
import BackButton from "./Base/BackButton.svelte" import BackButton from "./Base/BackButton.svelte"
import Not_found from "../assets/svg/Not_found.svelte" import Not_found from "../assets/svg/Not_found.svelte"
import World from "../assets/svg/World.svelte"
console.log("???") console.log("???")
</script> </script>
<div class="flex flex-col items-center justify-center w-full h-full p-8"> <div class="flex flex-col items-center justify-center w-full h-full p-8">
<Not_found class="h-32"/> <div class="flex flex-col items-center">
<World style="height: 200px" />
<h1> <h1>
<Tr t={Translations.t.general["404"]} /> <Tr t={Translations.t.general["404"]} />
</h1> </h1>
<BackButton </div>
on:click={() => { <BackButton
on:click={() => {
window.location = "index.html" window.location = "index.html"
}} }}
> >
<div class="flex w-full justify-center"> <div class="flex w-full justify-center">
<Tr t={Translations.t.general.backToIndex} /> <Tr t={Translations.t.general.backToIndex} />
</div> </div>
</BackButton> </BackButton>
</div> </div>

File diff suppressed because one or more lines are too long