diff --git a/astro/public/scripts/sga.js b/astro/public/scripts/sga.js index fb44628..1823247 100644 --- a/astro/public/scripts/sga.js +++ b/astro/public/scripts/sga.js @@ -5,6 +5,16 @@ function onload() { } } +/* + // IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN SGA.JS BECAUSE FUCK ME + if (sessionStorage.getItem("sgaEnabled")) { + document.getElementById("body").style.fontFamily = + "standardGalactic, system-ui"; + sessionStorage.setItem("sgaEnabled", 1); + console.debug(sessionStorage.getItem("sgaEnabled")); + } +*/ + function enableSGA() { document.getElementById("body").style.fontFamily = "standardGalactic, system-ui"; sessionStorage.setItem("sgaEnabled", 1); diff --git a/astro/src/components/scripts/normal-scripts.astro b/astro/src/components/scripts/normal-scripts.astro index 6a89220..69aea77 100644 --- a/astro/src/components/scripts/normal-scripts.astro +++ b/astro/src/components/scripts/normal-scripts.astro @@ -3,6 +3,5 @@ - \ No newline at end of file diff --git a/astro/src/layouts/Layout.astro b/astro/src/layouts/Layout.astro index f6dc897..6007c6d 100755 --- a/astro/src/layouts/Layout.astro +++ b/astro/src/layouts/Layout.astro @@ -28,6 +28,7 @@ const { title } = Astro.props; is:inline src="/scripts/fuckchrome.js" > +