Home button on the bottom of every page now !!!

This commit is contained in:
Violet 2024-02-02 15:33:36 +00:00 committed by GitHub
parent e6e8228a80
commit 1d16b944cc
6 changed files with 9 additions and 14 deletions

View file

@ -324,7 +324,7 @@ async function pageUpdate() {
var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString()
addedHTML += "<h2><hr>Socials</h2>"
addedHTML += socialsHTML.substring(socialsHTML.indexOf("</h1>") + 5, socialsHTML.indexOf("</body>"))
addedHTML += socialsHTML.substring(socialsHTML.indexOf("</h1>") + 5, socialsHTML.lastIndexOf("</div>"))
html = html.replace("{SOCIALS}", addedHTML)

View file

@ -15,15 +15,13 @@
<title>Extras - Violet's Purgatory</title>
</head>
<body>
<a class="chip" href="../">Home</a>
<h1><hr>Extras</h1>
<h1>Extras</h1>
<p>Just some fun things that really don't have use on the main page but exist anyway!</p>
<div class="fadediv container-fluid ">
<p class="chip"><a href="./discord">Dynamic Discord Status (Javascript, W.I.P)</a></p>
<p class="chip"><a href="../pronouns">Pronouns (here bc it's hard to find on main page)</a></p>
</div>
<a class="chip" href="../">Home</a>
</body>
</html>

View file

@ -17,8 +17,7 @@
</head>
<body>
<a class="chip" href="../">Home</a>
<h1><hr>FAQ</h1>
<h1>FAQ</h1>
<p>Some questions that, nobody has ever <em>actually</em> asked, but I'm gonna act like they have because its fun!</p>
<div class="row container-fluid fadediv" style="margin: auto;">
<h2><hr>How?</h2>
@ -43,5 +42,6 @@
<h2><hr>Why do you (hate/never use) Javascript?</h2>
<p>Because its more fun :D Inevitably, I would put something more informative here, like "for the sake of compatibility" which, don't get me wrong, a huge part of it is so that people who disable javascript can use my site, but also, if you've seen my CSS it should be clear I don't try to be the <em>most</em> backwards compatible.</p>
</div>
<a class="chip" href="../">Home</a>
</body>
</html>

View file

@ -81,6 +81,7 @@
</div>
<p>There are, of course, a few more projects (E.G. Discord Embedder) but I feel they're too early in development for me to want to put them here.</p>
<a class="chip" href="../">Home</a>
</div>
</body>

View file

@ -16,11 +16,7 @@
</head>
<body>
<!-- Yet again I would like to apologize for the absolutely atrocious code !! -->
<a class="chip" href="../">Home</a>
<h1>Pronouns</h1>
<div class="fadediv row container-fluid">
<div class="col-sm-12">
@ -64,6 +60,7 @@
</div>
<hr>
<p>If there's any more confusion, or a section you'd want me to add, please put an issue on codeberg :D</p>
<a class="chip" href="../">Home</a>
</body>
</html>

View file

@ -17,8 +17,7 @@
</head>
<body>
<a class="chip" href="../">Home</a>
<h1><hr>Socials</h1>
<h1>Socials</h1>
<p>Here's where you can find me most... if you wanted to do that for some reason?</p>
<div class="row container-fluid fadediv" style="margin: auto;">
@ -52,7 +51,7 @@
<h3>Game sites:</h3>
<p class="chip" style="color: darkgrey">Steam: <a href="https://steamcommunity.com/id/Violet-The-Thigh-high-obtainer/">Violet</a></p>
</div>
</div>
<a class="chip" href="../">Home</a>
</body>
</html>