main #8
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
||||||
// IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN LAYOUT.ASTRO BECAUSE FUCK ME
|
// 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() {
|
function enableSGA() {
|
||||||
document.getElementById("body").style.fontFamily = "standardGalactic, system-ui";
|
document.getElementById("body").style.fontFamily = "standardGalactic, system-ui";
|
||||||
|
|
|
@ -16,7 +16,7 @@ const { title } = Astro.props;
|
||||||
<head>
|
<head>
|
||||||
<Head title={title} />
|
<Head title={title} />
|
||||||
</head>
|
</head>
|
||||||
<body onload="test" id="body">
|
<body onload="onload()" id="body">
|
||||||
<Header />
|
<Header />
|
||||||
<section class="content center">
|
<section class="content center">
|
||||||
<h1 class="title">{title}</h1>
|
<h1 class="title">{title}</h1>
|
||||||
|
|
Loading…
Reference in a new issue