diff --git a/index.ts b/index.ts index ff5ee76..0d9d808 100644 --- a/index.ts +++ b/index.ts @@ -19,15 +19,17 @@ const sssg = new SSSG({ inputFolder: path.join(__dirname, "website"), }); -const gitLogShell = - await $`git log --pretty=format:'commit=%H%nauthor=%aN <%aE>%ndate=%ad%nmessage=%s%n=========' -1`.quiet(); -const gitLogOutput = gitLogShell.text("utf8"); -const gitLog = JSON.stringify(parseMetadata(gitLogOutput)); const plugins: Plugin[] = []; +let gitLog = "{}"; if (process.argv.includes("--dev")) { plugins.push(new Dev(sssg)); } else { + const gitLogShell = + await $`git log --pretty=format:'commit=%H%nauthor=%aN <%aE>%ndate=%ad%nmessage=%s%n=========' -1`.quiet(); + const gitLogOutput = gitLogShell.text("utf8"); + gitLog = JSON.stringify(parseMetadata(gitLogOutput)); + plugins.push(new ImageOptimization()); } @@ -37,7 +39,7 @@ await sssg.run({ new Variables(() => { const variables: Record = { __BLOG_POSTS__: JSON.stringify( - fs.readdirSync("./website/blogs").map((z) => z.replace(".md", "")) + fs.readdirSync("./website/blogs").map((z) => z.replace(".md", "")), ), __GIT_LOG_OUTPUT__: gitLog, }; diff --git a/website/assets/binkies/tom.png b/website/assets/binkies/tom.png deleted file mode 100644 index 7c4c476..0000000 Binary files a/website/assets/binkies/tom.png and /dev/null differ diff --git a/website/assets/binkies/ultrakill.png b/website/assets/binkies/ultrakill.png deleted file mode 100644 index 222fe5f..0000000 Binary files a/website/assets/binkies/ultrakill.png and /dev/null differ diff --git a/website/index.html b/website/index.html index b9ec874..3952df3 100644 --- a/website/index.html +++ b/website/index.html @@ -7,6 +7,7 @@ __TEMPLATE_HEAD__ + @@ -18,12 +19,11 @@ __TEMPLATE_HEAD__
Thanks thinliquid for creating this cute logo! -

I'm 18. My name's Sophie. I love listening to music.

+

I'm 18. I love listening to music.

I love to play games, code, and listen to music. #tybg

-

Did you know that I have a 6 gigabyte big MiDi collection? - (empty password/username)

+

Did you know that I have a 6 gigabyte big MiDi collection?

contact

@@ -89,14 +89,13 @@ __TEMPLATE_HEAD__

Skills

-
@@ -105,11 +104,6 @@ __TEMPLATE_HEAD__
- - -
@@ -118,4 +112,4 @@ __TEMPLATE_HEAD__ - \ No newline at end of file + diff --git a/website/scripts/binkies.ts b/website/scripts/binkies.ts index ff14368..2a22fab 100644 --- a/website/scripts/binkies.ts +++ b/website/scripts/binkies.ts @@ -2,7 +2,7 @@ const binkies = document.querySelector(".binkies")!; const binky = [ ["https://sad.ovh", "sadovh.png"], - ["https://unnick.mice.tel", "unnick.png"], + ["https://beepi.ng", "unnick.png"], [ "https://github.com/NotNite/eightyeightthirtyone", "eighteightthirtyone.png", @@ -13,9 +13,9 @@ const binky = [ ["https://thinliquid.dev", "lqd.png"], ["https://joosh.nekoweb.org/", "joosh.gif"], ["https://ctrlaustin.nekoweb.org", "ctrlaustin.gif"], - ["https://satorikeiko.surge.sh", "satorikeiko.png"], + ["https://satorikeiko.nekoweb.org", "satorikeiko.png"], ["https://nekoaerospace.nekoweb.org", "nekoaerospace.png"], - ["https://derg.rest", "tom.png"], + //["https://derg.rest", "tom.png"], ["https://sillylaird.nekoweb.org/", "sillylairdb.png"], ["https://2rin.nekoweb.org", "2rin.gif"], ["https://status.cafe", "statuscafe.png"], @@ -23,7 +23,8 @@ const binky = [ ["https://eye.nekoweb.org", "eye.gif"], ["https://yumeo.nekoweb.org", "yumeo.gif"], ["https://bee.nekoweb.org/", "bee.png"], - ["https://ultrakill.nekoweb.org/", "ultrakill.png"], + // NOTE: Dead url + // ["https://ultrakill.nekoweb.org/", "ultrakill.png"], ["https://immjs.dev", "immjs.gif"], ["https://lel.nekoweb.org", "lel.gif"], ["https://lunaui.nekoweb.org", "lunaui.gif"], @@ -33,7 +34,15 @@ const binky = [ ["https://max.nekoweb.org/", "maxpixels.gif"], ["https://giikis2.nekoweb.org", "giikis2.png"], - ["insane.gif", "piracy.gif", "dsb.gif", "universe.gif", "css.png", "vscbutton.gif", "ezgif.gif"], + [ + "insane.gif", + "piracy.gif", + "dsb.gif", + "universe.gif", + "css.png", + "vscbutton.gif", + "ezgif.gif", + ], ]; binky.forEach((z, i) => { diff --git a/website/scripts/webrings.ts b/website/scripts/webrings.ts new file mode 100644 index 0000000..25fa0ab --- /dev/null +++ b/website/scripts/webrings.ts @@ -0,0 +1,25 @@ +document.addEventListener("DOMContentLoaded", () => { + const webringsElement = document.querySelector(".webrings"); + if (!webringsElement) return; + + const pmoringScript = document.createElement("script"); + pmoringScript.src = "https://palette.nekoweb.org/pmoring.js"; + pmoringScript.setAttribute("data-type", "noir"); + webringsElement.appendChild(pmoringScript); + + const bucketIframe = document.createElement("iframe"); + bucketIframe.title = "the bucket webring"; + bucketIframe.id = "bucket-webring"; + bucketIframe.style.width = "100%"; + bucketIframe.style.height = "3rem"; + bucketIframe.style.border = "none"; + bucketIframe.style.marginTop = "5px"; + bucketIframe.src = + "https://webring.bucketfish.me/embed.html?name=☹️☹️☹️.ovh&lightmode=true"; + webringsElement.appendChild(bucketIframe); + + const gitgudringScript = document.createElement("script"); + gitgudringScript.src = "https://mechagic.party/1stylescripts/gitgudring.js"; + gitgudringScript.defer = true; + webringsElement.appendChild(gitgudringScript); +});