From 092e055f0c9fd2cc829a040fa915dbd0775ddbe3 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 17 Oct 2022 22:55:40 -0400 Subject: [PATCH] New 404; Added more mono fonts --- pages/404.js | 9 +++++++-- pages/index.js | 3 ++- styles/globals.css | 8 ++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/pages/404.js b/pages/404.js index 9c98161..92d138c 100644 --- a/pages/404.js +++ b/pages/404.js @@ -1,14 +1,19 @@ import Meta from '../components/meta' import Link from 'next/link' +import Router from 'next/router' export default function PageError() { return ( <>
-

404!

+

404! o_0

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

-

Head back home to not become lost

+

Go back or head back home to not become lost.

+
+ Router.back()}> + +
) diff --git a/pages/index.js b/pages/index.js index 03af0f5..562f567 100644 --- a/pages/index.js +++ b/pages/index.js @@ -33,6 +33,7 @@ export default function Home() {
+ @@ -44,7 +45,7 @@ export default function Home() {

© Copyright 2018-2022 Andrew Lee

Created using Next.js, and Tailwind CSS. Hosted on Netlify.

This website is licensed under the GNU General Public License v3

-

The source code of this website is publicly available

+

The source code of this website is publicly available

diff --git a/styles/globals.css b/styles/globals.css index 1a800d7..b9a9608 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -4,22 +4,22 @@ @layer base { @font-face { - font-family: "Hack", sans-serif; + font-family: "Hack", "Cascadia Mono", Consolas, monospace; src: url("../public/ttf/Hack-Regular.ttf"); } @font-face { - font-family: "Hack", sans-serif; + font-family: "Hack", "Cascadia Mono", Consolas, monospace; src: url("../public/ttf/Hack-Italic.ttf"); font-style: italic; } @font-face { - font-family: "Hack", sans-serif; + font-family: "Hack", "Cascadia Mono", Consolas, monospace; src: url("../public/ttf/Hack-Bold.ttf"); font-weight: 700; } @font-face { - font-family: "Hack", sans-serif; + font-family: "Hack", "Cascadia Mono", Consolas, monospace; src: url("../public/ttf/Hack-BoldItalic.ttf"); font-weight: 700; }