diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-11-24 09:00:34 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-11-24 09:00:34 -0500 |
| commit | 4a86c4d98691c1e1469d25a47944444475551567 (patch) | |
| tree | c2b0a56aaf69fddb3d40611018b59f0645a3ac62 /views/404.ejs | |
| download | Project-NewTube-4a86c4d98691c1e1469d25a47944444475551567.tar.gz Project-NewTube-4a86c4d98691c1e1469d25a47944444475551567.tar.bz2 Project-NewTube-4a86c4d98691c1e1469d25a47944444475551567.zip | |
Inital commit
Diffstat (limited to 'views/404.ejs')
| -rw-r--r-- | views/404.ejs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/views/404.ejs b/views/404.ejs new file mode 100644 index 0000000..0e50577 --- /dev/null +++ b/views/404.ejs @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<!-- Alee Productions Website: Made by Alee and licensed with GPL-3.0 --> +<html> +<head> + <% include ./includes/header %> +</head> +<body class="dark"> + <% include ./includes/navbar %> + <div class="animsition"> + <div class="text-center mt-3"> + <h1>404 - Not Found</h1> + <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 |
