mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 14:46:37 -04:00
bump next to stable
This commit is contained in:
@ -29,9 +29,7 @@ const FourOhFour = () => {
|
||||
|
||||
<H1>404: Page Not Found 😢</H1>
|
||||
|
||||
<Link href="/" prefetch>
|
||||
Go home?
|
||||
</Link>
|
||||
<Link href="/">Go home?</Link>
|
||||
</Center>
|
||||
</>
|
||||
);
|
||||
|
@ -4,6 +4,7 @@ import { getCssText, reset, themeClassNames, themeStorageKey, preloadFonts } fro
|
||||
import * as config from "../lib/config";
|
||||
|
||||
// ensure the server can handle multiple requests without accumulating previous visitors' stylesheets
|
||||
// https://stitches.dev/blog/using-nextjs-with-stitches#step-3-ssr
|
||||
const getCssAndReset = () => {
|
||||
const css = getCssText();
|
||||
reset();
|
||||
@ -30,7 +31,6 @@ const Document = () => {
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* stitches SSR: https://stitches.dev/blog/using-nextjs-with-stitches#step-3-ssr */}
|
||||
<style id="stitches" dangerouslySetInnerHTML={{ __html: getCssAndReset() }} />
|
||||
</Head>
|
||||
<body>
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { buildFeed } from "../lib/helpers/build-feed";
|
||||
import type { GetServerSideProps } from "next";
|
||||
import { buildFeed, GetServerSideFeedProps } from "../lib/helpers/build-feed";
|
||||
|
||||
export const getServerSideProps: GetServerSideProps<Record<string, never>> = async (context) => {
|
||||
export const getServerSideProps: GetServerSideFeedProps = async (context) => {
|
||||
return buildFeed(context, "atom");
|
||||
};
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { buildFeed } from "../lib/helpers/build-feed";
|
||||
import type { GetServerSideProps } from "next";
|
||||
import { buildFeed, GetServerSideFeedProps } from "../lib/helpers/build-feed";
|
||||
|
||||
export const getServerSideProps: GetServerSideProps<Record<string, never>> = async (context) => {
|
||||
export const getServerSideProps: GetServerSideFeedProps = async (context) => {
|
||||
return buildFeed(context, "rss");
|
||||
};
|
||||
|
||||
|
@ -97,7 +97,6 @@ const Previously = () => {
|
||||
|
||||
<Link
|
||||
href="/y2k/"
|
||||
prefetch={false}
|
||||
css={{
|
||||
fontSize: "0.95em",
|
||||
}}
|
||||
|
Reference in New Issue
Block a user