mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 15:48:31 -04:00
39 lines
742 B
TypeScript
39 lines
742 B
TypeScript
import { NextSeo } from "next-seo";
|
|
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 (
|
|
<>
|
|
<NextSeo title="404 Not Found" />
|
|
|
|
<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;
|