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 ++++++-- public/favicon.ico | Bin 25931 -> 0 bytes public/temp-landing.png | Bin 3037703 -> 0 bytes public/vercel.svg | 4 ---- styles/Home.module.css | 32 -------------------------------- styles/globals.css | 17 +++++------------ tailwind.config.js | 3 --- 9 files changed, 28 insertions(+), 55 deletions(-) create mode 100644 pages/404.js delete mode 100644 public/favicon.ico delete mode 100644 public/temp-landing.png delete mode 100644 public/vercel.svg delete mode 100644 styles/Home.module.css 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

diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 718d6fe..0000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/temp-landing.png b/public/temp-landing.png deleted file mode 100644 index 51b7126..0000000 Binary files a/public/temp-landing.png and /dev/null differ diff --git a/public/vercel.svg b/public/vercel.svg deleted file mode 100644 index fbf0e25..0000000 --- a/public/vercel.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - \ No newline at end of file diff --git a/styles/Home.module.css b/styles/Home.module.css deleted file mode 100644 index 07473ce..0000000 --- a/styles/Home.module.css +++ /dev/null @@ -1,32 +0,0 @@ -/* -.container { - padding: 0 2rem; -} - -.landing { - height: 100%; - background-position: center; - background-repeat: no-repeat; - background-size: cover; - background-image: url("/temp-landing.png") -} - - -.landing { - text-align: center; -} - -.title { - font-size: 200%; -} - -.description { -} - -.contact { -} - -.text-center { - text-align: center; -} -*/ \ No newline at end of file diff --git a/styles/globals.css b/styles/globals.css index 0f7a5fe..62b5694 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -26,15 +26,8 @@ } -/* -html, -body { - padding: 0; - margin: 0; - height: 100%; - background-color: #484848; - color: #FFFFFF; - font-family: Hack; - src: url("/ttf/Hack-Regular.ttf"); - -}*/ \ No newline at end of file +@layer components { + .link { + @apply text-blue-600 hover:text-blue-300 + } +} diff --git a/tailwind.config.js b/tailwind.config.js index 1f309e1..ea8fdce 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -12,9 +12,6 @@ module.exports = { extend: { colors: { 'material-gray': '#212121', - }, - backgroundImage: { - 'landing': "url('/temp-landing.png')", } }, }, -- cgit v1.2.3