1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 04:25:22 -04:00

simple 404 page

This commit is contained in:
Jake Jarvis 2022-04-19 18:28:45 -04:00
parent d50ae0f85a
commit c2a5f6c94c
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
2 changed files with 33 additions and 0 deletions

33
pages/404.tsx Normal file
View File

@ -0,0 +1,33 @@
import Image from "../components/Image";
import Link from "../components/Link";
import { styled } from "../lib/styles/stitches.config";
import pandaGif from "../public/static/images/angry-panda.gif";
const Center = styled("div", {
textAlign: "center",
});
const H1 = styled("h1", {
fontSize: "1.8em",
fontWeight: 500,
color: "$text",
"@medium": {
fontSize: "1.6em",
},
});
const fourOhFour = () => {
return (
<Center>
<Image src={pandaGif} alt="404s make panda angry..." priority />
<H1>404: Page Not Found</H1>
<Link href="/">Go home?</Link>
</Center>
);
};
export default fourOhFour;

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 KiB