1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 20:55:47 -04:00

passing a custom link component to mdx was unnecessary

This commit is contained in:
2022-01-12 14:20:45 -05:00
parent e6ead77f5f
commit b51e8a38ce
31 changed files with 34 additions and 92 deletions

View File

@@ -1,31 +0,0 @@
import { NextSeo } from "next-seo";
import Image from "next/image";
import Link from "next/link";
import angryPandaGif from "../public/static/images/angry-panda.gif";
const Custom404 = () => (
<>
<NextSeo title="Page Not Found" noindex={true} nofollow={true} />
<div>
<Image src={angryPandaGif} width="435" height="300" alt="Panda takes out anger on innocent computer." />
<h2>404s Make Panda Angry</h2>
<Link href="/">
<a>Maybe it's wise to get out of here and go home...?</a>
</Link>
</div>
<style jsx>{`
div {
padding: 2em 0;
text-align: center;
line-height: 1.5;
}
`}</style>
</>
);
export default Custom404;