From 7a673cd588e0d6c8436f7041cad6cad910f1259b Mon Sep 17 00:00:00 2001 From: limepotato Date: Sat, 24 Aug 2024 03:11:56 -0600 Subject: [PATCH] lol --- astro/public/scripts/sga.js | 3 ++- astro/src/layouts/Layout.astro | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/astro/public/scripts/sga.js b/astro/public/scripts/sga.js index 935afae..a9d9f76 100644 --- a/astro/public/scripts/sga.js +++ b/astro/public/scripts/sga.js @@ -1,6 +1,7 @@ +// IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN LAYOUT.ASTRO BECAUSE FUCK ME + function enableSGA() { document.getElementById("body").style.fontFamily = "standardGalactic, system-ui"; - document.getElementById("body").style.fontWeight = "lighter"; sessionStorage.setItem("sgaEnabled", 1); console.debug(sessionStorage.getItem("sgaEnabled")); } diff --git a/astro/src/layouts/Layout.astro b/astro/src/layouts/Layout.astro index 8198a12..cc850f5 100755 --- a/astro/src/layouts/Layout.astro +++ b/astro/src/layouts/Layout.astro @@ -29,10 +29,10 @@ const { title } = Astro.props; src="/scripts/fuckchrome.js" >