From 8486160c2a893506ed7da8fa6a9c5ddd153e0e00 Mon Sep 17 00:00:00 2001 From: shahanneda Date: Wed, 9 Mar 2022 17:43:19 -0500 Subject: [PATCH 1/5] added 404 page and styling --- images/codey-404.svg | 46 ++++++++++++++++++++++++++++++++++++++++++++ pages/404.module.css | 15 +++++++++++++++ pages/404.tsx | 24 +++++++++++++++++++++++ 3 files changed, 85 insertions(+) create mode 100644 images/codey-404.svg create mode 100644 pages/404.module.css create mode 100644 pages/404.tsx diff --git a/images/codey-404.svg b/images/codey-404.svg new file mode 100644 index 00000000..d16eaf6d --- /dev/null +++ b/images/codey-404.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pages/404.module.css b/pages/404.module.css new file mode 100644 index 00000000..d9163a0b --- /dev/null +++ b/pages/404.module.css @@ -0,0 +1,15 @@ +.container{ + display:flex; + align-items: center; + justify-content: center; +} + +.codey{ + width: calc(380rem / 16); +} + +@media only screen and (max-width: calc(768rem / 16)) { + .container{ + flex-direction: column; + } +} diff --git a/pages/404.tsx b/pages/404.tsx new file mode 100644 index 00000000..cf31b23c --- /dev/null +++ b/pages/404.tsx @@ -0,0 +1,24 @@ +import React from "react"; + +import { Image } from "@/components/Image"; +import { Link } from "@/components/Link"; +import { Title } from "@/components/Title"; + +import styles from "./404.module.css"; +export default function Custom404() { + return ( +
+
+ Error 404 +

Error 404

+

We couldn’t find the page you’re looking for!

+

+ We’re working on it, but in the meantime,{" "} + click here to go back to the main page.{" "} +

+
+ + +
+ ); +} -- 2.39.2 From b723a0cde0a7198773821c6f2028627a447c10fb Mon Sep 17 00:00:00 2001 From: shahanneda Date: Wed, 9 Mar 2022 17:49:18 -0500 Subject: [PATCH 2/5] fixed formatting of 404 text --- pages/404.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/404.tsx b/pages/404.tsx index cf31b23c..ed1dce87 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -11,10 +11,10 @@ export default function Custom404() {
Error 404

Error 404

-

We couldn’t find the page you’re looking for!

+

We couldn't find the page you're looking for!

- We’re working on it, but in the meantime,{" "} - click here to go back to the main page.{" "} + We're working on it, but in the meantime, + click here to go back to the main page.

-- 2.39.2 From 3b02b0b5dbcc5ed609c680a73b9f8f9f102e6311 Mon Sep 17 00:00:00 2001 From: shahanneda Date: Wed, 9 Mar 2022 18:03:11 -0500 Subject: [PATCH 3/5] escaped apostroph's --- pages/404.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/404.tsx b/pages/404.tsx index ed1dce87..89ccb4dd 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -11,9 +11,9 @@ export default function Custom404() {
Error 404

Error 404

-

We couldn't find the page you're looking for!

+

We couldn't find the page you're looking for!

- We're working on it, but in the meantime, + We're working on it, but in the meantime, click here to go back to the main page.

-- 2.39.2 From 7192fe66811000fe1dfe6fe5cbe3987d7bc1fb6f Mon Sep 17 00:00:00 2001 From: shahanneda Date: Wed, 9 Mar 2022 21:39:45 -0500 Subject: [PATCH 4/5] updated codey --- images/codey-404.svg | 67 ++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/images/codey-404.svg b/images/codey-404.svg index d16eaf6d..e73f096f 100644 --- a/images/codey-404.svg +++ b/images/codey-404.svg @@ -1,44 +1,43 @@ - - - - - - - - + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - + -- 2.39.2