😺💾 Checkpoint
./2024/index.html:69682263/625 ./for-artists/index.html:69682263/7638 ./scripts/nav.js:69682263/450
This commit is contained in:
@ -42,12 +42,7 @@
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<nav role="navigation" id="top-nav">
|
||||
<a class="nav-item" href="/"> home </a>
|
||||
<a class="nav-item" href="/signup"> signup </a>
|
||||
<a class="nav-item" href="/zines"> zines! </a>
|
||||
<a class="nav-item" href="/status"> status </a>
|
||||
<a class="nav-item" href="/for-artists"> artist guidelines </a>
|
||||
<a class="nav-item" href="/learn"> things we learned </a>
|
||||
<!-- auto-populated by nav.js -->
|
||||
</nav>
|
||||
|
||||
<div id="wip"> <!-- auto-populated by wip.js --> </div>
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
<link rel="stylesheet" href="/styles/main.css" />
|
||||
|
||||
<!-- The website JavaScript file -->
|
||||
<script src="/scripts/nav.js" defer></script>
|
||||
<script src="/scripts/footer.js" defer></script>
|
||||
<script src="/scripts/wip.js" defer></script>
|
||||
|
||||
@ -47,9 +48,12 @@
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<nav role="navigation" id="top-nav">
|
||||
<!-- auto-populated by nav.js -->
|
||||
</nav>
|
||||
|
||||
<div id="wip"> <!-- auto-populated by wip.js --> </div>
|
||||
<div id="wip">
|
||||
<!-- auto-populated by wip.js -->
|
||||
</div>
|
||||
|
||||
<main id="main">
|
||||
<header role="banner">
|
||||
@ -70,9 +74,7 @@
|
||||
<b>physical</b> zine submissions to one zine. This is to ensure that
|
||||
shipping doesn’t become too unreasonable (for you OR me).
|
||||
</p>
|
||||
<p>
|
||||
No AI-generated content, please.
|
||||
</p>
|
||||
<p>No AI-generated content, please.</p>
|
||||
|
||||
<h2>Physical zine restrictions</h2>
|
||||
<p>No larger than one of:</p>
|
||||
@ -84,8 +86,8 @@
|
||||
<h2>Payment</h2>
|
||||
<p>
|
||||
<b>This is not a get-rich-quick scheme for anyone involved.</b> In
|
||||
<a href="/years/2024">2024</a>, the artist payout was about $35 USD per
|
||||
artist.
|
||||
<a href="/years/2024">2024</a>, the artist payout was about $35 USD
|
||||
per artist.
|
||||
</p>
|
||||
<p>
|
||||
This year, I'll be adjusting the payment scheme to more appropriately
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
populateNav();
|
||||
Reference in New Issue
Block a user