even more binkies
All checks were successful
/ test (push) Successful in 14s

This commit is contained in:
Soph :3 2024-08-30 01:10:03 +03:00
parent 8870d89519
commit 819c98c014
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
4 changed files with 19 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

View file

@ -19,15 +19,32 @@ const binky = [
["https://sillylaird.nekoweb.org/", "sillylairdb.png"], ["https://sillylaird.nekoweb.org/", "sillylairdb.png"],
["https://2rin.nekoweb.org", "2rin.gif"], ["https://2rin.nekoweb.org", "2rin.gif"],
["https://status.cafe", "statuscafe.png"], ["https://status.cafe", "statuscafe.png"],
["https://windigone.nekoweb.org", "windigone.gif"] ["https://windigone.nekoweb.org", "windigone.gif"],
["https://eye.nekoweb.org", "eye.gif"],
["insane.gif", "piracy.gif"]
]; ];
binky.forEach((z) => {
binky.forEach((z, i) => {
if(i == binky.length-1) {
z.forEach(g => {
const img = document.createElement("img");
img.src = `/assets/binkies/${g}`;
img.width = 88;
img.height = 31;
img.alt = `!! binkie !!`;
binkies.appendChild(img);
})
return;
}
const a = document.createElement("a"); const a = document.createElement("a");
a.href = z[0]; a.href = z[0];
a.ariaLabel = `${z[1]}'s website`; a.ariaLabel = `${z[1]}'s website`;
a.className = "hasBadge"; a.className = "hasBadge";
const img = document.createElement("img"); const img = document.createElement("img");
img.src = `/assets/binkies/${z[1]}`; img.src = `/assets/binkies/${z[1]}`;
img.width = 88; img.width = 88;
img.height = 31; img.height = 31;