From e20bb5074688d214b2f18a73d1d3f80ae1177184 Mon Sep 17 00:00:00 2001 From: ByteDice Date: Wed, 8 Jan 2025 18:36:00 +0100 Subject: [PATCH] organized global files --- .../loadingScreenTips.json | 0 navBarData.json => data/navBarData.json | 0 globalScript.js => global/globalScript.js | 0 globalStyle.css => global/globalStyle.css | 0 loadingScreen.css => global/loadingScreen.css | 0 loadingScreen.js => global/loadingScreen.js | 2 +- navBar.css => global/navBar.css | 0 pxDensity.js => global/pxDensity.js | 0 screenTransition.js => global/screenTransition.js | 0 index.html | 14 +++++++------- 10 files changed, 8 insertions(+), 8 deletions(-) rename loadingScreenTips.json => data/loadingScreenTips.json (100%) rename navBarData.json => data/navBarData.json (100%) rename globalScript.js => global/globalScript.js (100%) rename globalStyle.css => global/globalStyle.css (100%) rename loadingScreen.css => global/loadingScreen.css (100%) rename loadingScreen.js => global/loadingScreen.js (93%) rename navBar.css => global/navBar.css (100%) rename pxDensity.js => global/pxDensity.js (100%) rename screenTransition.js => global/screenTransition.js (100%) diff --git a/loadingScreenTips.json b/data/loadingScreenTips.json similarity index 100% rename from loadingScreenTips.json rename to data/loadingScreenTips.json diff --git a/navBarData.json b/data/navBarData.json similarity index 100% rename from navBarData.json rename to data/navBarData.json diff --git a/globalScript.js b/global/globalScript.js similarity index 100% rename from globalScript.js rename to global/globalScript.js diff --git a/globalStyle.css b/global/globalStyle.css similarity index 100% rename from globalStyle.css rename to global/globalStyle.css diff --git a/loadingScreen.css b/global/loadingScreen.css similarity index 100% rename from loadingScreen.css rename to global/loadingScreen.css diff --git a/loadingScreen.js b/global/loadingScreen.js similarity index 93% rename from loadingScreen.js rename to global/loadingScreen.js index 622dfc1..38948f6 100644 --- a/loadingScreen.js +++ b/global/loadingScreen.js @@ -8,7 +8,7 @@ let tipsJson async function loadTips() { - let tipsText = await fetch("./loadingScreenTips.json").then(response => response.text()) + let tipsText = await fetch("./data/loadingScreenTips.json").then(response => response.text()) tipsJson = JSON.parse(tipsText) } diff --git a/navBar.css b/global/navBar.css similarity index 100% rename from navBar.css rename to global/navBar.css diff --git a/pxDensity.js b/global/pxDensity.js similarity index 100% rename from pxDensity.js rename to global/pxDensity.js diff --git a/screenTransition.js b/global/screenTransition.js similarity index 100% rename from screenTransition.js rename to global/screenTransition.js diff --git a/index.html b/index.html index 85263d8..0531fe9 100644 --- a/index.html +++ b/index.html @@ -6,9 +6,9 @@ Byte Dice - - - + + + @@ -80,10 +80,10 @@ - - - - + + + +