From f4f4a70aac0513362bcfb24adf4ac6cfa1607cb4 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sat, 15 Oct 2022 11:21:27 -0400 Subject: Added a 404 page --- pages/404.js | 15 +++++++++++++++ pages/guidelines.js | 4 ++-- pages/index.js | 8 ++++++-- 3 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 pages/404.js (limited to 'pages') diff --git a/pages/404.js b/pages/404.js new file mode 100644 index 0000000..d184449 --- /dev/null +++ b/pages/404.js @@ -0,0 +1,15 @@ +import Meta from '../components/meta' +import Link from 'next/link' + +export default function PageError() { + return ( + <> + +
+

404!

+

Looks like you have entered the void... or maybe you are lost?

+

Head back home to not become lost!

+
+ + ) +} diff --git a/pages/guidelines.js b/pages/guidelines.js index 26b2350..5a308b7 100644 --- a/pages/guidelines.js +++ b/pages/guidelines.js @@ -83,10 +83,10 @@ export default function Guidelines() {

Threads

Threads is a new Discord feature which allows you to make subchannels. We have set a policy to not allow to make threads with little to no value, if you made a thread in which has little to no value, it is considered to be spam and we will remove it. If caught doing it continuously, there will be consequences.

-

We recommend you to follow Discord's Terms of Service and Community Guidelines

+

We recommend you to follow Discord's Terms of Service and Community Guidelines

Last updated: October 14th, 2022

- Back to top + Back to top ) diff --git a/pages/index.js b/pages/index.js index 69fb9be..62e7a26 100644 --- a/pages/index.js +++ b/pages/index.js @@ -8,6 +8,8 @@ const iconSize = "3x" const iconProperties = "hover:text-gray-500 transition-all ease-in-out" const navButton = "bg-gray-600 sm:py-4 sm:px-10 py-2 px-5 rounded-lg hover:bg-gray-400 transition ease-in-out" +const isDev = process.env.NODE_ENV === 'development' + export default function Home() { return ( <> @@ -24,13 +26,15 @@ export default function Home() { - {/*
+ {isDev && ( +
-
*/} +
+ )}

Contact me at andrew@alee14.me

-- cgit v1.2.3