aboutsummaryrefslogtreecommitdiff
path: root/pages/404.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2020-08-27 22:34:07 -0400
committerAndrew Lee <alee14498@gmail.com>2020-08-27 22:34:07 -0400
commit589e271352fc86c119096e503d799c1a656bbce2 (patch)
treebf4a31321d4472d0459571d7127f1f53b561c697 /pages/404.js
parent4a365752ab71c00e61d02a364b60c5532fd01fca (diff)
downloadalp-website-589e271352fc86c119096e503d799c1a656bbce2.tar.gz
alp-website-589e271352fc86c119096e503d799c1a656bbce2.tar.bz2
alp-website-589e271352fc86c119096e503d799c1a656bbce2.zip
Removed a lot of things and announcement
Diffstat (limited to 'pages/404.js')
-rw-r--r--pages/404.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/pages/404.js b/pages/404.js
index f283a5d..e47d804 100644
--- a/pages/404.js
+++ b/pages/404.js
@@ -22,22 +22,10 @@ import Layout from "../components/Layout";
const Custom404 = () => (
<Layout>
<div class="text-center mt-3">
- <h1>404 - Not Found</h1>
- <h2 id="404message"></h2>
- <h3>Return to <a href="/" className="green-text">homepage</a>?</h3>
+ <h1>404 Not Found</h1>
+ <a href="/">Back home</a>
</div>
</Layout>
);
-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();
export default Custom404