This commit is contained in:
Nycki 2024-11-24 11:31:49 -08:00
parent b7cdd4f108
commit 136daa54bc
10 changed files with 33 additions and 0 deletions

View file

@ -23,6 +23,7 @@
<li><a href="/">home</a></li>
<li><a href="/blog">blog</a></li>
<li><a href="/cookbook">cookbook</a></li>
<li><a href="/stickers">stickers</a></li>
</ul>
</nav>
</header>

32
content/stickers/index.md Normal file
View file

@ -0,0 +1,32 @@
---
layout: layouts/base.njk
title: stickers
---
# {{ title }}
Click to copy a link to your clipboard!
<img class='sticker' src='/a/klay-blep.webp' alt='klay-blep, by djuan' title='klay-blep, by djuan'>
<img class='sticker' src='/a/klay-plead.webp' alt='klay-plead, by djuan' title='klay-plead, by djuan'>
<img class='sticker' src='/a/klay-think.webp' alt='klay-think, by djuan' title='klay-think, by djuan'>
<img class='sticker' src='/a/klay-happy.webp' alt='klay-happy, by mikifluffs' title='klay-happy, by mikifluffs'>
<img class='sticker' src='/a/klay-pet.webp' alt='klay-pet, by mikifluffs' title='klay-pet, by mikifluffs'>
<img class='sticker' src='/a/klay-point.webp' alt='klay-point, by mikifluffs' title='klay-point, by mikifluffs'>
<img class='sticker' src='/a/klay-shrug.webp' alt='klay-shrug, by mikifluffs' title='klay-shrug, by mikifluffs'>
<img class='sticker' src='/a/klay-jojo.webp' alt='klay-jojo, by queen ty' title='klay-jojo, by queen ty'>
<script>
// sticker click script by nycki 2024
const elements = document.getElementsByClassName('sticker');
for (const el of elements) {
el.onclick = async (ev) => {
ev.preventDefault();
const prevFilter = el.style['filter'];
el.style['filter'] = 'invert(1)';
setTimeout(() => el.style['filter'] = prevFilter, 50);
await navigator.clipboard.writeText(el.src);
}
}
</script>

BIN
public/a/klay-blep.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
public/a/klay-happy.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
public/a/klay-jojo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
public/a/klay-pet.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
public/a/klay-plead.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
public/a/klay-point.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
public/a/klay-shrug.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
public/a/klay-think.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB