main #8
3 changed files with 11 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -3,6 +3,5 @@
|
|||
|
||||
<!-- unoptimized -->
|
||||
<script is:inline src="/scripts/ntfy.js"></script>
|
||||
<script is:inline src="/scripts/sga.js"></script>
|
||||
<script is:inline src="/scripts/lastfm.js"></script>
|
||||
<script is:inline src="/scripts/sound.js"></script>
|
|
@ -28,6 +28,7 @@ const { title } = Astro.props;
|
|||
is:inline
|
||||
src="/scripts/fuckchrome.js"
|
||||
></script>
|
||||
<script is:inline src="/scripts/sga.js"></script>
|
||||
<audio
|
||||
id="clickSound"
|
||||
src="/assets/sounds/ui/zapsplat_multimedia_button_click_004_68776.mp3">
|
||||
|
|
Loading…
Reference in a new issue