binkies tsified cause too many
All checks were successful
/ test (push) Successful in 14s

This commit is contained in:
Soph :3 2024-08-29 02:42:24 +03:00
parent 05f62f7025
commit a91e7967b4
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
4 changed files with 37 additions and 40 deletions

View file

@ -4,6 +4,7 @@ import Dev from "sssg/src/plugins/dev";
import TSCompiler from "sssg/src/plugins/ts-compiler";
import MarkdownMetadata from "sssg/src/plugins/markdown-metadata";
import MarkdownCompiler from "sssg/src/plugins/markdown-compiler";
import CompileTimeJS from "sssg/src/plugins/compile-time-js";
import * as path from "path";
import * as fs from "fs";
@ -15,6 +16,7 @@ const sssg = new SSSG({
await sssg.run({
plugins: [
new CompileTimeJS(),
new Variables(() => {
const variables: Record<string, string> = {
__BLOG_POSTS__: JSON.stringify(

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,34 @@
const binkies = document.querySelector(".binkies")!;
const binky = [
["https://sad.ovh", "sadovh.png"],
["https://unnick.mice.tel", "unnick.png"],
[
"https://github.com/NotNite/eightyeightthirtyone",
"eighteightthirtyone.png",
],
["https://onz.ee", "shame.png"],
["https://moosyu.github.io", "moosyu.gif"],
["https://trademarkhell.net/", "tm.png"],
["https://thinliquid.dev", "lqd.png"],
["https://joosh.nekoweb.org/", "joosh.gif"],
["https://ctrlaustin.nekoweb.org", "ctrlaustin.gif"],
["https://satorikeiko.surge.sh", "satorikeiko.png"],
["https://nekoaerospace.nekoweb.org", "nekoaerospace.png"],
["https://derg.rest", "tom.png"],
];
binky.forEach((z) => {
const a = document.createElement("a");
a.href = z[0];
a.ariaLabel = `${z[1]}'s website`;
a.className = "hasBadge";
const img = document.createElement("img");
img.src = `/assets/binkies/${z[1]}`;
img.width = 88;
img.height = 31;
img.alt = `${z[0]} binkie`;
a.appendChild(img);
binkies.appendChild(a);
});