subtitle now changes between a selected few

This commit is contained in:
RustyStriker 2022-08-07 23:43:10 +03:00
parent e5df14df37
commit dd47134dca
1 changed files with 14 additions and 2 deletions

View File

@ -40,11 +40,23 @@
<a href = "https://rustystriker.dev/">
<h1 style="margin-bottom:0px;">Rusty's Website</h1>
</a>
<p style = "margin-top: 0px;">
<p id="subtitle" style = "margin-top: 0px;">
A place for wanky stuff, weird JavaScript and warm-ish takes
</p>
<a href = "https://rustystriker.dev/about.html">About</a>
<a href = "https://gitea.rustystriker.dev/RustyStriker/website">Source</a>
<a href = "https://rustystriker.dev/licenses.html">Licenses</a>
<!-- <a href = "https://rustystriker.dev/licenses.html">Licenses</a> -->
</div>
<script>
let opts = [
"A place for wanky stuff, weird JavaScript and wam-ish takes",
"not a graphic designer",
"Just another semi-old school website",
"This website uses absolutely no cookies",
"This website is provided as is with no warranty",
"For the best experience you might want to use Firefox/Librewolf",
"I use <a href= \"https://artixlinux.org/\" >Artix</a> btw",
];
document.getElementById("subtitle").innerHTML = opts[Math.floor(Math.random() * opts.length)];
</script>
</header>