diff --git a/next.config.js b/next.config.js index 818517c6..9b98f17a 100644 --- a/next.config.js +++ b/next.config.js @@ -112,7 +112,7 @@ module.exports = (phase, { defaultConfig }) => { redirects: async () => [ // NOTE: don't remove this, it ensures de-AMPing the site hasn't offended our google overlords too badly! // https://developers.google.com/search/docs/advanced/experience/remove-amp#remove-only-amp - { source: "/:slug/amp.html", destination: "/:slug/", statusCode: 301 }, + { source: "/notes/:slug/amp.html", destination: "/notes/:slug/", statusCode: 301 }, // remnants of previous sites/CMSes: { source: "/index.xml", destination: "/feed.xml", permanent: true }, diff --git a/pages/404.tsx b/pages/404.tsx index 2e9ff9e4..c1a5710c 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -1,3 +1,4 @@ +import { NextSeo } from "next-seo"; import Image from "../components/Image"; import Link from "../components/Link"; import { styled } from "../lib/styles/stitches.config"; @@ -20,13 +21,17 @@ const H1 = styled("h1", { const fourOhFour = () => { return ( -
- 404s make panda angry... + <> + -

404: Page Not Found

+
+ 404s make panda angry... - Go home? -
+

404: Page Not Found

+ + Go home? +
+ ); }; diff --git a/pages/previously.tsx b/pages/previously.tsx index 2ab9e03b..58aa4537 100644 --- a/pages/previously.tsx +++ b/pages/previously.tsx @@ -203,8 +203,8 @@ iframe { -
- March 2020 ( +
+ March 2020 ( view source)
diff --git a/pages/y2k.tsx b/pages/y2k.tsx index 8a659a78..179ca394 100644 --- a/pages/y2k.tsx +++ b/pages/y2k.tsx @@ -22,6 +22,12 @@ const Wallpaper = styled("div", { backgroundPosition: "center", }); +const DOS = styled(Terminal, { + height: "400px", + width: "100%", + maxWidth: "700px", +}); + const Y2K = () => { const [wallpaperUrl, setWallpaperUrl] = useState(""); @@ -58,9 +64,7 @@ const Y2K = () => { /> - Oh dear, it looks like something's gone VERY wrong. Sorry about that!} - > + Oh no, it looks like something's gone VERY wrong. Sorry about that!}>