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() var socialsHTML = fs.readFileSync(path.join(__dirname, 'static/socials/index.html')).toString()
addedHTML += "<h2><hr>Socials</h2>" 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) html = html.replace("{SOCIALS}", addedHTML)

View file

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

View file

@ -17,8 +17,7 @@
</head> </head>
<body> <body>
<a class="chip" href="../">Home</a> <h1>FAQ</h1>
<h1><hr>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> <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;"> <div class="row container-fluid fadediv" style="margin: auto;">
<h2><hr>How?</h2> <h2><hr>How?</h2>
@ -43,5 +42,6 @@
<h2><hr>Why do you (hate/never use) Javascript?</h2> <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> <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> </div>
<a class="chip" href="../">Home</a>
</body> </body>
</html> </html>

View file

@ -81,6 +81,7 @@
</div> </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> <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> </div>
</body> </body>

View file

@ -16,11 +16,7 @@
</head> </head>
<body> <body>
<!-- Yet again I would like to apologize for the absolutely atrocious code !! --> <!-- Yet again I would like to apologize for the absolutely atrocious code !! -->
<a class="chip" href="../">Home</a>
<h1>Pronouns</h1> <h1>Pronouns</h1>
<div class="fadediv row container-fluid"> <div class="fadediv row container-fluid">
<div class="col-sm-12"> <div class="col-sm-12">
@ -64,6 +60,7 @@
</div> </div>
<hr> <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> <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> </body>
</html> </html>

View file

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