Merge pull request 'idk' (#9) from dev into origin

Reviewed-on: https://codeberg.orgBingus_Violet/Violets-Purgatory#9
This commit is contained in:
Bingus_Violet 2024-01-12 19:10:31 +00:00
commit abd08b9606
4 changed files with 7 additions and 6 deletions

View file

@ -225,6 +225,8 @@ function pageUpdate() {
html = html.replace("{SEASONAL_EFFECT}", "")
}
html = '<!-- The following code is dynamically generated, I apologize for any formatting errors. Please view the "resources/mainPage.html" on the codeberg repository for something more readable. -->\n' + html
fs.writeFileSync(path.join(__dirname, 'static/index.html'), html)
}
@ -262,9 +264,8 @@ pageUpdate()
app.use((req, res, next) => {
res.status(404).send(`
<link rel="stylesheet" href="/style.css">
<h1>...what?</h1>
<p>Uh oh... I think your lost? There's nothing here :P
<br>Maybe you were sent the wrong link? Try going to 'fs.violets-purgatory.dev' instead if you were expecting a file...</p>
<h1>404</h1>
<p>Uh oh... I think your lost? There's nothing here :P</p>
`)
})

View file

@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../style.css">
<link rel="stylesheet" href="../../style.css">
<meta content="Discord Status - Violet's Purgatory" property="og:title" />

View file

@ -22,7 +22,7 @@
<p>Just some fun things that really don't have use on the main page but exist anyway!</p>
<div class="fadediv container-fluid ">
<a href="./discord">Dynamic Discord Status (Javascript, W.I.P)</a>
<p class="chip"><a href="./discord">Dynamic Discord Status (Javascript, W.I.P)</a></p>
</div>
</body>
</html>

View file

@ -78,7 +78,7 @@ a {
}
.chip:hover {
/* background-color: rgb(20, 10, 30); */
background-color: rgb(20, 10, 30);
transform: scale(1);
/* font-size: 1.35rem; */
border-color: white;