aboutsummaryrefslogtreecommitdiff
path: root/views/404.ejs
blob: 0ae7e5406af6060fd342bc724237993decd1cb54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!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="text-center mt-3">
       <h1>404 - Not Found</h1>
       <h2 id="404message"></h2>
       <h3>Return to <a href="/" class="blue-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>
    <% include ./includes/scripts %>
</body>
</html>