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:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user