diff --git a/404.html b/404.html deleted file mode 100644 index 0c5a8be..0000000 --- a/404.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - 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/data/navBar.json b/data/navBar.json index 5dc7d68..7d240dd 100644 --- a/data/navBar.json +++ b/data/navBar.json @@ -1,10 +1,4 @@ [ - { - "icon": "discord_8x8.png", - "action": "navigate", - "actionValue": "https://discord.com", - "disabled": true - }, { "icon": "youtube_8x8.png", "action": "navigate", diff --git a/global/globalScript.js b/global/globalScript.js index 71c5400..12da6c8 100644 --- a/global/globalScript.js +++ b/global/globalScript.js @@ -99,6 +99,7 @@ function toggleGrid(offX = 0, offY = 0) { let repeatCountY = window.innerHeight / pxDensity ctx.strokeStyle = "#ff0000" + ctx.strokeSize = 1 ctx.beginPath() for (x = 0; x < repeatCountX; x++) { @@ -172,7 +173,9 @@ document.addEventListener("DOMContentLoaded", async function() { switch (CURRENT_PAGE) { case (PAGES.SYNTHWAVE): loadingScreenSynthwave(); break - case (PAGES.LICENSE): onLoadLicense(); break + case (PAGES.LICENSE): onLoadLicense(); loadingScreenStars(); break + case (PAGES.TOYS): loadingScreenStars(); break + case (PAGES.LIBS): loadingScreenStars(); break } if (navBarPresent) { diff --git a/global/globalStyle.css b/global/globalStyle.css index bde121a..e5140de 100644 --- a/global/globalStyle.css +++ b/global/globalStyle.css @@ -99,4 +99,14 @@ canvas { } .switch input:checked + .switchDecor:before { transform: translateX(calc(4px * var(--pxDensity))); +} +#starNoise { + position: absolute; + top: 0%; + left: 0%; + width: calc(512px * var(--pxDensity)); + height: auto; + aspect-ratio: 1 / 1; + image-rendering: pixelated; + transform: translate(-50%, -50%); } \ No newline at end of file diff --git a/index.html b/index.html index 32ed08e..8c67e49 100644 --- a/index.html +++ b/index.html @@ -66,7 +66,7 @@ - + \ No newline at end of file diff --git a/libs/index.html b/libs/index.html index 7d7e43b..a768890 100644 --- a/libs/index.html +++ b/libs/index.html @@ -28,6 +28,9 @@
+ + +