diff --git a/assets/sass/floatImage.scss b/assets/sass/floatImage.scss index 74df275a6..5ddff4e95 100644 --- a/assets/sass/floatImage.scss +++ b/assets/sass/floatImage.scss @@ -11,4 +11,10 @@ float: left; margin-right: 2rem; } + + &--center > figure { + float: none; + margin-left: auto; + margin-right: auto; + } } diff --git a/content/404/error.webp b/content/404/error.webp new file mode 100644 index 000000000..342d90eda Binary files /dev/null and b/content/404/error.webp differ diff --git a/content/404/index.de.md b/content/404/index.de.md index 93591da2a..e6bc960f0 100644 --- a/content/404/index.de.md +++ b/content/404/index.de.md @@ -4,12 +4,20 @@ params: pagefind_ignore: true --- -Hoppla! Die gesuchte Seite ist nicht verfügbar oder wurde verschoben. +{{% float-image + src="error.webp" + height="50%" + position="center" +/%}} + +
Hoppla! Die gesuchte Seite ist nicht verfügbar oder wurde verschoben.
+ +{{% intersector %}} Probiere folgende Dinge: - **URL überprüfen:** Stelle sicher, dass die Adresse keine Tippfehler enthält. -- **Zur Startseite:** Kehre zur Startseite zurück und navigiere von dort aus. +- **Zur Startseite:** Kehre zur [Startseite](/) zurück und navigiere von dort aus. - **Navigation nutzen:** Nutze das Menü oder die Suchfunktion. - **Kontaktiere uns:** Bei Fragen oder Problemen kannst du dich gerne an uns wenden: [nextstop@fipguide.org](mailto:nextstop@fipguide.org) diff --git a/content/404/index.en.md b/content/404/index.en.md index 4a19b9304..6caaeb9c7 100644 --- a/content/404/index.en.md +++ b/content/404/index.en.md @@ -1,17 +1,23 @@ --- title: "404 – Page not found" -aliases: - - /404.html params: pagefind_ignore: true --- -Oops! The page you’re looking for is unavailable or has been moved. +{{% float-image + src="error.webp" + height="50%" + position="center" +/%}} + +Oops! The page you're looking for is unavailable or has been moved.
+ +{{% intersector %}} Here's what you can do next: - **Double-check the URL:** Make sure there are no typos in the address. -- **Go to the homepage:** Return to the home page and navigate from there. +- **Go to the homepage:** Return to the [homepage](/) and navigate from there. - **Use the navigation:** Try browsing via the menu or using the search function. - **Contact us:** If you need assistance, feel free to reach out: [nextstop@fipguide.org](mailto:nextstop@fipguide.org) diff --git a/content/404/index.fr.md b/content/404/index.fr.md index fc6f2e9c4..8b7392831 100644 --- a/content/404/index.fr.md +++ b/content/404/index.fr.md @@ -4,13 +4,21 @@ params: pagefind_ignore: true --- -Oups ! La page que vous recherchez est indisponible ou a été déplacée. +{{% float-image + src="error.webp" + height="50%" + position="center" +/%}} -Voici ce que vous pouvez faire ensuite : +Oups ! La page que vous recherchez est indisponible ou a été déplacée.
-- **Vérifiez l’URL :** Assurez-vous qu’il n’y a pas de faute de frappe dans l’adresse. -- **Accédez à la page d’accueil :** Retournez à la page d’accueil et naviguez à partir de là. -- **Utilisez la navigation :** Essayez de naviguer via le menu ou d’utiliser la fonction de recherche. -- **Contactez-nous :** Si vous avez besoin d’aide, n’hésitez pas à nous contacter : [nextstop@fipguide.org](mailto:nextstop@fipguide.org) +{{% intersector %}} -Nous sommes là pour vous aider ! +Voici ce que vous pouvez faire ensuite : + +- **Vérifiez l'URL :** Assurez-vous qu'il n'y a pas de faute de frappe dans l'adresse. +- **Accédez à la page d'accueil :** Retournez à la [page d'accueil](/) et naviguez à partir de là. +- **Utilisez la navigation :** Essayez de naviguer via le menu ou d'utiliser la fonction de recherche. +- **Contactez-nous :** Si vous avez besoin d'aide, n'hésitez pas à nous contacter : [nextstop@fipguide.org](mailto:nextstop@fipguide.org) + +Nous sommes là pour vous aider ! diff --git a/static/404.html b/static/404.html new file mode 100644 index 000000000..3d5ca2fc5 --- /dev/null +++ b/static/404.html @@ -0,0 +1,42 @@ + + + ++ You should be rerouted in a second, if not, + click here. +
+ +