main #8

Closed
limepotato wants to merge 183 commits from main into blog-drafts
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 7a673cd588 - Show all commits

View file

@ -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"));
}

View file

@ -29,10 +29,10 @@ const { title } = Astro.props;
src="/scripts/fuckchrome.js"
></script>
<script type="text/javascript">
// 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";
document.getElementById("body").style.fontWeight = "lighter";
sessionStorage.setItem("sgaEnabled", 1);
console.debug(sessionStorage.getItem("sgaEnabled"));
}