🚍💑 Checkpoint

./scripts/zines.js:69682263/1166
./for-artists/index.html:69682263/92
This commit is contained in:
Glitch (glitch-hello-website)
2024-12-23 03:49:00 +00:00
parent 828e459919
commit 24a3d58354
2 changed files with 7 additions and 11 deletions

View File

@ -79,6 +79,9 @@
<b>physical</b> zine submissions to one zine. This is to ensure that <b>physical</b> zine submissions to one zine. This is to ensure that
shipping doesnt become too unreasonable (for you OR me). shipping doesnt become too unreasonable (for you OR me).
</p> </p>
<p>
No AI art, please.
</p>
<h2>Physical zine restrictions</h2> <h2>Physical zine restrictions</h2>
<p>No larger than one of:</p> <p>No larger than one of:</p>

View File

@ -163,16 +163,9 @@ for (let i = 0; i < zines.length; i++) {
let zineCounter = document.getElementById("zine-count"); let zineCounter = document.getElementById("zine-count");
let total = zines.length; let total = zines.length;
let p0 = document.createElement("p");
p0.innerHTML = total + " artists.";
zineCounter.append(p0);
let physical = zines.filter((zine) => zine.format == "physical" || zine.format == "physical/digital").length; let physical = zines.filter((zine) => zine.format == "physical" || zine.format == "physical/digital").length;
let p1 = document.createElement("p");
p1.innerHTML = physical + " physical zines.";
zineCounter.append(p1);
let digital = zines.filter((zine) => zine.format == "digital" || zine.format == "physical/digital").length; let digital = zines.filter((zine) => zine.format == "digital" || zine.format == "physical/digital").length;
let p2 = document.createElement("p");
p2.innerHTML = digital + " digital zines."; let p = document.createElement("p");
zineCounter.append(p2); p.innerHTML = total + " artists. " + physical + " physical zines. " + digital + " digital zines.";
zineCounter.append(p);