shii.moe

Source for `shii.moe' website.
git clone git://git.knutsen.co/shii.moe
Log | Files | Refs | README | LICENSE

commit 03d7ac9ad6583a9af78d46da3effc228104033f5
parent dae47d6008089e5eb9b0bc545063b31597b305bf
Author: knutsen <samuel@knutsen.co>
Date:   Thu, 24 Jun 2021 00:04:58 +0100

Use Github URL instead.

Diffstat:
Mpublic/image.js | 9+++++----
Mstatic/index.html | 2+-
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/public/image.js b/public/image.js @@ -9,10 +9,11 @@ const randomYui = () => { mascot.setAttribute("src", stem + ".png"); favicon.setAttribute("href", stem + "-square.png"); - if (pick === 11) useColourScheme('pink'); - if (pick === 15) useColourScheme('green'); - else if (pick === 16) useColourScheme('rainbow'); - else useColourScheme('default'); + useColourScheme({ + 11: 'pink', + 15: 'green', + 16: 'rainbow' + }[pick] || 'default'); } mascot.addEventListener("click", randomYui) diff --git a/static/index.html b/static/index.html @@ -40,7 +40,7 @@ <li>My Mum says I'm cool</li> <li>I'll give you kisses</li> <li>I have a PGP key: <a href="shiimoe.rsa"><code>A5E16A6FFC9DD158</code></a></li> - <li>My website is <a href="https://git.knutsen.co/shii.moe">open source!</a></li> + <li>My website is <a href="https://github.com/Shiimoe/shii.moe">open source!</a></li> </ol> </div>