fucks sake

This commit is contained in:
nelle 2024-08-24 03:26:05 -06:00
parent 7a673cd588
commit 151d84c9ff
2 changed files with 6 additions and 1 deletions

View file

@ -1,4 +1,9 @@
// IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN LAYOUT.ASTRO BECAUSE FUCK ME
function onload() {
if (sessionStorage.getItem("sgaEnabled")) {
enableSGA()
}
}
function enableSGA() {
document.getElementById("body").style.fontFamily = "standardGalactic, system-ui";

View file

@ -16,7 +16,7 @@ const { title } = Astro.props;
<head>
<Head title={title} />
</head>
<body onload="test" id="body">
<body onload="onload()" id="body">
<Header />
<section class="content center">
<h1 class="title">{title}</h1>