1
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:
2022-07-08 13:24:38 -04:00
parent 295301aa9e
commit 54d0b6eac0
14 changed files with 155 additions and 166 deletions

View File

@ -29,9 +29,7 @@ const FourOhFour = () => {
<H1>404: Page Not Found 😢</H1>
<Link href="/" prefetch>
Go home?
</Link>
<Link href="/">Go home?</Link>
</Center>
</>
);

View File

@ -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>

View File

@ -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");
};

View File

@ -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");
};

View File

@ -97,7 +97,6 @@ const Previously = () => {
<Link
href="/y2k/"
prefetch={false}
css={{
fontSize: "0.95em",
}}