From 95cc06d7ba0868590e0e8f72fd5b07afa519e98a Mon Sep 17 00:00:00 2001 From: "Glitch (fedizinefest)" Date: Sat, 24 May 2025 01:34:49 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=BA=F0=9F=92=BE=20Checkpoint=20./2024/?= =?UTF-8?q?index.html:69682263/625=20./for-artists/index.html:69682263/763?= =?UTF-8?q?8=20./scripts/nav.js:69682263/450?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2024/index.html | 7 +------ for-artists/index.html | 14 ++++++++------ scripts/{top-nav.js => nav.js} | 13 ++++++++++--- 3 files changed, 19 insertions(+), 15 deletions(-) rename scripts/{top-nav.js => nav.js} (73%) diff --git a/2024/index.html b/2024/index.html index c850db2..8c2261a 100644 --- a/2024/index.html +++ b/2024/index.html @@ -42,12 +42,7 @@
diff --git a/for-artists/index.html b/for-artists/index.html index 2a1a6f3..1b0f524 100644 --- a/for-artists/index.html +++ b/for-artists/index.html @@ -14,6 +14,7 @@ + @@ -47,9 +48,12 @@
-
+
+ +
@@ -70,9 +74,7 @@ physical zine submissions to one zine. This is to ensure that shipping doesn’t become too unreasonable (for you OR me).

-

- No AI-generated content, please. -

+

No AI-generated content, please.

Physical zine restrictions

No larger than one of:

@@ -84,8 +86,8 @@

Payment

This is not a get-rich-quick scheme for anyone involved. In - 2024, the artist payout was about $35 USD per - artist. + 2024, the artist payout was about $35 USD + per artist.

This year, I'll be adjusting the payment scheme to more appropriately diff --git a/scripts/top-nav.js b/scripts/nav.js similarity index 73% rename from scripts/top-nav.js rename to scripts/nav.js index 7d12cfc..718d3d0 100644 --- a/scripts/top-nav.js +++ b/scripts/nav.js @@ -14,18 +14,25 @@ let navItems = [ { "href": "/zines", "title": "zines!" - }, + } ] function populateNav() { let nav = document.getElementById("top-nav"); + let path = window.location.pathname; for (let i = 0; i < navItems.length; i++) { + if (navItems[i].href == path) { + continue; + } + let a = document.createElement("a"); a.classList.add("nav-item"); a.href = navItems[i].href; - a.innerHtml = " " + navItems[i].title + " " + a.innerHTML = " " + navItems[i].title + " "; nav.append(a); } -} \ No newline at end of file +} + +populateNav(); \ No newline at end of file