From 9cba49c00cab15d2d7b5dee7818ab2c821db1d08 Mon Sep 17 00:00:00 2001 From: "Glitch (glitch-hello-website)" Date: Fri, 20 Dec 2024 15:37:21 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=97=F0=9F=90=81=20Checkpoint=20./scrip?= =?UTF-8?q?ts/zines.js:69682263/7297?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/zines.js | 111 ++++++++++++++++++++++++++++------------------- 1 file changed, 67 insertions(+), 44 deletions(-) diff --git a/scripts/zines.js b/scripts/zines.js index 8ec822a..08afd53 100644 --- a/scripts/zines.js +++ b/scripts/zines.js @@ -1,5 +1,5 @@ let zines = [ -/* { + /* { "name": "", "site": "", "format": "", @@ -7,75 +7,98 @@ let zines = [ }, */ { - "name": "Aaron El Sabrout", - "site": "https://toreachpoise.itch.io", + "name": "Léa V.T.", + "site": "https://mastodon.art/@leavt", "format": "physical/digital", - "blurb": "new collection of poetry on nature, leftist politics, and transness!" + "blurb": `I made a small comic this summer and i'd like to print it in zine form with bonus illustrations and prep sketches. It's about a bunch of kids living in a dieselpunk junkyard racing wacky vehicles. Friends become enemies and enemies become friends, lots of vroom vroom. link` }, { - "name": "Artcollisions", - "site": "https://artcollisions.wordpress.com/", - "format": "physical/digital", - "blurb": "Continuing adventure of CC and friends, the friendly little burlap monsters" + name: "Sally Strange", + format: "digital", + blurb: + "A brief summary of the things a young person would need to get started in a construction job, plus some radical opinions about how a small group of like-minded workers could pretty easily disrupt the entire construction industry of a small town", }, { - "name": "goblin jane", - "site": "https://thewellandthetree.com/", - "format": "physical/digital", - "blurb": "tiny tales of wandering thru interdimensional portals, meeting new friends big and small, and making stone soup." + name: "Aaron El Sabrout", + site: "https://toreachpoise.itch.io", + format: "physical/digital", + blurb: + "new collection of poetry on nature, leftist politics, and transness!", }, { - "name": "Limnetic Villains", - "site": "https://limneticvillains.bandcamp.com", - "format": "digital", - "blurb": "A fake 1970s punk zine, including interviews, photos, reviews, fake adverts for products and bands that don't exist, in the style of the time." + name: "Artcollisions", + site: "https://artcollisions.wordpress.com/", + format: "physical/digital", + blurb: + "Continuing adventure of CC and friends, the friendly little burlap monsters", }, { - "name": "Wetdryvac", - "site": "https://wetdryvac.net", - "format": "digital", - "blurb": "The Vac is a contract/consent ethicist with forays into art, music, literature, and whatever else strikes its fancy. This usually means being somewhere under a cat." + name: "goblin jane", + site: "https://thewellandthetree.com/", + format: "physical/digital", + blurb: + "tiny tales of wandering thru interdimensional portals, meeting new friends big and small, and making stone soup.", }, { - "name": "Evel", - "site": "https://evel.life", - "format": "digital", - "blurb": "About severe disability with a bit extra on being a caregiver" + name: "Limnetic Villains", + site: "https://limneticvillains.bandcamp.com", + format: "digital", + blurb: + "A fake 1970s punk zine, including interviews, photos, reviews, fake adverts for products and bands that don't exist, in the style of the time.", }, { - "name": "gup", - "site": "https://cyberpunk.gay/@glyph", - "format": "physical/digital", - "blurb": "fortune teller/ cootie catcher foldable. prefolded for physical, print and fold yourself for digital. decorated with hand carved stamps. black and white. i need to buy nice paper." + name: "Wetdryvac", + site: "https://wetdryvac.net", + format: "digital", + blurb: + "The Vac is a contract/consent ethicist with forays into art, music, literature, and whatever else strikes its fancy. This usually means being somewhere under a cat.", }, { - "name": "Handmade Ghost", - "site": "https://handmadeghost.neocities.org/", - "blurb": "This will be either a birds-n-poetry zine, a zine on rural Oregon, or a zine on disability and birding (or, very likely, all three).", - "format": "physical" - } -] + name: "Evel", + site: "https://evel.life", + format: "digital", + blurb: "About severe disability with a bit extra on being a caregiver", + }, + { + name: "gup", + site: "https://cyberpunk.gay/@glyph", + format: "physical/digital", + blurb: + "fortune teller/ cootie catcher foldable. prefolded for physical, print and fold yourself for digital. decorated with hand carved stamps. black and white. i need to buy nice paper.", + }, + { + name: "Handmade Ghost", + site: "https://handmadeghost.neocities.org/", + blurb: + "This will be either a birds-n-poetry zine, a zine on rural Oregon, or a zine on disability and birding (or, very likely, all three).", + format: "physical", + }, +]; -function makeZine({name, blurb, format, site, fedi}) { +function makeZine({ name, blurb, format, site, fedi }) { let zine = document.createElement("li"); - + let h2 = document.createElement("h2"); - let a = document.createElement("a"); - a.innerHTML = name; - a.href = site; - h2.append(a); + if (site) { + let a = document.createElement("a"); + a.innerHTML = name; + a.href = site; + h2.append(a); + } else { + h2.innerHTML = name; + } zine.append(h2); - + let p = document.createElement("p"); p.innerHTML = " is making a " + format + " zine:"; zine.append(p); - + let bq = document.createElement("blockquote"); let bqP = document.createElement("p"); bqP.innerHTML = blurb; bq.append(bqP); zine.append(bq); - + return zine; } @@ -83,4 +106,4 @@ let zineContainer = document.getElementById("zine-container"); for (let i = 0; i < zines.length; i++) { zineContainer.append(makeZine(zines[i])); -} \ No newline at end of file +}