aboutsummaryrefslogtreecommitdiff
path: root/views/404.ejs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-08-16 00:44:47 -0400
committerAndrew Lee <alee14498@gmail.com>2019-08-16 00:44:47 -0400
commitbe5c14ffa4b10e1586b68f94669093146df9d452 (patch)
tree26e73b126d291e84df7d4289acf65286e0a6a81f /views/404.ejs
parentb0411efcf2459566888abf34c7524d67fb3add54 (diff)
downloadalp-website-be5c14ffa4b10e1586b68f94669093146df9d452.tar.gz
alp-website-be5c14ffa4b10e1586b68f94669093146df9d452.tar.bz2
alp-website-be5c14ffa4b10e1586b68f94669093146df9d452.zip
Added transitions, community rules, git projects and etc
Diffstat (limited to 'views/404.ejs')
-rw-r--r--views/404.ejs25
1 files changed, 20 insertions, 5 deletions
diff --git a/views/404.ejs b/views/404.ejs
index 43c308d..0e50577 100644
--- a/views/404.ejs
+++ b/views/404.ejs
@@ -4,13 +4,28 @@
<head>
<% include ./includes/header %>
</head>
-<body>
+<body class="dark">
<% include ./includes/navbar %>
- <center>
+ <div class="animsition">
+ <div class="text-center mt-3">
<h1>404 - Not Found</h1>
- <h2>Oops, seems like that page isn't found!</h2>
- <h3>Return to <a href="/">homepage</a>?</h3>
- </center>
+ <h2 id="404message"></h2>
+ <h3>Return to <a href="/" class="green-text">homepage</a>?</h3>
+ </div>
+ <script>
+ function randomtext() {
+ let randomtxt = [
+ 'Oops, seems like that page isn\'t found!',
+ 'You seem to be lost!',
+ 'Uh oh, that page isn\'t found in our servers!',
+ 'Seems like you landed on this page...'
+ ];
+ return randomtxt[Math.floor((Math.random() * 4.00))];
+ }
+
+ document.getElementById("404message").innerHTML = randomtext();
+ </script>
+ </div>
<% include ./includes/scripts %>
</body>
</html> \ No newline at end of file