2024-12-13 01:03:15 +00:00
|
|
|
let zines = [
|
|
|
|
|
{
|
2024-12-20 04:30:38 +00:00
|
|
|
"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"
|
2024-12-13 01:03:15 +00:00
|
|
|
}
|
2024-12-13 01:14:39 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
function makeZine({name, blurb, format, site, fedi}) {
|
2024-12-13 23:04:38 +00:00
|
|
|
let zine = document.createElement("li");
|
2024-12-13 01:14:39 +00:00
|
|
|
|
2024-12-13 23:04:38 +00:00
|
|
|
|
2024-12-13 02:01:49 +00:00
|
|
|
let h2 = document.createElement("h2");
|
2024-12-13 23:04:38 +00:00
|
|
|
let a = document.createElement("a");
|
|
|
|
|
a.innerHTML = name;
|
|
|
|
|
a.href = site;
|
|
|
|
|
h2.append(a);
|
2024-12-13 02:01:49 +00:00
|
|
|
zine.append(h2);
|
2024-12-13 01:14:39 +00:00
|
|
|
|
|
|
|
|
let p = document.createElement("p");
|
2024-12-20 04:30:38 +00:00
|
|
|
p.innerHTML = " is making a " + format + " zine:";
|
2024-12-13 01:14:39 +00:00
|
|
|
zine.append(p);
|
|
|
|
|
|
2024-12-13 01:26:43 +00:00
|
|
|
let bq = document.createElement("blockquote");
|
|
|
|
|
let bqP = document.createElement("p");
|
|
|
|
|
bqP.innerHTML = blurb;
|
|
|
|
|
bq.append(bqP);
|
|
|
|
|
zine.append(bq);
|
|
|
|
|
|
2024-12-13 01:14:39 +00:00
|
|
|
return zine;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let zineContainer = document.getElementById("zine-container");
|
|
|
|
|
|
|
|
|
|
for (let i = 0; i < zines.length; i++) {
|
2024-12-13 02:01:49 +00:00
|
|
|
zineContainer.append(makeZine(zines[i]));
|
2024-12-13 01:14:39 +00:00
|
|
|
}
|