From ea694508bb7a0a0103c43f830e12fdba751db489 Mon Sep 17 00:00:00 2001 From: Riccardo Graziosi <31478034+riggraz@users.noreply.github.com> Date: Sun, 25 Feb 2024 15:38:41 +0100 Subject: [PATCH] Customize pages for errors 404, 422 and 500 (#297) --- public/404.html | 69 ++++++++----------------------------------- public/422.html | 69 ++++++++----------------------------------- public/500.html | 68 ++++++++---------------------------------- public/error-404.png | Bin 0 -> 4665 bytes public/error-422.png | Bin 0 -> 3186 bytes public/error-500.png | Bin 0 -> 3157 bytes public/style.css | 28 ++++++++++++++++++ 7 files changed, 64 insertions(+), 170 deletions(-) create mode 100644 public/error-404.png create mode 100644 public/error-422.png create mode 100644 public/error-500.png create mode 100644 public/style.css diff --git a/public/404.html b/public/404.html index 2be3af26..ef2afdcc 100644 --- a/public/404.html +++ b/public/404.html @@ -1,67 +1,22 @@
-You may have mistyped the address or the page may have moved.
-If you are the application owner check the logs for more information.
+ diff --git a/public/422.html b/public/422.html index c08eac0d..75547bde 100644 --- a/public/422.html +++ b/public/422.html @@ -1,67 +1,22 @@ -Maybe you tried to change something you didn't have access to.
-If you are the application owner check the logs for more information.
+
+ + The change you wanted was rejected. If you're trying to do something bad, our team of astute foxes is already looking out for you. Watch out! +
++ If you think you should be allowed to do this, then contact us. +
If you are the application owner check the logs for more information.
+
+ + We're sorry. Wait a moment and try again. +
++ If the issue persists, contact us. +
v3`rv+V0Tch!sJYLi7kO=P9M$u(