1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 15:28:28 -04:00

update link to archived hugo site

This commit is contained in:
Jake Jarvis 2022-04-23 07:54:03 -04:00
parent de28dbf4ed
commit 392ad9bb56
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
4 changed files with 20 additions and 11 deletions

View File

@ -112,7 +112,7 @@ module.exports = (phase, { defaultConfig }) => {
redirects: async () => [ redirects: async () => [
// NOTE: don't remove this, it ensures de-AMPing the site hasn't offended our google overlords too badly! // 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 // 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: // remnants of previous sites/CMSes:
{ source: "/index.xml", destination: "/feed.xml", permanent: true }, { source: "/index.xml", destination: "/feed.xml", permanent: true },

View File

@ -1,3 +1,4 @@
import { NextSeo } from "next-seo";
import Image from "../components/Image"; import Image from "../components/Image";
import Link from "../components/Link"; import Link from "../components/Link";
import { styled } from "../lib/styles/stitches.config"; import { styled } from "../lib/styles/stitches.config";
@ -20,13 +21,17 @@ const H1 = styled("h1", {
const fourOhFour = () => { const fourOhFour = () => {
return ( return (
<Center> <>
<Image src={pandaGif} alt="404s make panda angry..." priority /> <NextSeo title="404 Not Found" />
<H1>404: Page Not Found</H1> <Center>
<Image src={pandaGif} alt="404s make panda angry..." priority />
<Link href="/">Go home?</Link> <H1>404: Page Not Found</H1>
</Center>
<Link href="/">Go home?</Link>
</Center>
</>
); );
}; };

View File

@ -203,8 +203,8 @@ iframe {
<HorizontalRule /> <HorizontalRule />
<Figure src={img_2020_03} href="https://jarvis-git-v4-jakejarvis.vercel.app/" alt="March 2020"> <Figure src={img_2020_03} href="https://quiet-truffle-92842d.netlify.app/" alt="March 2020">
<Link href="https://jarvis-git-v4-jakejarvis.vercel.app/">March 2020</Link> ( <Link href="https://quiet-truffle-92842d.netlify.app/">March 2020</Link> (
<Link href="https://github.com/jakejarvis/jarv.is-hugo">view source</Link>) <Link href="https://github.com/jakejarvis/jarv.is-hugo">view source</Link>)
</Figure> </Figure>
</Content> </Content>

View File

@ -22,6 +22,12 @@ const Wallpaper = styled("div", {
backgroundPosition: "center", backgroundPosition: "center",
}); });
const DOS = styled(Terminal, {
height: "400px",
width: "100%",
maxWidth: "700px",
});
const Y2K = () => { const Y2K = () => {
const [wallpaperUrl, setWallpaperUrl] = useState(""); const [wallpaperUrl, setWallpaperUrl] = useState("");
@ -58,9 +64,7 @@ const Y2K = () => {
/> />
<Wallpaper style={{ backgroundImage: wallpaperUrl ? `url(${wallpaperUrl})` : "" }}> <Wallpaper style={{ backgroundImage: wallpaperUrl ? `url(${wallpaperUrl})` : "" }}>
<ErrorBoundary <ErrorBoundary fallback={<DOS>Oh no, it looks like something's gone VERY wrong. Sorry about that!</DOS>}>
fallback={<Terminal>Oh dear, it looks like something's gone VERY wrong. Sorry about that!</Terminal>}
>
<VNC server={SOCKET_PROXY} /> <VNC server={SOCKET_PROXY} />
</ErrorBoundary> </ErrorBoundary>
</Wallpaper> </Wallpaper>