moar blinkies

This commit is contained in:
Elizabeth Hunt 2024-03-27 20:08:58 -06:00
parent b6e8e04109
commit b2fa4fe945
Signed by untrusted user who does not match committer: simponic
GPG Key ID: 52B3774857EB24B1
7 changed files with 14 additions and 7 deletions

BIN
static/img/blinkies/bee.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

View File

@ -1,8 +1,11 @@
const preferredMode = window.matchMedia("(prefers-color-scheme: dark)").matches
? "DARK"
: "LIGHT";
localStorage.setItem("theme", localStorage.getItem("theme") || preferredMode);
// sets theme before rendering & jquery loaded to prevent flashing of uninitialized theme
// (ugly white background)
document.documentElement.setAttribute("data-theme", preferredMode);
localStorage.setItem("theme", localStorage.getItem("theme") || preferredMode);
document.documentElement.setAttribute(
"data-theme",
localStorage.getItem("theme"),
);

View File

@ -50,11 +50,15 @@
<div class="footer">
<div>
<img width="150" height="20" src="/static/img/blinkies/hatecomputers-club.gif">
<img width="150" height="20" src="/static/img/blinkies/loveuguys.gif">
<img width="150" height="20" src="/static/img/blinkies/autism.gif">
<img width="150" height="20" src="/static/img/blinkies/fuckcomputers.gif">
<img width="150" height="20" src="/static/img/blinkies/connection.gif">
<img width='150' height='20' src='/static/img/blinkies/hatecomputers-club.gif'>
<img width='150' height='20' src='/static/img/blinkies/autism.gif'>
<img width='150' height='20' src='/static/img/blinkies/fuckcomputers.gif'>
<img width='150' height='20' src='/static/img/blinkies/bee.gif'>
<img width='150' height='20' src='/static/img/blinkies/begaydocrime.gif'>
<img width='150' height='20' src='/static/img/blinkies/bored.gif'>
<img width='150' height='20' src='/static/img/blinkies/connection.gif'>
<img width='150' height='20' src='/static/img/blinkies/eepy.gif'>
<img width='150' height='20' src='/static/img/blinkies/loveuguys.gif'>
</div>
{{ if .User }}