diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2019-11-30 12:40:35 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2019-11-30 12:40:35 -0500 |
| commit | e706e65318f760d9f0602a08f1badb67d77e5fb1 (patch) | |
| tree | f013b09cab3064a51fe5439cb98e24eace15224e /public/404.html | |
| parent | b99356105115fec32d75a43bfb5b054220d90141 (diff) | |
| download | alp-website-e706e65318f760d9f0602a08f1badb67d77e5fb1.tar.gz alp-website-e706e65318f760d9f0602a08f1badb67d77e5fb1.tar.bz2 alp-website-e706e65318f760d9f0602a08f1badb67d77e5fb1.zip | |
Switching to NextJS
Diffstat (limited to 'public/404.html')
| -rw-r--r-- | public/404.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..7bcdc9f --- /dev/null +++ b/public/404.html @@ -0,0 +1,23 @@ +--- +title: 404 +layout: default-none +permalink: /404 +--- + <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>
\ No newline at end of file |
