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

bump next

This commit is contained in:
2022-06-14 07:55:13 -04:00
parent 4e0ca9ff4d
commit e735ea9a99
7 changed files with 120 additions and 123 deletions

View File

@@ -19,20 +19,22 @@ const H1 = styled("h1", {
},
});
const fourOhFour = () => {
const FourOhFour = () => {
return (
<>
<NextSeo title="404 Not Found" />
<Center>
<Image src={pandaGif} alt="404s make panda angry..." priority />
<Image src={pandaGif} alt="404s make panda angry..." quality={30} />
<H1>404: Page Not Found</H1>
<H1>404: Page Not Found 😢</H1>
<Link href="/">Go home?</Link>
<Link href="/" prefetch>
Go home?
</Link>
</Center>
</>
);
};
export default fourOhFour;
export default FourOhFour;

View File

@@ -2,7 +2,7 @@ import { buildFeed } from "../lib/helpers/build-feed";
import type { GetServerSideProps } from "next";
export const getServerSideProps: GetServerSideProps = async (context) => {
return buildFeed(context, { type: "atom" });
return buildFeed(context, "atom");
};
// eslint-disable-next-line import/no-anonymous-default-export

View File

@@ -2,7 +2,7 @@ import { buildFeed } from "../lib/helpers/build-feed";
import type { GetServerSideProps } from "next";
export const getServerSideProps: GetServerSideProps = async (context) => {
return buildFeed(context, { type: "rss" });
return buildFeed(context, "rss");
};
// eslint-disable-next-line import/no-anonymous-default-export