mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 09:05:22 -04:00
simple 404 page
This commit is contained in:
parent
d50ae0f85a
commit
c2a5f6c94c
33
pages/404.tsx
Normal file
33
pages/404.tsx
Normal 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;
|
BIN
public/static/images/angry-panda.gif
Normal file
BIN
public/static/images/angry-panda.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 400 KiB |
Loading…
x
Reference in New Issue
Block a user