From a2da20ce52b86552771f1dfa3cb46d07255cc288 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 17 Jun 2020 15:35:04 -0400 Subject: New ToS and Logo --- pages/404.js | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pages/404.js (limited to 'pages/404.js') diff --git a/pages/404.js b/pages/404.js new file mode 100644 index 0000000..f283a5d --- /dev/null +++ b/pages/404.js @@ -0,0 +1,43 @@ +/* + Alee Productions Website: Website for Alee Productions + Copyright (C) 2020 Alee + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +*/ + +import Layout from "../components/Layout"; + +const Custom404 = () => ( + +
+

404 - Not Found

+

+

Return to homepage?

+
+
+); + +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 -- cgit v1.2.3