1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:46:39 -04:00

refactor component/page function returns

This commit is contained in:
2022-05-25 09:30:11 -04:00
parent ff96ccae44
commit 1e1ecd89ea
31 changed files with 2347 additions and 2281 deletions

View File

@ -37,135 +37,138 @@ const WindowsIcon = styled(Windows95Logo, {
fill: "currentColor",
});
const Previously = () => (
<>
<NextSeo
title="Previously on..."
description="An incredibly embarrassing and somewhat painful trip down this site's memory lane..."
openGraph={{
title: "Previously on...",
}}
/>
const Previously = () => {
return (
<>
<NextSeo
title="Previously on..."
description="An incredibly embarrassing and somewhat painful trip down this site's memory lane..."
openGraph={{
title: "Previously on...",
}}
/>
<PageTitle>🕰 Previously on...</PageTitle>
<PageTitle>🕰 Previously on...</PageTitle>
<Content>
<Figure
src={img_wayback}
href="https://web.archive.org/web/20010501000000*/jakejarvis.com"
alt="Timeline of this website's past."
priority
>
...the <Link href="https://web.archive.org/web/20010501000000*/jakejarvis.com">Cringey Chronicles&trade;</Link>{" "}
of this website's past.
</Figure>
<HorizontalRule />
<Marquee>
🚨 <strong>Trigger warning:</strong> excessive marquees, animated GIFs, Comic Sans, popups,{" "}
<CodeInline>
color: <span style={{ color: "#32cd32" }}>limegreen</span>
</CodeInline>{" "}
ahead...
</Marquee>
<p style={{ marginTop: 0 }}>
<Link
href="/y2k/"
prefetch={false}
css={{
"&:hover": {
// classic windows 9x hand cursor easter egg
cursor: `url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAgMAAAAOFJJnAAAACVBMVEVHcEwAAAD///8W1S+BAAAAAXRSTlMAQObYZgAAAEdJREFUeAFjoAVghTGkHIhghMAYmQEwxlIYYxlYlSiQMQEsELUKyli1ahWYwQZjMGIwGLKQGA4QA1EYEP0rGVAZrKGhSF4BAHw/HsVwshytAAAAAElFTkSuQmCC") 16 12, auto`,
},
}}
<Content>
<Figure
src={img_wayback}
href="https://web.archive.org/web/20010501000000*/jakejarvis.com"
alt="Timeline of this website's past."
priority
>
<WindowsIcon /> Click here for the{" "}
<strong>
<em>full</em>
</strong>{" "}
experience anyway.
</Link>
</p>
...the{" "}
<Link href="https://web.archive.org/web/20010501000000*/jakejarvis.com">Cringey Chronicles&trade;</Link> of
this website's past.
</Figure>
<figure style={{ margin: 0 }}>
<IFrame
src="https://jakejarvis.github.io/my-first-website/"
title="My Terrible, Horrible, No Good, Very Bad First Website"
height={500}
allowScripts
css={{ margin: "0.6em 0" }}
/>
<figcaption>
<Link href="https://jakejarvis.github.io/my-first-website/">November 2001</Link> (
<Link href="https://github.com/jakejarvis/my-first-website">view source</Link>)
</figcaption>
</figure>
<HorizontalRule />
<HorizontalRule />
<Marquee>
🚨 <strong>Trigger warning:</strong> excessive marquees, animated GIFs, Comic Sans, popups,{" "}
<CodeInline>
color: <span style={{ color: "#32cd32" }}>limegreen</span>
</CodeInline>{" "}
ahead...
</Marquee>
<Figure src={img_2002_02}>February 2002</Figure>
<p style={{ marginTop: 0 }}>
<Link
href="/y2k/"
prefetch={false}
css={{
"&:hover": {
// classic windows 9x hand cursor easter egg
cursor: `url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAgMAAAAOFJJnAAAACVBMVEVHcEwAAAD///8W1S+BAAAAAXRSTlMAQObYZgAAAEdJREFUeAFjoAVghTGkHIhghMAYmQEwxlIYYxlYlSiQMQEsELUKyli1ahWYwQZjMGIwGLKQGA4QA1EYEP0rGVAZrKGhSF4BAHw/HsVwshytAAAAAElFTkSuQmCC") 16 12, auto`,
},
}}
>
<WindowsIcon /> Click here for the{" "}
<strong>
<em>full</em>
</strong>{" "}
experience anyway.
</Link>
</p>
<HorizontalRule />
<figure style={{ margin: 0 }}>
<IFrame
src="https://jakejarvis.github.io/my-first-website/"
title="My Terrible, Horrible, No Good, Very Bad First Website"
height={500}
allowScripts
css={{ margin: "0.6em 0" }}
/>
<figcaption>
<Link href="https://jakejarvis.github.io/my-first-website/">November 2001</Link> (
<Link href="https://github.com/jakejarvis/my-first-website">view source</Link>)
</figcaption>
</figure>
<Figure src={img_2002_10}>October 2002</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2002_02}>February 2002</Figure>
<Figure src={img_2003_08}>August 2003</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2002_10}>October 2002</Figure>
<Figure src={img_2004_11}>November 2004</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2003_08}>August 2003</Figure>
<Figure src={img_2006_04}>April 2006</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2004_11}>November 2004</Figure>
<Figure src={img_2006_05}>May 2006</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2006_04}>April 2006</Figure>
<Figure src={img_2007_01}>January 2007</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2006_05}>May 2006</Figure>
<Figure src={img_2007_04}>April 2007</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2007_01}>January 2007</Figure>
<Figure src={img_2007_05}>May 2007</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2007_04}>April 2007</Figure>
<Figure src={img_2009_07}>July 2009</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2007_05}>May 2007</Figure>
<Figure src={img_2012_09} href="https://focused-knuth-7bc10d.netlify.app/" alt="September 2012">
<Link href="https://focused-knuth-7bc10d.netlify.app/">September 2012</Link> (
<Link href="https://github.com/jakejarvis/jarv.is/tree/v1">view source</Link>)
</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2009_07}>July 2009</Figure>
<Figure src={img_2018_04} href="https://hungry-mayer-40e790.netlify.app/" alt="April 2018">
<Link href="https://hungry-mayer-40e790.netlify.app/">April 2018</Link> (
<Link href="https://github.com/jakejarvis/jarv.is/tree/v2">view source</Link>)
</Figure>
<HorizontalRule />
<HorizontalRule />
<Figure src={img_2012_09} href="https://focused-knuth-7bc10d.netlify.app/" alt="September 2012">
<Link href="https://focused-knuth-7bc10d.netlify.app/">September 2012</Link> (
<Link href="https://github.com/jakejarvis/jarv.is/tree/v1">view source</Link>)
</Figure>
<Figure src={img_2020_03} href="https://quiet-truffle-92842d.netlify.app/" alt="March 2020">
<Link href="https://quiet-truffle-92842d.netlify.app/">March 2020</Link> (
<Link href="https://github.com/jakejarvis/jarv.is-hugo">view source</Link>)
</Figure>
</Content>
</>
);
<HorizontalRule />
<Figure src={img_2018_04} href="https://hungry-mayer-40e790.netlify.app/" alt="April 2018">
<Link href="https://hungry-mayer-40e790.netlify.app/">April 2018</Link> (
<Link href="https://github.com/jakejarvis/jarv.is/tree/v2">view source</Link>)
</Figure>
<HorizontalRule />
<Figure src={img_2020_03} href="https://quiet-truffle-92842d.netlify.app/" alt="March 2020">
<Link href="https://quiet-truffle-92842d.netlify.app/">March 2020</Link> (
<Link href="https://github.com/jakejarvis/jarv.is-hugo">view source</Link>)
</Figure>
</Content>
</>
);
};
// a complete sh*tshow of "global" overrides, mainly to compensate for font change
Previously.getLayout = (page: ReactElement) => {