feat: blinkies :3

This commit is contained in:
dusk 2024-12-03 14:01:19 +03:00
parent 6acc9005d2
commit f2a028707d
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
20 changed files with 12 additions and 2 deletions

View File

@ -4,5 +4,10 @@ import { steamGetNowPlaying } from "$lib/steam"
export const load = async ({}) => {
const lastTrack = await lastFmGetNowPlaying()
const lastGame = await steamGetNowPlaying()
return {lastTrack, lastGame}
}
const banners = [getBannerNo(), getBannerNo(), getBannerNo()]
return {banners, lastTrack, lastGame}
}
const getBannerNo = () => {
return Math.floor(Math.random() * 18) + 1;
};

View File

@ -11,6 +11,11 @@
<div class="flex flex-col gap-y-2 lg:gap-y-0">
<Window title="readme?" iconUri="/icons/question.png">
<div class="flex flex-col prose prose-ralsei prose-img:m-0 leading-none">
<div class="flex flex-row gap-2 mb-2 mx-auto overflow-x-scroll">
{#each data.banners as bannerNo}
<img width=150 height=20 alt="banner" class="w-[150px] h-[20px] [image-rendering:pixelated_!important]" src="/banners/{bannerNo}.gif">
{/each}
</div>
<div class="flex flex-grow">
<Tooltip x="-translate-x-[40%]" targetX="group-hover:-translate-x-[10%]">
<svelte:fragment slot="tooltipContent">character from q.u.q. (good vn go read it NOW)</svelte:fragment>

BIN
static/banners/1.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

BIN
static/banners/10.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
static/banners/11.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
static/banners/12.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/banners/13.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
static/banners/14.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
static/banners/15.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
static/banners/16.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/banners/17.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/banners/18.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

BIN
static/banners/2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
static/banners/3.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

BIN
static/banners/4.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
static/banners/5.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 913 B

BIN
static/banners/6.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

BIN
static/banners/7.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

BIN
static/banners/8.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
static/banners/9.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB