first version

master
waifu 8 months ago
parent 286de32c98
commit 8958450dc6
  1. 1
      about.html
  2. BIN
      img/stamp_waifuism_life.png
  3. 6
      index.html
  4. 4
      js/comic_footer.js
  5. 4
      js/comic_header.js
  6. 6
      js/comic_show.js
  7. 3
      lore.html

@ -35,7 +35,6 @@
<p><a href="https://www.pixiv.net/en/users/69402865">Pixiv</a></p>
<p><a href="https://www.patreon.com/thewaifuismlife">Patreon</a></p>
<p><a href="https://twitter.com/waifuism_life">X / Twitter / however it is called now</a></p>
<p><a href="https://www.instagram.com/waifuism_life/">Insta gram</a></p>
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

@ -27,11 +27,11 @@
</div>
</div>
<div id="authorNotes">
<!-- <div id="authorNotes">
<h2>Author Notes</h2>
<!-- write the author notes for the current page-->
write the author notes for the current page
<div class="writeAuthorNotes"></div>
</div>
</div> -->
<!-- footer that has a link back to rarebit, and ideally has copyright info and stuff. again, don't forget to put this on every page-->
<div class="writeFooter"></div>

@ -2,8 +2,8 @@
//at the bottom of your page, but before the js script calls and the closing body tag, put an empty div with a class of "writeFooter"
document.querySelector(".writeFooter").innerHTML = `
<footer align="center">
<p>Here's a footer where you can put copyright information and stuff.</p>
<p>There's also a link back to Rarebit. It's ultimately your choice whether to delete it or not but it'd be cool of you to keep it there and spread the word...</p>
<p>Commited Lines is a webcomic made for fun.</p>
<a href="https://waifuism.life"><img src="img/stamp_waifuism_life.png" height = "30" /></a>
<p><strong>Powered by</strong></p>
<a href="https://rarebit.neocities.org"><img src="img/rarebitlogo_small.png" height = "30" /></a>
</footer>

@ -5,10 +5,10 @@ document.querySelector(".writeHeader").innerHTML = `
<a href="index.html"><img src="./img/logo.png" alt="" /></a>
<div id="nav">
<a href="index.html">Home</a> |
<a href="index.html"><h1>Home</a> |
<a href="archive.html">Archive</a> |
<a href="about.html">Me?</a> |
<a href="lore.html">Lore</a>
<a href="lore.html">Lore</a></h1>
</div>
</header>
`;

@ -17,7 +17,7 @@ writePageTitle(".writePageTitle", true, " - "); //write title of page. true/fals
writePageClickable(".writePageClickable",true); //show the current page. to toggle whether pages can be clicked to move to the next one, set this to true or false.
writeAuthorNotes(".writeAuthorNotes");
/* writeAuthorNotes(".writeAuthorNotes"); */
keyNav(); //enables navigation through the comic with the arrow keys and WSAD. It doesn't need a div with a class name, it automatically works. delete or comment out (add // at the beginning) here to disable.
@ -47,11 +47,11 @@ function writePageTitle(div,toggleNum, char) {
}
}
function writeAuthorNotes(div) { //display author notes
/* function writeAuthorNotes(div) { //display author notes
if (pgData.length >= pg) {
return document.querySelector(div).innerHTML = `${pgData[pg-1].authorNotes}`
}
}
} */
//function used to split pages into multiple images if needed, and add alt text
function writePage() {

@ -54,7 +54,8 @@
<img src="img/characters/mora.png" alt="Mora" class="clearfix rightPic"/>
<h2>Mora</h2>
<p>Mascot of the waifuism.life website.</p>
<p>Doesn't like being asked too much stuff, friends with Blueberry Hotcake.</p>
<p>Doesn't like being asked too much stuff.</p>
<p>Friends with Blueberry Hotcake (Who?).</p>
</td>
</tr>
</table>