From 30d598e426fd4ecf3060d9c9617da4408a76561d Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Tue, 19 Dec 2023 18:15:35 +0000 Subject: [PATCH] 404 page, portfolio and stuffs --- index.js | 12 +++++++++++- resources/mainPage.html | 4 +++- static/art/index.html | 23 +++++++++++++++++++++++ static/portfolio/index.html | 23 +++++++++++++++++++++++ 4 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 static/art/index.html create mode 100644 static/portfolio/index.html diff --git a/index.js b/index.js index 0575a89..f7fcc9f 100644 --- a/index.js +++ b/index.js @@ -294,4 +294,14 @@ function mastoUpdate() { }, 1000 * 60 * 60) } -// mastoUpdate() \ No newline at end of file +// mastoUpdate() + +app.use((req, res, next) => { + res.status(404).send( + ` +

...what?

+

Uh oh... I think your lost? There's nothing here :P +
Maybe you were sent the wrong link? Try going to 'fs.violets-purgatory.dev' instead if you were expecting a file...

` + ) +}) + \ No newline at end of file diff --git a/resources/mainPage.html b/resources/mainPage.html index 5396ddd..fd83266 100644 --- a/resources/mainPage.html +++ b/resources/mainPage.html @@ -36,9 +36,11 @@

-

Stuff i'm hosting!

+

Services

Socials

Pronouns

+

Portfolio

+

Art

{LANYARD_QUOTE}
diff --git a/static/art/index.html b/static/art/index.html new file mode 100644 index 0000000..3be8710 --- /dev/null +++ b/static/art/index.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + Hosting - Violet's Purgatory + + + +

Nothing here...

+

Yet...

+ + + \ No newline at end of file diff --git a/static/portfolio/index.html b/static/portfolio/index.html new file mode 100644 index 0000000..b50f717 --- /dev/null +++ b/static/portfolio/index.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + Hosting - Violet's Purgatory + + + +

Nothing here...

+

Yet...

+ + + \ No newline at end of file