From 37ebd63e3b91699dd5f32cfbf852954ce0c94897 Mon Sep 17 00:00:00 2001 From: Byte Dice Date: Sat, 25 Jan 2025 22:04:48 +0100 Subject: [PATCH] added 404 page --- 404.html | 42 ++++++++++++++++++++++++++++++++++++++++++ global/globalScript.js | 9 +++++---- script_404.js | 1 + sitemap.xml | 5 +++++ 4 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 404.html create mode 100644 script_404.js diff --git a/404.html b/404.html new file mode 100644 index 0000000..0c5a8be --- /dev/null +++ b/404.html @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + Byte Dice - 404 + + + +
+

404 - Page not found.
+ But you found this page, so... good job, I guess?

+ Have a picture of a cat instead:
+
+ Oh yeah, you go to the homepage by pressing the button with 3 dots in the bottom.
+ It's supposed to represent a 3-dice roll. +

+ +
+ +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/global/globalScript.js b/global/globalScript.js index 1ebe7d5..453b869 100644 --- a/global/globalScript.js +++ b/global/globalScript.js @@ -1,8 +1,9 @@ const PAGES = { - null: -1, - SYNTHWAVE: 0, - TOYS: 1, - LICENSE: 2, + _404: -1, + null: 0, + SYNTHWAVE: 1, + TOYS: 2, + LICENSE: 3, } const CONSOLE_COLORS = { red: "color: #FF0000;", diff --git a/script_404.js b/script_404.js new file mode 100644 index 0000000..ed37eb7 --- /dev/null +++ b/script_404.js @@ -0,0 +1 @@ +CURRENT_PAGE = PAGES._404 \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index a19d663..1b7e846 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -10,6 +10,11 @@ 0.67 2025-01-25 + + https://www.bytedice.net/404.html + 0.67 + 2025-01-25 + https://www.bytedice.net/toys/license 0.33