+
{status.success ? : } {status.message}
@@ -149,6 +136,4 @@ const ContactForm = () => {
);
-};
-
-export default ContactForm;
+}
diff --git a/components/hits/Hits.tsx b/components/hits/Hits.tsx
new file mode 100644
index 00000000..de73ff3e
--- /dev/null
+++ b/components/hits/Hits.tsx
@@ -0,0 +1,28 @@
+import useSWR from "swr";
+import { fetcher } from "../../lib/fetcher";
+import Loading from "../loading/Loading";
+
+export default function Counter({ slug }) {
+ // start fetching repos from API immediately
+ const { data, error } = useSWR(`/api/hits/?slug=${encodeURIComponent(slug)}`, fetcher, {
+ // avoid double (or more) counting views
+ revalidateOnFocus: false,
+ });
+
+ // show spinning loading indicator if data isn't fetched yet
+ if (!data) {
+ return
;
+ }
+
+ // fail secretly
+ if (error) {
+ return;
+ }
+
+ // we have data!
+ return (
+
+ {data.hits.toLocaleString("en-US")}
+
+ );
+}
diff --git a/components/home/ColorLink.tsx b/components/home/ColorLink.tsx
new file mode 100644
index 00000000..cf13038a
--- /dev/null
+++ b/components/home/ColorLink.tsx
@@ -0,0 +1,59 @@
+import hexRgb from "hex-rgb";
+import isAbsoluteUrl from "is-absolute-url";
+import Link from "next/link";
+
+type Props = {
+ children: unknown;
+ href: string;
+ lightColor: string;
+ darkColor: string;
+ title?: string;
+ className?: string;
+ external?: boolean;
+};
+
+export default function ColorLink({
+ children,
+ href,
+ lightColor,
+ darkColor,
+ title,
+ className,
+ external = false,
+}: Props) {
+ external = external || isAbsoluteUrl(href);
+
+ // hacky hack to form a unique CSS var based on the light hex code, since they need to be set "globally"
+ const varName = `Home__${lightColor.replace("#", "")}`;
+ const alpha = 0.4;
+
+ return (
+
+ {/* eslint-disable-next-line react/jsx-no-target-blank */}
+
+ {children}
+
+
+
+
+ );
+}
diff --git a/components/home/Home.module.scss b/components/home/Home.module.scss
new file mode 100644
index 00000000..af4c99cb
--- /dev/null
+++ b/components/home/Home.module.scss
@@ -0,0 +1,107 @@
+.home {
+ font-size: 1em;
+
+ h1 {
+ margin: 0 0 0.3em -0.03em; // TODO: why is this indented slightly?
+ font-size: 1.8em;
+ font-weight: 500;
+ letter-spacing: -0.014em;
+
+ .wave {
+ display: inline-block;
+ margin-left: 2px;
+ animation: wave 5s infinite;
+ animation-delay: 1s;
+ transform-origin: 65% 80%;
+ will-change: transform;
+ }
+ }
+
+ h2 {
+ margin: 0.5em 0 0.5em -0.03em; // TODO: why is this indented slightly?
+ font-size: 1.35em;
+ font-weight: 400;
+ letter-spacing: -0.022em;
+ line-height: 1.4;
+ }
+
+ p {
+ margin: 0.85em 0;
+ letter-spacing: -0.009em;
+ line-height: 1.7;
+
+ &:last-of-type {
+ margin-bottom: 0;
+ }
+ }
+
+ sup {
+ letter-spacing: normal;
+ position: relative;
+ margin-left: 0.2em;
+
+ a {
+ background: none;
+ padding-bottom: 0;
+ }
+ }
+
+ .pgp {
+ font-size: 0.875em;
+ word-spacing: -0.3em;
+ margin-right: 0.075em;
+ }
+
+ .light {
+ color: var(--medium-light);
+ }
+
+ .birthday:hover {
+ cursor: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 36 36%27 width=%2720%27 height=%2720%27%3E%3Cg fill=%27none%27%3E%3Cpath fill=%27%23292F33%27 d=%27m2.651 6.073 26.275 26.276c.391.391 2.888-2.107 2.497-2.497L5.148 3.576c-.39-.391-2.888 2.107-2.497 2.497z%27/%3E%3Cpath fill=%27%2366757F%27 d=%27M29.442 31.23 3.146 4.934l.883-.883 26.296 26.296z%27/%3E%3Cpath fill=%27%23E1E8ED%27 d=%27m33.546 33.483-.412.412-.671.671a.967.967 0 0 1-.255.169.988.988 0 0 1-1.159-.169l-2.102-2.102.495-.495.883-.883 1.119-1.119 2.102 2.102a.999.999 0 0 1 0 1.414zM4.029 4.79l-.883.883-.495.495L.442 3.96a.988.988 0 0 1-.169-1.159.967.967 0 0 1 .169-.255l.671-.671.412-.412a.999.999 0 0 1 1.414 0l2.208 2.208L4.029 4.79z%27/%3E%3Cpath fill=%27%23F5F8FA%27 d=%27m30.325 30.497 2.809 2.809-.671.671a.967.967 0 0 1-.255.169l-2.767-2.767.884-.882zM3.146 5.084.273 2.211a.967.967 0 0 1 .169-.255l.671-.671 2.916 2.916-.883.883z%27/%3E%3Cpath fill=%27%23FFAC33%27 d=%27m27.897 10.219 1.542.571.6 2.2a.667.667 0 0 0 1.287 0l.6-2.2 1.542-.571a.665.665 0 0 0 0-1.25l-1.534-.568-.605-2.415a.667.667 0 0 0-1.293 0l-.605 2.415-1.534.568a.665.665 0 0 0 0 1.25m-16.936 9.628 2.61.966.966 2.61a1.103 1.103 0 0 0 2.07 0l.966-2.61 2.609-.966a1.103 1.103 0 0 0 0-2.07l-2.609-.966-.966-2.61a1.105 1.105 0 0 0-2.07 0l-.966 2.61-2.61.966a1.104 1.104 0 0 0 0 2.07M23.13 4.36l1.383.512.512 1.382a.585.585 0 0 0 1.096 0l.512-1.382 1.382-.512a.584.584 0 0 0 0-1.096l-1.382-.512-.512-1.382a.585.585 0 0 0-1.096 0l-.512 1.382-1.383.512a.585.585 0 0 0 0 1.096%27/%3E%3C/g%3E%3C/svg%3E")
+ 0 0,
+ auto;
+ }
+}
+
+@media screen and (max-width: 800px) {
+ .home {
+ font-size: 0.975em;
+
+ h1 {
+ font-size: 1.6em;
+ }
+
+ h2 {
+ font-size: 1.2em;
+ }
+ }
+}
+
+@keyframes wave {
+ 0% {
+ transform: rotate(0deg);
+ }
+ 5% {
+ transform: rotate(14deg);
+ }
+ 10% {
+ transform: rotate(-8deg);
+ }
+ 15% {
+ transform: rotate(14deg);
+ }
+ 20% {
+ transform: rotate(-4deg);
+ }
+ 25% {
+ transform: rotate(10deg);
+ }
+ 30% {
+ transform: rotate(0deg);
+ }
+
+ // pause for 3.5 out of 5 seconds
+ 100% {
+ transform: rotate(0deg);
+ }
+}
diff --git a/components/home/Home.tsx b/components/home/Home.tsx
new file mode 100644
index 00000000..dbde2e50
--- /dev/null
+++ b/components/home/Home.tsx
@@ -0,0 +1,247 @@
+import Link from "./ColorLink";
+import { WaveIcon, LockIcon } from "../icons";
+
+import styles from "./Home.module.scss";
+
+export default function Home() {
+ return (
+
+
+ Hi there! I'm Jake.{" "}
+
+
+
+
+
+
+ I'm a frontend web developer based in{" "}
+
+ Boston
+
+ .
+
+
+
+ I specialize in{" "}
+
+ modern JS frameworks
+ {" "}
+ and{" "}
+
+ vanilla JavaScript
+ {" "}
+ to make nifty{" "}
+
+ JAMstack sites
+ {" "}
+ with dynamic{" "}
+
+ Node.js
+ {" "}
+ services. But I'm fluent in non-buzzwords like{" "}
+
+ PHP
+
+ ,{" "}
+
+ Ruby
+
+ , and{" "}
+
+ Go
+ {" "}
+ too.
+
+
+
+ Whenever possible, I also apply my experience in{" "}
+
+ application security
+
+ ,{" "}
+
+ serverless stacks
+
+ , and{" "}
+
+ DevOps automation
+
+ .
+
+
+
+ I fell in love with{" "}
+
+ frontend web design
+ {" "}
+ and{" "}
+
+ backend programming
+ {" "}
+ back when my only source of income was{" "}
+
+ the Tooth Fairy
+
+ . I've improved a bit since then, I think...
+
+
+
+ Over the years, some of my side projects{" "}
+
+ have
+ {" "}
+
+ been
+ {" "}
+
+ featured
+ {" "}
+
+ by
+ {" "}
+
+ various
+ {" "}
+
+ media
+ {" "}
+
+ outlets
+
+ .
+
+
+
+ You can find more of my work on{" "}
+
+ GitHub
+ {" "}
+ and{" "}
+
+ LinkedIn
+
+ . I'm always available to connect over{" "}
+
+ email
+ {" "}
+
+
+
+ 2B0C 9CF2 51E6 9A39
+
+
+
+ ,{" "}
+
+ Twitter
+
+ , or{" "}
+
+ SMS
+ {" "}
+ as well!
+
+
+ );
+}
diff --git a/components/icons/index.ts b/components/icons/index.ts
new file mode 100644
index 00000000..825ab02f
--- /dev/null
+++ b/components/icons/index.ts
@@ -0,0 +1,51 @@
+import BotIcon from "./svg/bot.svg";
+import BulbOffIcon from "./svg/bulb-off.svg";
+import BulbOnIcon from "./svg/bulb-on.svg";
+import ContactIcon from "./svg/contact.svg";
+import DateIcon from "./svg/date.svg";
+import EditIcon from "./svg/edit.svg";
+import FloppyIcon from "./svg/floppy.svg";
+import HeartIcon from "./svg/heart.svg";
+import HomeIcon from "./svg/home.svg";
+import LaptopIcon from "./svg/laptop.svg";
+import LicenseIcon from "./svg/license.svg";
+import LockIcon from "./svg/lock.svg";
+import MailIcon from "./svg/mail.svg";
+import NextjsIcon from "./svg/nextjs.svg";
+import NotesIcon from "./svg/notes.svg";
+import PrivacyIcon from "./svg/privacy.svg";
+import ProjectsIcon from "./svg/projects.svg";
+import SendIcon from "./svg/send.svg";
+import SirenIcon from "./svg/siren.svg";
+import TagIcon from "./svg/tag.svg";
+import TapeIcon from "./svg/tape.svg";
+import ViewsIcon from "./svg/views.svg";
+import WandIcon from "./svg/wand.svg";
+import WaveIcon from "./svg/wave.svg";
+
+export {
+ BotIcon,
+ BulbOffIcon,
+ BulbOnIcon,
+ ContactIcon,
+ DateIcon,
+ EditIcon,
+ FloppyIcon,
+ HeartIcon,
+ HomeIcon,
+ LaptopIcon,
+ LicenseIcon,
+ LockIcon,
+ MailIcon,
+ NextjsIcon,
+ NotesIcon,
+ PrivacyIcon,
+ ProjectsIcon,
+ SendIcon,
+ SirenIcon,
+ TagIcon,
+ TapeIcon,
+ ViewsIcon,
+ WandIcon,
+ WaveIcon,
+};
diff --git a/components/icons/svg/bot.svg b/components/icons/svg/bot.svg
new file mode 100644
index 00000000..576dc51a
--- /dev/null
+++ b/components/icons/svg/bot.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/bulb-off.svg b/components/icons/svg/bulb-off.svg
new file mode 100644
index 00000000..cf467bf8
--- /dev/null
+++ b/components/icons/svg/bulb-off.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/bulb-on.svg b/components/icons/svg/bulb-on.svg
new file mode 100644
index 00000000..437cec0e
--- /dev/null
+++ b/components/icons/svg/bulb-on.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/contact.svg b/components/icons/svg/contact.svg
new file mode 100644
index 00000000..3c0f77d6
--- /dev/null
+++ b/components/icons/svg/contact.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/date.svg b/components/icons/svg/date.svg
new file mode 100755
index 00000000..97b14a02
--- /dev/null
+++ b/components/icons/svg/date.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/edit.svg b/components/icons/svg/edit.svg
new file mode 100755
index 00000000..7966b699
--- /dev/null
+++ b/components/icons/svg/edit.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/floppy.svg b/components/icons/svg/floppy.svg
new file mode 100644
index 00000000..3e324081
--- /dev/null
+++ b/components/icons/svg/floppy.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/heart.svg b/components/icons/svg/heart.svg
new file mode 100644
index 00000000..7524c772
--- /dev/null
+++ b/components/icons/svg/heart.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/home.svg b/components/icons/svg/home.svg
new file mode 100644
index 00000000..f3151b43
--- /dev/null
+++ b/components/icons/svg/home.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/laptop.svg b/components/icons/svg/laptop.svg
new file mode 100644
index 00000000..d3f775a1
--- /dev/null
+++ b/components/icons/svg/laptop.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/license.svg b/components/icons/svg/license.svg
new file mode 100644
index 00000000..45471f6a
--- /dev/null
+++ b/components/icons/svg/license.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/lock.svg b/components/icons/svg/lock.svg
new file mode 100644
index 00000000..3f8c74bc
--- /dev/null
+++ b/components/icons/svg/lock.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/mail.svg b/components/icons/svg/mail.svg
new file mode 100644
index 00000000..711a6d1d
--- /dev/null
+++ b/components/icons/svg/mail.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/nextjs.svg b/components/icons/svg/nextjs.svg
new file mode 100644
index 00000000..bc25103c
--- /dev/null
+++ b/components/icons/svg/nextjs.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/notes.svg b/components/icons/svg/notes.svg
new file mode 100644
index 00000000..f70ada30
--- /dev/null
+++ b/components/icons/svg/notes.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/privacy.svg b/components/icons/svg/privacy.svg
new file mode 100644
index 00000000..e8290220
--- /dev/null
+++ b/components/icons/svg/privacy.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/projects.svg b/components/icons/svg/projects.svg
new file mode 100644
index 00000000..fccbbfcb
--- /dev/null
+++ b/components/icons/svg/projects.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/send.svg b/components/icons/svg/send.svg
new file mode 100644
index 00000000..afe0d63c
--- /dev/null
+++ b/components/icons/svg/send.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/siren.svg b/components/icons/svg/siren.svg
new file mode 100644
index 00000000..96eee335
--- /dev/null
+++ b/components/icons/svg/siren.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/tag.svg b/components/icons/svg/tag.svg
new file mode 100755
index 00000000..bae4ef86
--- /dev/null
+++ b/components/icons/svg/tag.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/tape.svg b/components/icons/svg/tape.svg
new file mode 100644
index 00000000..53942ee6
--- /dev/null
+++ b/components/icons/svg/tape.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/views.svg b/components/icons/svg/views.svg
new file mode 100755
index 00000000..27533e6c
--- /dev/null
+++ b/components/icons/svg/views.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/wand.svg b/components/icons/svg/wand.svg
new file mode 100644
index 00000000..e6af74d9
--- /dev/null
+++ b/components/icons/svg/wand.svg
@@ -0,0 +1 @@
+
diff --git a/components/icons/svg/wave.svg b/components/icons/svg/wave.svg
new file mode 100644
index 00000000..3ba3b381
--- /dev/null
+++ b/components/icons/svg/wave.svg
@@ -0,0 +1 @@
+
diff --git a/components/loading/Loading.tsx b/components/loading/Loading.tsx
new file mode 100644
index 00000000..4ec93742
--- /dev/null
+++ b/components/loading/Loading.tsx
@@ -0,0 +1,56 @@
+type Props = {
+ boxes?: number;
+ timing?: number;
+ width: number;
+};
+
+export default function Loading({ boxes = 3, timing = 0.1, width }: Props) {
+ // each box is just an empty div
+ const divs = [];
+
+ // allow a custom number of pulsing boxes (defaults to 3)
+ for (let i = 0; i < boxes; i++) {
+ // width of each box correlates with number of boxes (with a little padding)
+ // each individual box's animation has a staggered start in corresponding order
+ divs.push(
+
+
+
+ );
+ }
+
+ return (
+
+ {divs}
+
+
+ );
+}
diff --git a/components/mdxComponents.tsx b/components/mdxComponents.tsx
new file mode 100644
index 00000000..f30ab313
--- /dev/null
+++ b/components/mdxComponents.tsx
@@ -0,0 +1,91 @@
+import Link from "next/link";
+import Image from "next/image";
+import TweetEmbed from "react-tweet-embed";
+import Gist from "react-gist";
+import getNodeText from "../lib/getNodeText";
+import Video from "./video/FullPageVideo";
+import CopyButton from "./clipboard/CopyButton";
+import { MarkGithubIcon } from "@primer/octicons-react";
+import type { LinkProps } from "next/link";
+import type { ImageProps } from "next/image";
+import type { ReactPlayerProps } from "react-player";
+
+// The following components are all passed into
as replacement HTML tags or drop-in React components
+// available in .mdx files containing post content, since they're not directly aware of the components in this folder.
+const mdxComponents = {
+ a: ({
+ href,
+ target,
+ rel,
+ className,
+ children,
+ }: LinkProps & {
+ target?: string;
+ rel?: string;
+ className?: string;
+ children?: unknown;
+ }) => (
+
+
+ {children}
+
+
+ ),
+ img: (props: ImageProps) => {
+ return (
+ // height and width are part of the props, so they get automatically passed here with {...props}
+
+ {/* eslint-disable-next-line jsx-a11y/alt-text */}
+
+
+ );
+ },
+ code: (props: any) => {
+ if (props.className?.split(" ").includes("hljs")) {
+ return (
+
+
+ {props.children}
+
+
+ );
+ } else {
+ return
{props.children}
;
+ }
+ },
+ video: (props: ReactPlayerProps) =>
,
+ tweet: (props: { id: string }) => (
+
+ ),
+ gist: (props: { id: string; file?: string }) =>
,
+ octocat: (props) => (
+
+
+
+
+ ),
+};
+
+export default mdxComponents;
diff --git a/components/notes/List.module.scss b/components/notes/List.module.scss
new file mode 100644
index 00000000..9e396048
--- /dev/null
+++ b/components/notes/List.module.scss
@@ -0,0 +1,27 @@
+.section {
+ margin: 1.5em 0;
+
+ .year {
+ font-size: 2.1em;
+ margin-top: 0;
+ margin-bottom: 0.4em;
+ }
+
+ .list {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+
+ li:last-of-type {
+ margin-bottom: 0;
+ }
+ }
+
+ &:first-of-type {
+ margin-top: 0;
+ }
+
+ &:last-of-type {
+ margin-bottom: 0;
+ }
+}
diff --git a/components/notes/List.tsx b/components/notes/List.tsx
new file mode 100644
index 00000000..cd364e0a
--- /dev/null
+++ b/components/notes/List.tsx
@@ -0,0 +1,22 @@
+import ListItem from "./ListItem";
+
+import styles from "./List.module.scss";
+
+export default function List({ allNotes }) {
+ const sections = [];
+
+ Object.entries(allNotes).forEach(([year, notes]: [string, any]) => {
+ sections.push(
+
+ {year}
+
+ {notes.map((note) => (
+
+ ))}
+
+
+ );
+ });
+
+ return <>{sections.reverse()}>;
+}
diff --git a/components/notes/ListItem.module.scss b/components/notes/ListItem.module.scss
new file mode 100644
index 00000000..e98c907c
--- /dev/null
+++ b/components/notes/ListItem.module.scss
@@ -0,0 +1,12 @@
+.row {
+ display: flex;
+ letter-spacing: -0.008em;
+ line-height: 1.75;
+ margin-bottom: 1em;
+}
+
+.date {
+ width: 5.25em;
+ flex-shrink: 0;
+ color: var(--medium);
+}
diff --git a/components/notes/ListItem.tsx b/components/notes/ListItem.tsx
new file mode 100644
index 00000000..0de28219
--- /dev/null
+++ b/components/notes/ListItem.tsx
@@ -0,0 +1,23 @@
+import Link from "next/link";
+import { format, parseISO } from "date-fns";
+
+import styles from "./ListItem.module.scss";
+
+export type Props = {
+ title: string;
+ date: string;
+ slug: string;
+};
+
+export default function ListItem({ title, date, slug }: Props) {
+ return (
+
+ {format(parseISO(date), "MMM d")}
+
+
+ {title}
+
+
+
+ );
+}
diff --git a/components/notes/Meta.module.scss b/components/notes/Meta.module.scss
new file mode 100644
index 00000000..36361a1a
--- /dev/null
+++ b/components/notes/Meta.module.scss
@@ -0,0 +1,77 @@
+.meta {
+ display: flex;
+ flex-wrap: wrap;
+ font-size: 0.825em;
+ line-height: 2.3;
+ letter-spacing: 0.04em;
+ color: var(--medium);
+
+ a {
+ color: inherit;
+ background: none;
+ padding-bottom: 0;
+ }
+
+ > div {
+ display: inline-flex;
+ margin-right: 1.6em;
+ white-space: nowrap;
+
+ &:last-of-type {
+ margin-right: 0;
+ }
+ }
+}
+
+.meta_icon {
+ margin-right: 0.6em;
+ user-select: none;
+
+ .icon_svg {
+ vertical-align: -0.2em;
+ cursor: inherit;
+ }
+}
+
+.date,
+.edit {
+ a {
+ display: inline-flex;
+ }
+}
+
+.tags {
+ white-space: normal;
+ display: inline-flex;
+ flex-wrap: wrap;
+
+ .tag {
+ text-transform: lowercase;
+ white-space: nowrap;
+ margin-right: 0.75em;
+
+ &::before {
+ content: "#"; // cosmetically hashtagify tags
+ padding-right: 0.125em;
+ color: var(--light);
+ }
+
+ &:last-of-type {
+ margin-right: 0;
+ }
+ }
+}
+
+.title {
+ margin: 0.3em 0 0.5em -0.03em; // TODO: why is this indented slightly?
+ font-size: 2.1em;
+ line-height: 1.3;
+ font-weight: 700;
+ letter-spacing: -0.006em;
+
+ a {
+ background: none;
+ padding-bottom: 0;
+ color: inherit;
+ }
+}
diff --git a/components/notes/Meta.tsx b/components/notes/Meta.tsx
new file mode 100644
index 00000000..f444b1b2
--- /dev/null
+++ b/components/notes/Meta.tsx
@@ -0,0 +1,68 @@
+import Link from "next/link";
+import { format, parseISO } from "date-fns";
+import Hits from "../hits/Hits";
+import { DateIcon, TagIcon, EditIcon, ViewsIcon } from "../icons";
+import * as config from "../../lib/config";
+
+import styles from "./Meta.module.scss";
+
+export type Props = {
+ title: string;
+ date: string;
+ slug: string;
+ tags?: string[];
+};
+
+export default function Meta({ title, date, slug, tags = [] }: Props) {
+ return (
+ <>
+
+
+
+
+
+ {format(parseISO(date), "MMMM d, yyyy")}
+
+ {tags.length > 0 && (
+
+
+
+
+ {tags.map((tag) => (
+
+ {tag}
+
+ ))}
+
+ )}
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+}
diff --git a/components/page-footer/Footer.module.scss b/components/page-footer/Footer.module.scss
new file mode 100644
index 00000000..d2900268
--- /dev/null
+++ b/components/page-footer/Footer.module.scss
@@ -0,0 +1,78 @@
+.footer {
+ width: 100%;
+ letter-spacing: -0.005em;
+ padding: 1.25em 1.5em;
+ border-top: 1px solid var(--kinda-light);
+ color: var(--medium-dark);
+
+ a {
+ color: var(--medium-dark);
+ background: none;
+ padding-bottom: 0;
+ }
+
+ .view_source {
+ padding-bottom: 2px;
+ border-bottom: 1px solid;
+ border-color: var(--light);
+ }
+}
+
+.row {
+ display: flex;
+ width: 100%;
+ max-width: 865px;
+ margin: 0 auto;
+ justify-content: space-between;
+ font-size: 0.85em;
+ line-height: 2.3;
+}
+
+.beat {
+ display: inline-block;
+ animation: beat 10s infinite; // 6 bpm, call 911 if you see this please.
+ animation-delay: 7.5s; // offset from wave animation
+ will-change: transform;
+}
+
+@media screen and (max-width: 800px) {
+ .footer {
+ padding: 1em 1.25em 0;
+
+ // Safari iOS menu bar reappears below 44px:
+ // https://www.eventbrite.com/engineering/mobile-safari-why/
+ padding-bottom: 45px !important;
+
+ // Allows you to scroll below the viewport; default value is visible
+ overflow-y: scroll;
+ }
+
+ // stack columns on left instead of flexboxing across
+ .row {
+ display: block;
+ line-height: 2;
+ }
+}
+
+@keyframes beat {
+ 0% {
+ transform: scale(1);
+ }
+ 2% {
+ transform: scale(1.25);
+ }
+ 4% {
+ transform: scale(1);
+ }
+ 6% {
+ transform: scale(1.2);
+ }
+ 8% {
+ transform: scale(1);
+ }
+
+ // pause for ~9 out of 10 seconds
+ 100% {
+ transform: scale(1);
+ }
+}
diff --git a/components/page-footer/Footer.tsx b/components/page-footer/Footer.tsx
new file mode 100644
index 00000000..c9fbc128
--- /dev/null
+++ b/components/page-footer/Footer.tsx
@@ -0,0 +1,45 @@
+import Link from "next/link";
+import { HeartIcon, NextjsIcon } from "../icons";
+import * as config from "../../lib/config";
+
+import styles from "./Footer.module.scss";
+
+export default function Footer() {
+ return (
+
+ );
+}
diff --git a/components/page-header/Header.module.scss b/components/page-header/Header.module.scss
new file mode 100644
index 00000000..c631956c
--- /dev/null
+++ b/components/page-header/Header.module.scss
@@ -0,0 +1,25 @@
+.header {
+ position: sticky;
+ top: 0;
+ width: 100%;
+ padding: 0.7em 1.5em;
+ border-bottom: 1px solid var(--kinda-light);
+ background-color: var(--background-header);
+ backdrop-filter: saturate(180%) blur(5px);
+ z-index: 1000;
+}
+
+.nav {
+ width: 100%;
+ max-width: 865px;
+ margin: 0 auto;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+}
+
+@media screen and (max-width: 800px) {
+ .header {
+ padding: 0.5em 1.25em;
+ }
+}
diff --git a/components/page-header/Header.tsx b/components/page-header/Header.tsx
new file mode 100644
index 00000000..aafefcf3
--- /dev/null
+++ b/components/page-header/Header.tsx
@@ -0,0 +1,15 @@
+import Name from "./Name";
+import Menu from "./Menu";
+
+import styles from "./Header.module.scss";
+
+export default function Header() {
+ return (
+
+ );
+}
diff --git a/components/page-header/Menu.module.scss b/components/page-header/Menu.module.scss
new file mode 100644
index 00000000..9749cdda
--- /dev/null
+++ b/components/page-header/Menu.module.scss
@@ -0,0 +1,38 @@
+.menu {
+ list-style: none;
+ display: flex;
+ align-items: center;
+ margin: 0;
+ padding: 0;
+}
+
+.item {
+ margin-left: 1.8em;
+ display: inline-flex;
+ align-items: center;
+ line-height: 1;
+
+ svg {
+ width: 1.6em;
+ height: 1.6em;
+ }
+}
+
+.theme_toggle {
+ margin-left: 1.25em;
+}
+
+@media screen and (max-width: 800px) {
+ .item {
+ margin-left: 2em;
+
+ svg {
+ width: 1.75em;
+ height: 1.75em;
+ }
+ }
+
+ .theme_toggle {
+ margin-left: 1.6em;
+ }
+}
diff --git a/components/page-header/Menu.tsx b/components/page-header/Menu.tsx
new file mode 100644
index 00000000..abc5df0c
--- /dev/null
+++ b/components/page-header/Menu.tsx
@@ -0,0 +1,46 @@
+import dynamic from "next/dynamic";
+import MenuItem from "./MenuItem";
+import { HomeIcon, NotesIcon, ProjectsIcon, ContactIcon } from "../icons";
+
+import styles from "./Menu.module.scss";
+
+const menuItems = [
+ {
+ icon:
,
+ text: "Home",
+ href: "/",
+ },
+ {
+ icon:
,
+ text: "Notes",
+ href: "/notes/",
+ },
+ {
+ icon:
,
+ text: "Projects",
+ href: "/projects/",
+ },
+ {
+ icon:
,
+ text: "Contact",
+ href: "/contact/",
+ },
+];
+
+// ensure the theme toggle isn't evaluated server-side
+const ThemeToggle = dynamic(() => import("./ThemeToggle"), { ssr: false });
+
+export default function Menu() {
+ return (
+
+ {menuItems.map((item, index) => (
+ -
+
+
+ ))}
+ -
+
+
+
+ );
+}
diff --git a/components/page-header/MenuItem.module.scss b/components/page-header/MenuItem.module.scss
new file mode 100644
index 00000000..641c06ca
--- /dev/null
+++ b/components/page-header/MenuItem.module.scss
@@ -0,0 +1,30 @@
+.item_link {
+ display: inline-flex;
+ align-items: center;
+ color: var(--medium-dark);
+ background: none;
+ padding-bottom: 0;
+
+ &:hover {
+ color: var(--link);
+ }
+}
+
+.item_icon {
+ user-select: none;
+}
+
+.item_text {
+ font-size: 0.95em;
+ font-weight: 500;
+ margin-top: 0.05em;
+ margin-left: 0.75em;
+ line-height: 1;
+}
+
+@media screen and (max-width: 800px) {
+ // hide text next to emojis on mobile
+ .item_text {
+ display: none;
+ }
+}
diff --git a/components/page-header/MenuItem.tsx b/components/page-header/MenuItem.tsx
new file mode 100644
index 00000000..4fc56f4b
--- /dev/null
+++ b/components/page-header/MenuItem.tsx
@@ -0,0 +1,20 @@
+import Link from "next/link";
+
+import styles from "./MenuItem.module.scss";
+
+type Props = {
+ href: URL | string;
+ icon: any;
+ text: string;
+};
+
+export default function MenuItem({ href, icon, text }: Props) {
+ return (
+
+
+ {icon}
+ {text}
+
+
+ );
+}
diff --git a/components/page-header/Name.module.scss b/components/page-header/Name.module.scss
new file mode 100644
index 00000000..c137ba49
--- /dev/null
+++ b/components/page-header/Name.module.scss
@@ -0,0 +1,43 @@
+.title {
+ display: flex;
+ align-items: center;
+ color: var(--medium-dark);
+ background: none;
+ padding-bottom: 0;
+
+ &:hover {
+ color: var(--link);
+
+ .selfie {
+ opacity: 0.9;
+ }
+ }
+}
+
+.selfie {
+ width: 50px;
+ height: 50px;
+
+ img {
+ border: 1px solid var(--light) !important;
+ border-radius: 50%;
+ }
+}
+
+.name {
+ margin: 0 0.6em;
+ font-size: 1.25em;
+ font-weight: 500;
+ letter-spacing: -0.01em;
+}
+
+@media screen and (max-width: 800px) {
+ .selfie {
+ width: 70px;
+ height: 70px;
+ }
+
+ .name {
+ display: none;
+ }
+}
diff --git a/components/page-header/Name.tsx b/components/page-header/Name.tsx
new file mode 100644
index 00000000..e3ada85b
--- /dev/null
+++ b/components/page-header/Name.tsx
@@ -0,0 +1,27 @@
+import Link from "next/link";
+import Image from "next/image";
+
+import selfiePic from "../../public/static/images/me.jpg";
+
+import styles from "./Name.module.scss";
+
+export default function Name() {
+ return (
+
+
+
+
+
+ Jake Jarvis
+
+
+ );
+}
diff --git a/components/page-header/ThemeToggle.module.scss b/components/page-header/ThemeToggle.module.scss
new file mode 100644
index 00000000..8b614b22
--- /dev/null
+++ b/components/page-header/ThemeToggle.module.scss
@@ -0,0 +1,7 @@
+.toggle {
+ border: 0;
+ padding: 0;
+ background: none;
+ line-height: 1;
+ cursor: pointer;
+}
diff --git a/assets/js/src/components/ThemeToggle.js b/components/page-header/ThemeToggle.tsx
similarity index 57%
rename from assets/js/src/components/ThemeToggle.js
rename to components/page-header/ThemeToggle.tsx
index d357a9b6..c516d582 100644
--- a/assets/js/src/components/ThemeToggle.js
+++ b/components/page-header/ThemeToggle.tsx
@@ -1,12 +1,26 @@
-import { h } from "preact";
-import { useState, useEffect, useCallback } from "preact/hooks";
-import { isDark, getDarkPref, setDarkPref, updateDOM } from "../utils/theme.js";
+import { useState, useEffect, useCallback } from "react";
+import { BulbOffIcon, BulbOnIcon } from "../icons";
-// react components:
-import BulbOn from "../assets/bulb-on.svg";
-import BulbOff from "../assets/bulb-off.svg";
+import styles from "./ThemeToggle.module.scss";
-const ThemeToggle = () => {
+// store preference in local storage
+const storageKey = "dark_mode";
+export const getDarkPref = () => localStorage.getItem(storageKey);
+export const setDarkPref = (pref: boolean) => localStorage.setItem(storageKey, pref as unknown as string);
+
+// use the `` as a hint to what the theme was set to outside of the button component
+// there's probably (definitely) a cleaner way to do this..?
+export const isDark = () => document.documentElement.getAttribute("data-theme") === "dark";
+
+// sets appropriate `` CSS property
+export const updateDOM = (dark: boolean) => {
+ const root = document.documentElement;
+
+ // set ``
+ root.setAttribute("data-theme", dark ? "dark" : "light");
+};
+
+export default function ThemeToggle() {
// sync button up with theme and preference states after initialization
const [dark, setDark] = useState(isDark());
const [saved, setSaved] = useState(!!getDarkPref());
@@ -28,7 +42,7 @@ const ThemeToggle = () => {
} catch (e) {} // eslint-disable-line no-empty
}, [saved, matchCallback]);
- // sets appropriate `` and `color-scheme` CSS property when mode changes
+ // sets appropriate HTML when mode changes
useEffect(() => updateDOM(dark), [dark]);
const handleToggle = () => {
@@ -42,13 +56,12 @@ const ThemeToggle = () => {
return (
);
-};
-
-export default ThemeToggle;
+}
diff --git a/components/page/PageTitle.module.scss b/components/page/PageTitle.module.scss
new file mode 100644
index 00000000..f5ea0ddb
--- /dev/null
+++ b/components/page/PageTitle.module.scss
@@ -0,0 +1,18 @@
+.title {
+ margin-top: 0;
+ margin-bottom: 0.4em;
+ font-size: 2em;
+ text-align: center;
+
+ a {
+ background: none;
+ padding-bottom: 0;
+ color: var(--text);
+ }
+}
+
+@media screen and (max-width: 800px) {
+ .title {
+ font-size: 1.8em;
+ }
+}
diff --git a/components/page/PageTitle.tsx b/components/page/PageTitle.tsx
new file mode 100644
index 00000000..e5791dbe
--- /dev/null
+++ b/components/page/PageTitle.tsx
@@ -0,0 +1,17 @@
+import { useRouter } from "next/router";
+
+import styles from "./PageTitle.module.scss";
+
+type Props = {
+ title: unknown;
+};
+
+export default function Content({ title }: Props) {
+ const router = useRouter();
+
+ return (
+
+ );
+}
diff --git a/components/projects/RepositoryCard.module.scss b/components/projects/RepositoryCard.module.scss
new file mode 100644
index 00000000..021b1156
--- /dev/null
+++ b/components/projects/RepositoryCard.module.scss
@@ -0,0 +1,56 @@
+.card {
+ flex-grow: 1;
+ width: 416px; // magic number
+ padding: 1em 1.2em;
+ margin: 0.6em;
+ border: 1px solid;
+ border-radius: 0.5em;
+ font-size: 0.85em;
+ color: var(--medium-dark);
+ border-color: var(--kinda-light);
+
+ .name {
+ font-size: 1.2em;
+ font-weight: 600;
+ }
+
+ .description {
+ margin: 0.25em 0 0.75em;
+ line-height: 1.7;
+ }
+
+ .meta {
+ display: flex;
+ flex-wrap: wrap;
+
+ .meta_item {
+ margin-right: 1.5em;
+ font-size: 0.9em;
+ color: var(--medium);
+
+ a {
+ background: none;
+ padding-bottom: 0;
+ color: inherit;
+
+ &:hover {
+ color: var(--link);
+ }
+ }
+
+ .octicon,
+ .language_color {
+ margin-right: 0.5em;
+ }
+
+ .language_color {
+ display: inline-block;
+ width: 1.15em;
+ height: 1.15em;
+ border-radius: 50%;
+ position: relative;
+ top: 0.175em;
+ }
+ }
+ }
+}
diff --git a/components/projects/RepositoryCard.tsx b/components/projects/RepositoryCard.tsx
new file mode 100644
index 00000000..d7c77c83
--- /dev/null
+++ b/components/projects/RepositoryCard.tsx
@@ -0,0 +1,94 @@
+import { intlFormat, formatDistanceToNowStrict, parseISO } from "date-fns";
+
+// react components:
+import { StarIcon, RepoForkedIcon } from "@primer/octicons-react";
+
+import styles from "./RepositoryCard.module.scss";
+
+type Props = {
+ name: string;
+ url: string;
+ description?: string;
+ language?: {
+ name: string;
+ color?: string;
+ };
+ stars?: number;
+ forks?: number;
+ updatedAt: string;
+};
+
+export default function RepositoryCard({ name, url, description, language, stars, forks, updatedAt }: Props) {
+ return (
+
+
+ {name}
+
+
+ {description &&
{description}
}
+
+
+ {language && (
+
+
+
+
+ {language.name}
+
+ )}
+
+ {stars > 0 && (
+
+ )}
+
+ {forks > 0 && (
+
+ )}
+
+
+ Updated {formatDistanceToNowStrict(parseISO(updatedAt), { addSuffix: true })}
+
+
+
+ );
+}
diff --git a/components/projects/RepositoryGrid.module.scss b/components/projects/RepositoryGrid.module.scss
new file mode 100644
index 00000000..eca1c5b6
--- /dev/null
+++ b/components/projects/RepositoryGrid.module.scss
@@ -0,0 +1,12 @@
+.grid {
+ display: flex;
+ flex-flow: row wrap;
+ justify-content: space-evenly;
+ align-items: flex-start;
+ width: 100%;
+}
+
+.view_more {
+ text-align: center;
+ margin-bottom: 0;
+}
diff --git a/components/projects/RepositoryGrid.tsx b/components/projects/RepositoryGrid.tsx
new file mode 100644
index 00000000..bf832a53
--- /dev/null
+++ b/components/projects/RepositoryGrid.tsx
@@ -0,0 +1,20 @@
+import RepositoryCard from "./RepositoryCard";
+
+import styles from "./RepositoryGrid.module.scss";
+
+export default function RepositoryGrid({ repos }) {
+ return (
+ <>
+
+ {repos.map((repo) => (
+
+ ))}
+
+
+
+ View more on GitHub...
+
+
+ >
+ );
+}
diff --git a/components/video/FullPageVideo.module.scss b/components/video/FullPageVideo.module.scss
new file mode 100644
index 00000000..0095bc07
--- /dev/null
+++ b/components/video/FullPageVideo.module.scss
@@ -0,0 +1,10 @@
+.wrapper {
+ position: relative;
+ padding-top: 56.25%; // 100 / (1280 / 720)
+}
+
+.react_player {
+ position: absolute;
+ top: 0;
+ left: 0;
+}
diff --git a/components/video/FullPageVideo.tsx b/components/video/FullPageVideo.tsx
new file mode 100644
index 00000000..6a8edf9f
--- /dev/null
+++ b/components/video/FullPageVideo.tsx
@@ -0,0 +1,12 @@
+import ReactPlayer from "react-player/lazy";
+import type { ReactPlayerProps } from "react-player";
+
+import styles from "./FullPageVideo.module.scss";
+
+export default function Video(props: ReactPlayerProps) {
+ return (
+
+
+
+ );
+}
diff --git a/config.yml b/config.yml
deleted file mode 100644
index 39485c6c..00000000
--- a/config.yml
+++ /dev/null
@@ -1,172 +0,0 @@
-baseURL: /
-languageCode: en-us
-title: Jake Jarvis
-
-# increase timeout for image processing (3 minutes)
-timeout: 180000
-
-canonifyURLs: true
-
-enableRobotsTXT: true
-enableInlineShortcodes: true
-enableGitInfo: true
-
-# as of v0.73.0: taxonomy => term, taxonomyTerm => taxonomy
-# https://github.com/gohugoio/hugo/releases/tag/v0.73.0
-disableKinds:
- - taxonomy
- - term
-
-# don't worry, inserted manually :)
-disableHugoGeneratorInject: true
-
-# prefer 301 server redirects, see vercel.json
-disableAliases: true
-
-pygmentsUseClasses: true
-pygmentsCodeFences: true
-pygmentsCodeFencesGuessSyntax: false
-
-params:
- # different from baseURL above, this is only used where absolute URLs are necessary: (no trailing slash!)
- baseURL: https://jarv.is
- description: Hi there! I'm a frontend web developer based in Boston, Massachusetts specializing in the JAMstack, modern JavaScript frameworks, and progressive web apps.
- image: images/logo.png # relative to assetDir root
- mainSection: notes # content that appears in feeds
- theme:
- maxWidth: 865 # px
- defaultTheme: light # light or dark?
- license:
- name: CC-BY-4.0
- nameLong: Creative Commons Attribution 4.0 International
- copyrightFirstYear: 2001
- social:
- githubRepo: jakejarvis/jarv.is # user/repo
- webmentionIO: jarv.is # webmention.io username
- facebookAppID: 3357248167622283
-
-author:
- name: Jake Jarvis
- image: images/me.jpg # relative to assetDir root
- email: jake@jarv.is
- monetization: $ilp.uphold.com/BJp6d2FrEB69 # Uphold ILP wallet: https://support.uphold.com/hc/en-us/articles/360043227832-How-to-find-your-ILP-address-Interledger-payment-pointer-
- social:
- github: jakejarvis
- keybase: jakejarvis
- twitter: jakejarvis
- twitterID: 229769022
- medium: jakejarvis
- linkedin: jakejarvis
- facebook: jakejarvis
- facebookID: 1329090853
- instagram: jakejarvis
- mastodon: mastodon.social/@jakejarvis
-
-menu:
- main:
- - name: Home
- pre: ๐ก
- url: /
- weight: 1
- - name: Notes
- pre: ๐
- url: /notes/
- weight: 2
- - name: Projects
- pre: ๐จโ๐ป
- url: /projects/
- weight: 3
- - name: Contact
- pre: ๐ฌ
- url: /contact/
- weight: 4
-
-frontmatter:
- lastmod:
- - date
- - publishDate
- - :default
-
-sitemap:
- filename: sitemap.xml
-
-outputs:
- home:
- - html
- - rss
- - atom
- - manifest
- section:
- - html
- page:
- - html
-
-outputFormats:
- rss:
- mediaType: application/rss
- baseName: feed # /feed.xml
- isPlainText: false
- isHTML: false
- atom:
- mediaType: application/atom+xml
- baseName: feed # /feed.atom
- isPlainText: false
- isHTML: false
- manifest:
- mediaType: application/manifest+json # https://github.com/w3c/manifest/issues/689
- baseName: site # /site.webmanifest
- isPlainText: true
- notAlternative: true
-
-mediaTypes:
- application/atom+xml:
- suffixes:
- - atom
- application/manifest+json:
- suffixes:
- - webmanifest
-
-markup:
- defaultMarkdownHandler: goldmark
- goldmark:
- extensions:
- linkify: false
- strikethrough: true
- typographer: false
- parser:
- autoHeadingID: false
- renderer:
- unsafe: true
- highlight:
- codeFences: true
- guessSyntax: false
- lineNos: true
- lineNumbersInTable: true
- noClasses: true
- tabWidth: 4
-
-imaging:
- # options for resampling filters:
- # https://github.com/disintegration/imaging#image-resizing
- resampleFilter: lanczos
- # let imagemin do all the heavy lifting post-build.
- # can be overridden (overrode?) inline for individual JPEGs:
- # https://gohugo.io/content-management/image-processing/#jpeg-quality
- quality: 100
-
-build:
- # don't use cache for SCSS compilation, better to throw error than be stale
- useResourceCacheWhen: never
-
-caches:
- # commit things like oEmbed JSON (tweets, etc.) next to resources in this repo
- assets:
- dir: :cacheDir/:project # default: :resourceDir/_gen
- getcsv:
- dir: :resourceDir/_gen # default: :cacheDir/:project
- getjson:
- dir: :resourceDir/_gen # default: :cacheDir/:project
- images:
- dir: :resourceDir/_gen
- modules:
- dir: :cacheDir/modules
diff --git a/content/_index.md b/content/_index.md
deleted file mode 100644
index 4fcb5459..00000000
--- a/content/_index.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-title: "Jake Jarvis โ Front-End Web Developer in Boston, MA ๐จโ๐ป"
-date: 2021-12-18 08:14:49-0400
-type: home
-sitemap:
- priority: 1.0
----
-
-
-
-
-# Hi there! I'm Jake.
๐
-
-## I'm a frontend web developer based in
Boston.
-
-I specialize in
vanilla JavaScript and
modern JS frameworks to make nifty
JAMstack sites with dynamic
Node and
Go services. But I'm fluent in classics like
PHP,
Ruby, and
Python too.
-
-Whenever possible, I also apply my experience in
application security,
server(less) stacks, and
DevOps automation.
-
-I fell in love with
frontend web design and
backend programming back when my only source of income was
the Tooth Fairy.
I've improved a bit since then, I think... ๐คทโโ๏ธ
-
-Over the years, some of my side projects
-
have
-
been
-
featured
-
by
-
various
-
media
-
outlets.
-
-You can find more of my work on
GitHub and
LinkedIn. I'm always available to connect over
email ๐ 2B0C 9CF2 51E6 9A39, , or
SMS as well!
-
-
-
diff --git a/content/birthday/index.md b/content/birthday/index.md
deleted file mode 100644
index e83c495d..00000000
--- a/content/birthday/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: "๐ Cranky Birthday Boy on VHS Tape ๐ผ"
-date: 1996-02-04 00:00:00-0400
-description: "The origin of my hatred for the Happy Birthday song."
-image: "thumb.png"
-layout: video
-resources:
- - src: "birthday.mp4"
- - src: "birthday.webm"
- - src: "thumb.png"
----
diff --git a/content/cli/index.md b/content/cli/index.md
deleted file mode 100644
index 4e5c417e..00000000
--- a/content/cli/index.md
+++ /dev/null
@@ -1,33 +0,0 @@
----
-title: "๐ค CLI"
-date: 2020-04-22 10:50:04-0400
-description: "AKA, the most useless Node module ever published, in history, by anyone, ever."
-image: "images/screenshot.png"
-layout: etc
----
-
-{{< gh-buttons username="jakejarvis" repo="jakejarvis" >}}
-
-> The [Jake Jarvis](https://jarv.is/) CLI (aka the most useless Node module ever published, in history, by anyone, ever).
-
-{{< image src="images/screenshot.png" width="850" alt="Terminal Screenshot" link="https://www.npmjs.com/package/@jakejarvis/cli" />}}
-
-## Usage
-
-```sh {linenos=false}
-npx @jakejarvis/cli
-```
-
-## Inspired by
-
-- [@sindresorhus/sindresorhus-cli](https://github.com/sindresorhus/sindresorhus-cli)
-- [@yg/ygcodes](https://github.com/yg/ygcodes)
-
-## Built with
-
-- [ink](https://github.com/vadimdemedes/ink) - React for interactive command-line apps
-- [meow](https://github.com/sindresorhus/meow) - CLI helper
-
-## License
-
-MIT ยฉ [Jake Jarvis](https://jarv.is/), [Sindre Sorhus](https://sindresorhus.com)
diff --git a/content/contact/index.md b/content/contact/index.md
deleted file mode 100644
index afab2b65..00000000
--- a/content/contact/index.md
+++ /dev/null
@@ -1,16 +0,0 @@
----
-title: "โ๏ธ Contact Me"
-url: /contact
-layout: contact
-sitemap:
- changefreq: never
- priority: 0.0
----
-
-
-
-Fill out this quick form and I'll get back to you as soon as I can! You can also
email me directly, send me a
direct message on Twitter, or
text me.
-
-๐ You can grab my public key here:
6BF3 79D3 6F67 1480 2B0C 9CF2 51E6 9A39
.
-
-
diff --git a/content/hillary/index.md b/content/hillary/index.md
deleted file mode 100644
index b9d9f18e..00000000
--- a/content/hillary/index.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: "My Brief Apperance in Hillary Clinton's DNC Video"
-date: 2016-07-25 00:00:00-0400
-description: "My brief apperance in one of Hillary Clinton's 2016 DNC convention videos on substance abuse."
-image: "thumb.png"
-layout: video
-resources:
- - src: "convention-720p.mp4"
- - src: "convention-720p.webm"
- - src: "subs.en.vtt"
- - src: "thumb.png"
----
-
-Video is property of [Hillary for America](https://www.hillaryclinton.com/), the [Democratic National Committee](https://democrats.org/), and [CNN / WarnerMedia](https://cnnpressroom.blogs.cnn.com/). © 2016.
diff --git a/content/leo/index.md b/content/leo/index.md
deleted file mode 100644
index ba99567a..00000000
--- a/content/leo/index.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: 'Facebook App on "The Lab with Leo Laporte"'
-date: 2007-01-01 00:00:00-0400
-description: "Powncer app featured in Leo Laporte's TechTV show."
-image: "thumb.png"
-layout: video
-resources:
- - src: "leo.mp4"
- - src: "leo.webm"
- - src: "subs.en.vtt"
- - src: "thumb.png"
----
-
-Video is property of [G4techTV Canada](https://web.archive.org/web/20070511004304/http://www.g4techtv.ca/) & [Leo Laporte](https://leolaporte.com/). © 2007 G4 Media, Inc.
diff --git a/content/license/index.md b/content/license/index.md
deleted file mode 100644
index 28c002a0..00000000
--- a/content/license/index.md
+++ /dev/null
@@ -1,181 +0,0 @@
----
-title: "๐ License"
-url: /license
-layout: etc
-sitemap:
- changefreq: never
- priority: 0.0
----
-
-Unless otherwise noted, content on this website is published under the [**Creative Commons Attribution 4.0 International Public License**](https://creativecommons.org/licenses/by/4.0/) (CC-BY-4.0), which means that you can copy, redistribute, remix, transform, and build upon the content for any purpose as long as you give appropriate credit (such as a hyperlink to the original URL).
-
-The [full license](https://creativecommons.org/licenses/by/4.0/legalcode) is re-printed below.
-
----
-
-## Creative Commons Attribution 4.0 International Public License
-
-
-
-
-
-
-
-> _Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible._
-
-### Using Creative Commons Public Licenses
-
-Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
-
-* __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](https://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors).
-
-* __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor's permission is not necessary for any reasonโfor example, because of any applicable exception or limitation to copyrightโthen that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](https://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees).
-
-### Licensed Rights
-
-By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
-
-### Section 1 โ Definitions.
-
-a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
-
-b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
-
-c. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
-
-d. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
-
-e. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
-
-f. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
-
-g. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
-
-h. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License.
-
-i. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
-
-j. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
-
-k. __You__ means the individual or entity exercising the Licensed Rights under this Public License. __Your__ has a corresponding meaning.
-
-### Section 2 โ Scope.
-
-a. ___License grant.___
-
- 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
-
- A. reproduce and Share the Licensed Material, in whole or in part; and
-
- B. produce, reproduce, and Share Adapted Material.
-
- 2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
-
- 3. __Term.__ The term of this Public License is specified in Section 6(a).
-
- 4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
-
- 5. __Downstream recipients.__
-
- A. __Offer from the Licensor โ Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
-
- B. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
-
- 6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
-
-b. ___Other rights.___
-
- 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
-
- 2. Patent and trademark rights are not licensed under this Public License.
-
- 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
-
-### Section 3 โ License Conditions.
-
-Your exercise of the Licensed Rights is expressly made subject to the following conditions.
-
-a. ___Attribution.___
-
- 1. If You Share the Licensed Material (including in modified form), You must:
-
- A. retain the following if it is supplied by the Licensor with the Licensed Material:
-
- i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
-
- ii. a copyright notice;
-
- iii. a notice that refers to this Public License;
-
- iv. a notice that refers to the disclaimer of warranties;
-
- v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
-
- B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
-
- C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
-
- 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
-
- 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
-
- 4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
-
-### Section 4 โ Sui Generis Database Rights.
-
-Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
-
-a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
-
-b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
-
-c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
-
-For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
-
-### Section 5 โ Disclaimer of Warranties and Limitation of Liability.
-
-a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__
-
-b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__
-
-c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
-
-### Section 6 โ Term and Termination.
-
-a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
-
-b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
-
- 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
-
- 2. upon express reinstatement by the Licensor.
-
- For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
-
-c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
-
-d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
-
-### Section 7 โ Other Terms and Conditions.
-
-a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
-
-b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
-
-### Section 8 โ Interpretation.
-
-a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
-
-b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
-
-c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
-
-d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
-
-
-> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the [_CC0 Public Domain Dedication_](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](https://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
->
-> Creative Commons may be contacted at [creativecommons.org](https://creativecommons.org/).
-
-
diff --git a/content/notes/_index.md b/content/notes/_index.md
deleted file mode 100644
index c11ede56..00000000
--- a/content/notes/_index.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "Notes"
-description: "Recent posts by Jake Jarvis."
----
diff --git a/content/notes/dark-mode/example/example.js b/content/notes/dark-mode/example/example.js
deleted file mode 100644
index a2b74a70..00000000
--- a/content/notes/dark-mode/example/example.js
+++ /dev/null
@@ -1,4 +0,0 @@
-/* eslint-disable */
-/*! Dark mode switcheroo | MIT License | jrvs.io/darkmode */
-// Note: Using sessionStorage instead of localStorage for the iframe'd example, since we're sandboxed from the parent window here.
-(function(){var e=window,t=e.document,i=t.body.classList,a=sessionStorage,c="dark_mode_pref_example",d=a.getItem(c),n="dark",o="light",r=o,s=t.querySelector(".dark-mode-toggle"),m=r===n,l=function(e){i.remove(n,o);i.add(e);m=e===n};d===n&&l(n);d===o&&l(o);if(!d){var f=function(e){return"(prefers-color-scheme: "+e+")"};e.matchMedia(f(n)).matches?l(n):e.matchMedia(f(o)).matches?l(o):l(r);e.matchMedia(f(n)).addListener((function(e){e.matches&&l(n)}));e.matchMedia(f(o)).addListener((function(e){e.matches&&l(o)}))}if(s){s.style.visibility="visible";s.addEventListener("click",(function(){if(m){l(o);a.setItem(c,o)}else{l(n);a.setItem(c,n)}}),!0)}})();
diff --git a/content/notes/millenial-with-hillary-clinton/images/convention-720p.en.vtt b/content/notes/millenial-with-hillary-clinton/images/convention-720p.en.vtt
deleted file mode 100644
index d5836498..00000000
--- a/content/notes/millenial-with-hillary-clinton/images/convention-720p.en.vtt
+++ /dev/null
@@ -1,108 +0,0 @@
-WEBVTT
-Kind: captions
-Language: en
-
-00:00:00.030 --> 00:00:03.210
-All right, well let's listen
-here to the video at the Democratic
-
-00:00:03.210 --> 00:00:04.880
-National Convention on this issue.
-
-00:00:04.880 --> 00:00:08.340
-You know, when I came here to New Hampshire
-
-00:00:08.340 --> 00:00:14.269
-the first time in this campaign and
-heard about the heroin epidemic
-
-00:00:14.269 --> 00:00:16.660
-The growing drug problem in our area...
-
-00:00:16.780 --> 00:00:19.604
-We're all losing fathers, brothers, sons, mothers...
-
-00:00:19.604 --> 00:00:22.040
-The numbers of people who are being affected
-
-00:00:22.040 --> 00:00:27.000
-If you have been impacted by your own or
-someone else's use of substances, would
-
-00:00:27.000 --> 00:00:28.510
-you just raise your hand?
-
-00:00:28.510 --> 00:00:31.470
-I didn't even know what was wrong with me until I
-
-00:00:31.470 --> 00:00:35.400
-found out that I was I was an addict.
-
-00:00:35.400 --> 00:00:38.480
-This problem touches everybody...
-
-00:00:38.480 --> 00:00:41.484
-My children suffered, my family suffered...
-
-00:00:41.484 --> 00:00:44.280
-Meeting grandmothers raising their grandchildren...
-
-00:00:44.280 --> 00:00:48.800
-All of my friends are raising
-their grandchildren because of addiction
-
-00:00:48.800 --> 00:00:53.700
-I think you're very brave and
-very loving to take on this responsibility.
-
-00:00:53.700 --> 00:00:56.720
-It is plaguing families.
-I don't want to
-
-00:00:56.730 --> 00:01:00.180
-go to more funerals. I'm going to one this weekend.
-I didn't know if I wanted
-
-00:01:00.180 --> 00:01:04.980
-to do better. Addiction had full control
-over my heart and soul.
-
-00:01:04.980 --> 00:01:10.880
-I wouldn't have necessarily known that if I hadn't been
-sitting in a little cafe in Keene
-
-00:01:10.880 --> 00:01:16.140
-listening to people tell me about what
-was breaking their hearts and what they
-
-00:01:16.140 --> 00:01:19.660
-wanted their president to know.
-
-00:01:19.660 --> 00:01:21.299
-We need the voice of those who are using, that is
-
-00:01:21.299 --> 00:01:24.480
-the way in which we can make an impact
-on this disease.
-
-00:01:24.480 --> 00:01:26.860
-We can't walk away from these stories.
-
-00:01:26.860 --> 00:01:29.900
-These are our children, these are our friends, our neighbors,
-
-00:01:29.900 --> 00:01:34.160
-our loved ones. This is not something we can
-just brush under the rug and wish it would
-
-00:01:34.160 --> 00:01:39.180
-go away. We need to drag it out of the
-shadows, we need to hold it up to the light
-
-00:01:39.180 --> 00:01:41.740
-Everybody should feel that they are
-
-00:01:41.740 --> 00:01:50.960
-valued, they are cared about, and they
-have a president who sees them
-
diff --git a/content/notes/millenial-with-hillary-clinton/images/convention-720p.mp4 b/content/notes/millenial-with-hillary-clinton/images/convention-720p.mp4
deleted file mode 100644
index 9cab6fd7..00000000
Binary files a/content/notes/millenial-with-hillary-clinton/images/convention-720p.mp4 and /dev/null differ
diff --git a/content/notes/millenial-with-hillary-clinton/images/convention-720p.png b/content/notes/millenial-with-hillary-clinton/images/convention-720p.png
deleted file mode 100644
index 9fb1cf8b..00000000
Binary files a/content/notes/millenial-with-hillary-clinton/images/convention-720p.png and /dev/null differ
diff --git a/content/notes/millenial-with-hillary-clinton/images/convention-720p.webm b/content/notes/millenial-with-hillary-clinton/images/convention-720p.webm
deleted file mode 100644
index b79e29eb..00000000
Binary files a/content/notes/millenial-with-hillary-clinton/images/convention-720p.webm and /dev/null differ
diff --git a/content/previously/index.md b/content/previously/index.md
deleted file mode 100644
index 733d0b90..00000000
--- a/content/previously/index.md
+++ /dev/null
@@ -1,134 +0,0 @@
----
-title: "๐พ Previously on..."
-date: 2020-04-22 10:50:04-0400
-description: "An incredibly embarrassing and somewhat painful walkthrough of this site's long history..."
-image: "images/2001_12.png"
-layout: etc
-css: |
- body {
- font-family: "Comic Neue", "Comic Sans MS", "Comic Sans", "Inter", sans-serif;
- font-weight: 700 !important;
- }
- div#content {
- text-align: center;
- }
- div#content p, div#content figure figcaption {
- font-size: 1.1em;
- }
- div#content code {
- font-size: 0.85em;
- }
- div#content iframe {
- width: 100%;
- height: 500px;
- border: 2px solid #e3d18c;
- }
- div#content code {
- font-weight: 400 !important;
- }
- div#content span.limegreen {
- color: #32cd32;
- }
- header nav a#header-logo span#header-name {
- font-size: 1.5em;
- font-weight: 700 !important;
- }
- header nav ul li a span.header-menu-text {
- font-size: 1.1em;
- font-weight: 700 !important;
- }
- footer div.footer-row div {
- font-size: 1.1em;
- }
----
-
-{{< image src="images/wayback.png" link="https://web.archive.org/web/20010501000000*/jakejarvis.com" >}}
-...the [Cringey Chroniclesโข](https://web.archive.org/web/20010501000000*/jakejarvis.com) of this website's past.
-{{ image >}}
-
----
-
-
-
-**๐จ Trigger warning:** marquees, Comic Sans MS, popup windows,
color: limegreen
... [Click for the **_FULL_** experience anyway.](https://y2k.app/)
-
-
- {{< iframe src="https://jakejarvis.github.io/my-first-website/" width="850" height="500" title="My Terrible, Horrible, No Good, Very Bad First Website" >}}
-
- November 2001 (archived source)
-
-
-
-
-
----
-
-{{< image src="images/2002_02.png">}}
-February 2002
-{{ image >}}
-
----
-
-{{< image src="images/2002_10.png">}}
-October 2002
-{{ image >}}
-
----
-
-{{< image src="images/2003_08.png" >}}
-August 2003
-{{ image >}}
-
----
-
-{{< image src="images/2004_11.png" >}}
-November 2004
-{{ image >}}
-
----
-
-{{< image src="images/2006_04.png" >}}
-April 2006
-{{ image >}}
-
----
-
-{{< image src="images/2006_05.png" >}}
-May 2006
-{{ image >}}
-
----
-
-{{< image src="images/2007_01.png" >}}
-January 2007
-{{ image >}}
-
----
-
-{{< image src="images/2007_04.png" >}}
-April 2007
-{{ image >}}
-
----
-
-{{< image src="images/2007_05.png" >}}
-May 2007
-{{ image >}}
-
----
-
-{{< image src="images/2009_07.png" >}}
-July 2009
-{{ image >}}
-
----
-
-{{< image src="images/2012_09.png" link="https://github.com/jakejarvis/jarv.is/tree/v1" >}}
-September 2012 ([archived source](https://github.com/jakejarvis/jarv.is/tree/v1))
-{{ image >}}
-
----
-
-{{< image src="images/2018_04.png" link="https://github.com/jakejarvis/jarv.is/tree/v2" >}}
-April 2018 ([archived source](https://github.com/jakejarvis/jarv.is/tree/v2))
-{{ image >}}
diff --git a/content/privacy/index.md b/content/privacy/index.md
deleted file mode 100644
index 5b0b4a46..00000000
--- a/content/privacy/index.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-title: "๐ต๏ธ Privacy Policy"
-url: /privacy
-layout: etc
-sitemap:
- changefreq: never
- priority: 0.0
----
-
-Okay, this is an easy one. ๐
-
-## Analytics {#analytics}
-
-A simple hit counter on each page tallies an aggregate number of pageviews (i.e. `hits = hits + 1`). Individual views and identifying (or non-identifying) details are **never stored or logged**.
-
-The [serverless function](https://github.com/jakejarvis/jarv.is/blob/main/api/hits.js) and [client script](https://github.com/jakejarvis/jarv.is/blob/main/assets/js/src/components/Counter.js) are open source, and [snapshots of the database](https://github.com/jakejarvis/website-stats) are public.
-
-{{< image src="images/fauna_hits.png" alt="The entire database schema." link="/privacy/images/fauna_hits.png" />}}
-
-## Hosting {#hosting}
-
-Pages and first-party assets on this website are served by [**โฒ Vercel**](https://vercel.com/). Refer to their [privacy policy](https://vercel.com/legal/privacy-policy) for more information.
-
-For a likely excessive level of privacy and security, this website is also mirrored on the [๐ง
Tor network](https://www.torproject.org/) at:
-
-> [**jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion**](http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion)
-
-## Third-Party Content {#third-party}
-
-Occasionally, embedded content from third-party services is included in posts, and some may contain tracking code that is outside of my control. Please refer to their privacy policies for more information:
-
-- [CodePen](https://blog.codepen.io/documentation/privacy/)
-- [Facebook](https://www.facebook.com/policy.php)
-- [GitHub](https://docs.github.com/en/github/site-policy/github-privacy-statement)
-- [SoundCloud](https://soundcloud.com/pages/privacy)
-- [Twitter](https://twitter.com/en/privacy)
-- [Vimeo](https://vimeo.com/privacy)
-- [YouTube](https://policies.google.com/privacy)
-
-The code that requests this content [is open source](https://github.com/jakejarvis/jarv.is/tree/main/layouts/shortcodes).
-
-## Fighting Spam {#hcaptcha}
-
-Using [**hCaptcha**](https://www.hcaptcha.com/) to fight bot spam on the [contact form](/contact/) was an easy choice over seemingly unavoidable alternatives like [reCAPTCHA](https://developers.google.com/recaptcha/).
-
-You can refer to hCaptcha's [privacy policy](https://www.hcaptcha.com/privacy) and [terms of service](https://www.hcaptcha.com/terms) for more details. While some information is sent to the hCaptcha API about your behavior **(on the contact page only)**, at least you won't be helping a certain internet conglomerate [train their self-driving cars](https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptcha/). ๐
-
-I also enabled the setting to donate 100% of my [HMT token](https://humanprotocol.org/?lng=en-US) earnings to the [Wikimedia Foundation](https://wikimediafoundation.org/), for what it's worth. (A few cents, probably... ๐ฐ)
diff --git a/content/projects/index.md b/content/projects/index.md
deleted file mode 100644
index e7f52910..00000000
--- a/content/projects/index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: "๐จโ๐ป Projects"
-url: /projects
-layout: projects
----
diff --git a/content/uses/index.md b/content/uses/index.md
deleted file mode 100644
index 45101135..00000000
--- a/content/uses/index.md
+++ /dev/null
@@ -1,190 +0,0 @@
----
-title: "/uses ๐ป"
-date: 2021-05-27 08:25:17-0400
-description: "Things I use daily."
-image: "images/bigsur.png"
-layout: etc
-css: |
- h2 .emoji {
- margin-right: 2px;
- }
----
-
-~~I regularly get messages asking about which tools I use to work.~~
-
-Nobody has asked me what I use. Ever. But here's a list of my daily drivers and necessities anyways, mostly revolving around my Apple sheepy-ness. Inspired by [many, many others](https://uses.tech/). โค๏ธ
-
-{{< image src="images/bigsur.png" alt="My mess of a desktop." link="/uses/images/bigsur.png" />}}
-
-## ๐ Hardware {#hardware}
-
-- [**MacBook Air** (2020)](https://browser.geekbench.com/v5/cpu/8124907)
- - Apple M1 (8โcore CPU, 8โcore GPU) ๐๏ธ ๐จ
- - 16 GB RAM
- - 1 TB SSD
-- [**MacBook Pro 15"** (Mid-2018)](https://browser.geekbench.com/v5/cpu/1074682)
- - Core i9 @ 2.9 GHZ, [theoretically ๐ฅ ๐งฏ ๐](https://www.youtube.com/watch?v=Dx8J125s4cg)
- - 32 GB RAM
- - 1 TB SSD
- - Radeon Pro 560X โ 4 GB
- - Most importantly, I haven't touched it since M1 stole my heart (for a third of the price). ๐
-- **iPhone 13 Pro**
- - 512 GB in Graphite ๐
- - [Abyss Blue Silicone Case](https://www.apple.com/shop/product/MM2J3ZM/A/iphone-13-pro-silicone-case-with-magsafe-abyss-blue)
- - [Saddle Brown Leather "Wallet"](https://www.apple.com/shop/product/MHLR3ZM/A/iphone-leather-wallet-with-magsafe-saddle-brown)
- - Belkin's MagSafe [Car Vent Mount Pro](https://www.apple.com/shop/product/HPBJ2ZM/A/belkin-car-vent-mount-pro-with-magsafe) is awesome too, btw.
-- **iPad Pro 10.5"**
- - 256 GB in Space Gray
- - Smart Keyboard & Apple Pencil
-- **Apple Watch Series 6** (GPS)
- - Aluminum โ Space Gray
- - 40mm (I have incredibly small wrists.)
- - Usually with the [Midnight Blue sport band](https://www.apple.com/shop/product/MLL02ZM/A/42mm-midnight-blue-sport-band-s-m-m-l), ๐ณ๏ธโ๐ [Pride Edition woven nylon band](https://www.apple.com/shop/product/MQ4F2AM/A/38mm-pride-edition-woven-nylon), or employee ๐๏ธ [Close Your Rings Challenge woven nylon band](https://www.macrumors.com/2018/04/03/apple-employees-rewards-challenge/).
-- **Google Pixel 4a**
- - For some recreational Android development and experimentation.
- - Activated on [Google Fi](https://fi.google.com/) during rare trips.
- - Really just putting this here in a futile effort to prove I'm not a _complete_ Apple sheep. ๐
-
-## ๐พ Development {#development}
-
-- [**iTerm 2**](https://iterm2.com/)
- - My various [ZSH aliases](https://github.com/jakejarvis/dotfiles/blob/main/zsh/aliases.zsh) and [functions](https://github.com/jakejarvis/dotfiles/blob/main/zsh/functions.zsh) are in [my `.dotfiles` repository.](https://github.com/jakejarvis/dotfiles)
- - [Oh My ZSH](https://ohmyz.sh/)
- - [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
- - [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
-- [**Visual Studio Code**](https://code.visualstudio.com/)
- - [All of my settings.](https://github.com/jakejarvis/dotfiles/tree/main/vscode)
- - Themes:
- - [GitHub Dark theme](https://marketplace.visualstudio.com/items?itemName=GitHub.github-vscode-theme)
- - [Material Icon theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme)
- - [Source Code Pro font](https://github.com/adobe-fonts/source-code-pro)
- - Extensions:
- - [Better TOML](https://marketplace.visualstudio.com/items?itemName=bungcip.better-toml)
- - [Docker](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)
- - [Duplicate action](https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-duplicate)
- - [EditorConfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
- - [GitHub Copilot](https://copilot.github.com/)
- - [GitHub Pull Requests](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github)
- - [GitHub Repositories](https://marketplace.visualstudio.com/items?itemName=GitHub.remotehub)
- - [Hugo Language and Syntax Support](https://marketplace.visualstudio.com/items?itemName=budparr.language-hugo-vscode)
- - [Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare)
- - [markdownlint](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint)
- - [npm](https://marketplace.visualstudio.com/items?itemName=eg2.vscode-npm-script)
- - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- - [Remote Development Pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack)
- - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- - [Word Count](https://marketplace.visualstudio.com/items?itemName=ms-vscode.wordcount)
-- [**Homebrew**](https://brew.sh/)
- - [View my messy `Brewfile` dump](https://github.com/jakejarvis/dotfiles/blob/main/Brewfile) with all of my installed packages.
-- [**Xcode**](https://developer.apple.com/xcode/)
-- [**Docker Desktop**](https://www.docker.com/products/docker-desktop)
-- [**Parallels Desktop Pro**](https://www.parallels.com/products/desktop/)
- - Switched from VMware Fusion when Parallels beat them to the punch with [M1 support](https://www.parallels.com/blogs/parallels-desktop-m1/).
-- [**Tailscale**](https://tailscale.com/)
- - For connecting to remote servers and my ["homelab"](#home) without exposing ports to the world. Highly recommended!
-- [**Sketch**](https://www.sketch.com/)
-- [**Adobe Creative Cloud**](https://www.adobe.com/creativecloud.html)
- - Still on the \$20/month [Student Plan](https://www.adobe.com/creativecloud/buy/students.html), somehow. ๐คซ Will need to re-evaulate once I'm kicked off; it's hard to justify spending almost 3x that...
-- [**Transmit**](https://panic.com/transmit/)
-- [**Postman**](https://www.getpostman.com/)
-- [**BrowserStack**](https://www.browserstack.com/) & [**Percy**](https://percy.io/)
-- [~~Sequel Pro~~](https://www.sequelpro.com/) โ [**TablePlus**](https://tableplus.com/)
-- [~~Robo 3T~~](https://robomongo.org/) โ [**TablePlus**](https://tableplus.com/)
-- [**ImageOptim**](https://imageoptim.com/mac)
-- [**Sip**](https://sipapp.io/)
-- [**Local**](https://localwp.com/) for WordPress development.
-
-## ๐ Browsing {#browsing}
-
-- [**Firefox**](https://www.mozilla.org/en-US/firefox/developer/) ๐ฆ
- - [My default `user.js` settings.](https://github.com/jakejarvis/dotfiles/blob/main/firefox/user.js)
- - Add-ons:
- - [1Password Classic](https://support.1password.com/cs/1password-classic-extension/)
- - [BetterTTV](https://addons.mozilla.org/en-US/firefox/addon/betterttv/)
- - [Cookie Editor](https://addons.mozilla.org/en-US/firefox/addon/cookie-editor/)
- - [Decentraleyes](https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/)
- - [Facebook Container](https://addons.mozilla.org/en-US/firefox/addon/facebook-container/)
- - [Firefox Multi-Account Containers](https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/)
- - [HTTPS Everywhere](https://addons.mozilla.org/en-US/firefox/addon/https-everywhere/)
- - [Mailvelope](https://addons.mozilla.org/en-US/firefox/addon/mailvelope/)
- - [React Developer Tools](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
- - [OctoLinker](https://addons.mozilla.org/en-US/firefox/addon/octolinker/)
- - [Privacy Badger](https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/)
- - [uBlock Origin](https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/)
-- [**Google Chrome**](https://www.google.com/chrome/browser/?extra=devchannel) ๐
- - For testing only! See more of [my de-Googling efforts below](#cloud).
- - Add-ons:
- - [AMP Validator](https://chrome.google.com/webstore/detail/amp-validator/nmoffdblmcmgeicmolmhobpoocbbmknc?hl=en)
- - [Lighthouse](https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk?h1=en)
- - [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
-
-## ๐ป macOS {#macos}
-
-- [**1Password**](https://1password.com/)
-- [**Little Snitch**](https://www.obdev.at/products/littlesnitch/index.html)
-- [**iStat Menus**](https://bjango.com/mac/istatmenus/)
-- [**Backblaze**](https://www.backblaze.com/) [(referral link)](https://secure.backblaze.com/r/00x84e)
-- [**Silicon Info**](https://github.com/billycastelli/Silicon-Info)
-- [**MacUpdater**](https://www.corecode.io/macupdater/)
-- [**Unshaky**](https://unshaky.nestederror.com/) โจ๏ธ (on my 2018 MBP)
- - Toooo lzy too vist the Aple Stre geeniusses oonce agin to fiix tthe keeybbbboord. ๐ ๐ฆ
-- [**DaisyDisk**](https://daisydiskapp.com/)
-- [**AppCleaner**](https://freemacsoft.net/appcleaner/)
-- [**GPG Suite**](https://gpgtools.org/)
-- ~~VLC~~ โ [**IINA**](https://iina.io/)
-- [**Transmission**](https://transmissionbt.com/)
-- [**Paragon NTFS**](https://www.paragon-software.com/us/home/ntfs-mac/#)
-- [**Amphetamine**](https://roaringapps.com/app/amphetamine)
-- [**coconutBattery**](https://coconut-flavour.com/coconutbattery/)
-- [**The Unarchiver**](https://theunarchiver.com/)
-- [**WiFi Explorer**](https://www.intuitibits.com/products/wifi-explorer/)
-- [**Parsec**](https://parsec.app/)
-
-## ๐ฑ iOS {#ios}
-
-I have far too many apps to count, but here the essentials that have earned a spot on my home screen:
-
-- [**1Password** (beta)](https://apps.apple.com/app/id568903335)
-- [**Waze** (beta)](https://apps.apple.com/app/id323229106)
-- [**Google Maps**](https://apps.apple.com/app/id585027354)
-- [**Dark Sky**](https://apps.apple.com/app/id517329357)
-- [**Xfinity Stream**](https://apps.apple.com/app/id731629156)
-- [**SiriusXM**](https://apps.apple.com/app/id317951436)
-- [**Audible**](https://apps.apple.com/app/id379693831)
-- [**Pocket Casts**](https://apps.apple.com/app/id414834813)
-- [**Sonos**](https://apps.apple.com/app/id1488977981)
-- [**Plex** (beta)](https://apps.apple.com/app/id383457673)
-- [**Microsoft To-Do**](https://apps.apple.com/app/id1212616790) (RIP Wunderlist ๐)
-- [**Discord**](https://apps.apple.com/app/id985746746)
-
-## โ๏ธ Cloud {#cloud}
-
-I've been making recent efforts to [de-Google](https://www.stallman.org/google.html) my life, with mixed results...
-
-- ~~Gmail~~ โ [**Fastmail**](https://www.fastmail.com/) [(referral link)](https://ref.fm/u20274504) & [**Mail.app**](https://en.wikipedia.org/wiki/Apple_Mail)
-- ~~Google Drive~~ โ ~~Dropbox~~ โ [**iCloud Drive**](https://www.icloud.com/iclouddrive)
- - [Read why.](/notes/dropping-dropbox/)
-- ~~Google Docs~~ โ [**Microsoft Office**](https://products.office.com/en-us/mac/microsoft-office-for-mac) (hey, it works ๐คท)
-- ~~Google Photos~~ โ [**iCloud Photos**](https://www.icloud.com/photos/)
-- ~~Google Analytics~~ โ [**Netlify Analytics**](https://www.netlify.com/products/analytics/) [(my review)](/notes/netlify-analytics-review/)
-- ~~Google Public DNS~~ โ [**Cloudflare's 1.1.1.1**](https://1.1.1.1/dns/) on my home network.
-- ~~GoDaddy~~ โ ~~Google Domains~~ โ [**Cloudflare Registrar**](https://www.cloudflare.com/products/registrar/) (and [**ISNIC**](https://isnic.is/en/) for this domain, of course ๐ฎ๐ธ)
-
-Other geeky stuff:
-
-- [**DNSimple**](https://dnsimple.com/) [(referral link)](https://dnsimple.com/r/eb6ced548f1e0a) & [**Cloudflare**](https://www.cloudflare.com/) for domain DNS.
-- [**Netlify**](https://www.netlify.com/) and [**Vercel**](https://vercel.com/) for static sites.
-- [**Linode**](https://www.linode.com/) [(referral link)](https://www.linode.com/?r=0c5aeace9bd591be9fbf32f96f58470295f1ee05) and [**DigitalOcean**](https://www.digitalocean.com/) [(referral link)](https://m.do.co/c/afcf288a7dac) for virtual Linux servers.
-- [**Backblaze**](https://www.backblaze.com/) [(referral link)](https://secure.backblaze.com/r/00x84e) for off-site MacBook backups.
-- [**Gitea**](https://gitea.io/en-us/) as a [self-hosted](https://code.jarv.is/) Git backup/mirror.
-- [**Plex**](https://www.plex.tv/) + [**Sonarr**](https://sonarr.tv/) + [**Radarr**](https://radarr.video/)
-
-## ๐ Internet of ~~Things~~ [Crap](/notes/shodan-search-queries/) {#home}
-
-- [**Synology RT2600ac**](https://www.synology.com/en-us/products/RT2600ac)
-- [**Synology DiskStation DS218+**](https://www.synology.com/en-us/products/DS218+)
-- [**Dell Inspiron 3647**](https://www.amazon.com/dp/B00HWML468/), slightly upgraded and running [**VMware ESXi**](https://www.vmware.com/products/esxi-and-esx.html), as a really, _really_ crappy home server.
-- [**Philips Hue**](https://www2.meethue.com/en-us) color bulbs, dimmer switches, etc.
-- 2x [**ecobee3 lite**](https://www.ecobee.com/en-us/smart-thermostats/smart-wifi-thermostat/) smart thermostats (HomeKit support was a must.)
-- 2x [**Sonos One**](https://www.sonos.com/en-us/shop/one.html) (with Alexa turned off...allegedly.)
-- [**Petcube Play**](https://petcube.com/play/) ๐ป
diff --git a/data/manifest.json b/data/manifest.json
deleted file mode 100644
index 62479320..00000000
--- a/data/manifest.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "//": "This file will be overwritten by Webpack, but Hugo will fail to wait for that to happen if it doesn't exist at first."
-}
diff --git a/gulpfile.js b/gulpfile.js
deleted file mode 100644
index 44e75fae..00000000
--- a/gulpfile.js
+++ /dev/null
@@ -1,139 +0,0 @@
-import "dotenv/config";
-import path from "path";
-import { fileURLToPath } from "url";
-import gulp from "gulp";
-import { task as execa } from "gulp-execa";
-import cache from "gulp-cache";
-import htmlmin from "gulp-html-minifier-terser";
-import del from "del";
-
-// use up-to-date imagemin plugins instead of those bundled with gulp-imagemin:
-import imagemin from "gulp-imagemin";
-import imageminMozjpeg from "imagemin-mozjpeg";
-import imageminPngquant from "imagemin-pngquant";
-import imageminGifsicle from "imagemin-gifsicle";
-import imageminSvgo from "imagemin-svgo";
-
-// https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#what-do-i-use-instead-of-__dirname-and-__filename
-const __dirname = path.dirname(fileURLToPath(import.meta.url));
-
-gulp.task(
- "default",
- gulp.series(
- clean,
- npx("webpack", ["--mode", "production"]),
- npx("hugo", ["--verbose"]),
- gulp.parallel(optimizeHtml, optimizeImages)
- )
-);
-
-gulp.task(
- "serve",
- gulp.series(
- clean,
- gulp.parallel(
- npx("webpack", ["serve", "--mode", "development"]),
- npx("hugo", ["--watch", "--buildDrafts", "--buildFuture", "--verbose"])
- )
- )
-);
-
-gulp.task(
- "analyze",
- gulp.series(
- clean,
- npx("webpack", ["--mode", "production"]),
- npx("webpack-bundle-analyzer", [
- // https://github.com/webpack-contrib/webpack-bundle-analyzer#usage-as-a-cli-utility
- path.resolve(__dirname, "webpack_stats.json"), // path to webpack-generated JSON stats file
- path.resolve(__dirname, "static/assets/"), // path to finalized bundles
- "--mode",
- "server",
- "--default-sizes",
- "gzip",
- ])
- )
-);
-
-gulp.task("clean", clean);
-
-function clean() {
- return del(["public/", "builds/", "_vendor/", "static/assets/", "webpack_stats.json"]);
-}
-
-function optimizeHtml() {
- return gulp
- .src("public/**/*.html", { base: "./" })
- .pipe(
- htmlmin({
- html5: true,
- preserveLineBreaks: true,
- collapseWhitespace: true,
- collapseBooleanAttributes: true,
- removeComments: true,
- minifyCSS: true,
- minifyJS: true,
- })
- )
- .pipe(gulp.dest(".", { overwrite: true }));
-}
-
-function optimizeImages() {
- // allow skipping this step via an env variable to save time during CI, etc.
- if (process.env.SKIP_OPTIMIZE_IMAGES === "true") {
- console.warn("Skipping image optimization...");
- return Promise.resolve();
- }
-
- return gulp
- .src(["public/**/*.{gif,jpg,jpeg,png,svg}", "!public/assets/emoji/**/*"], { base: "./" })
- .pipe(
- cache(
- imagemin([
- imageminMozjpeg({
- quality: 85,
- progressive: true,
- }),
- imageminPngquant({
- quality: [0.7, 0.9],
- speed: 1,
- strip: true,
- }),
- imageminGifsicle(),
- imageminSvgo({
- plugins: [
- {
- name: "preset-default",
- params: {
- overrides: {
- removeViewBox: false,
- },
- },
- },
- {
- name: "removeDimensions",
- active: true,
- },
- {
- name: "sortAttrs",
- active: true,
- },
- ],
- }),
- ])
- )
- )
- .pipe(gulp.dest(".", { overwrite: true }));
-}
-
-// run a locally installed (i.e. ./node_modules/.bin/foo) binary, similar to a package.json script
-function npx(bin, args) {
- // WARNING: MAJOR HACKS AHEAD:
- const cmd = `${bin} ${args ? args.join(" ") : ""}`.trim();
- return execa(cmd, {
- echo: false,
- preferLocal: true,
- stdio: "inherit",
- killSignal: "SIGKILL", // graceful shutdown leaves webpack-dev-server dangling sometimes
- });
-}
diff --git a/layouts/404.html b/layouts/404.html
deleted file mode 100644
index d5d980ae..00000000
--- a/layouts/404.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{ define "main" }}
-
-{{ end }}
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
deleted file mode 100644
index 5e903fbb..00000000
--- a/layouts/_default/_markup/render-link.html
+++ /dev/null
@@ -1 +0,0 @@
-
{{ .Text | safeHTML }}
\ No newline at end of file
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
deleted file mode 100644
index 54e20d20..00000000
--- a/layouts/_default/baseof.html
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-{{- partial "functions/prepare-meta" . -}}
-{{- partial "functions/prepare-js" . -}}
-{{- partial "functions/prepare-css" . -}}
-
-{{ printf "" (print .Site.Params.baseURL "/humans.txt") | safeHTML }}
-
-
-
- {{ partial "head/_head" . }}
-
-
- {{ partialCached "page/header" . }}
-
- {{ block "main" . }}{{ end }}
-
- {{ partial "page/footer" . }}
- {{ template "__body_js" . }}
-
-
-
-{{- partial "functions/debug" . -}}
diff --git a/layouts/_default/contact.html b/layouts/_default/contact.html
deleted file mode 100644
index 9feffb7d..00000000
--- a/layouts/_default/contact.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{ define "main" }}
-
-{{ end }}
diff --git a/layouts/_default/etc.html b/layouts/_default/etc.html
deleted file mode 100644
index 5bc67332..00000000
--- a/layouts/_default/etc.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{{ define "main" }}
-
-
-
-
- {{ .Content }}
-
-
-{{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
deleted file mode 100644
index 9ad8911e..00000000
--- a/layouts/_default/list.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{{ define "main" }}
-
- {{- with .Pages }}
- {{- range .GroupByDate "2006" }}
-
- {{- end }}
- {{- end }}
-
-{{ end }}
diff --git a/layouts/_default/projects.html b/layouts/_default/projects.html
deleted file mode 100644
index eb1ca86d..00000000
--- a/layouts/_default/projects.html
+++ /dev/null
@@ -1,11 +0,0 @@
-{{ define "main" }}
-
-{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
deleted file mode 100644
index 3fb8ab30..00000000
--- a/layouts/_default/single.html
+++ /dev/null
@@ -1,45 +0,0 @@
-{{ define "main" }}
-
-
-
-
-
-
-
- {{ .Content }}
-
-
-
-{{ end }}
diff --git a/layouts/_default/video.html b/layouts/_default/video.html
deleted file mode 100644
index 195a0936..00000000
--- a/layouts/_default/video.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{{ define "main" }}
-
-
-
-
-
-
- {{ .Content }}
-
-
-{{ end }}
diff --git a/layouts/index.atom b/layouts/index.atom
deleted file mode 100644
index c2030393..00000000
--- a/layouts/index.atom
+++ /dev/null
@@ -1,41 +0,0 @@
-{{- $img := partial "functions/prepare-meta" . -}}
-{{ printf "" | safeHTML }}
-
- {{ .Site.Title }}
- {{ print .Site.Params.baseUrl .Permalink }}
-
- {{ .Site.Title }}
- {{ print .Site.Params.baseUrl .Permalink }}
-
- Hugo -- gohugo.io
- {{- with .Site.Copyright }}
- {{ . }}
- {{- end }}
- {{- with .Scratch.Get "authorImage" }}
- {{ print $.Site.Params.baseUrl .Permalink }}
- {{- end }}
- {{ .Site.LastChange.Format "2006-01-02T15:04:05Z" | safeHTML }}
- {{- with .OutputFormats.Get "ATOM" }}
- {{ printf `` .MediaType.Type (print $.Site.Params.baseUrl .Permalink) | safeHTML }}
- {{- end }}
- {{- range .AlternativeOutputFormats }}
- {{ printf `` .MediaType.Type (print $.Site.Params.baseUrl .Permalink) | safeHTML }}
- {{- end }}
- {{- range (where .Site.RegularPages "Section" .Site.Params.mainSection) }}
-
- {{ .Title | markdownify | htmlUnescape | plainify }}
- {{- with .Site.Author.name }}
-
- {{ . }}
- {{ print $.Site.Params.baseUrl $.Permalink }}
-
- {{- end }}
- {{ print $.Site.Params.baseUrl .Permalink }}
- {{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}
- {{ .Date.UTC.Format "2006-01-02T15:04:05Z" | safeHTML }}
-
-{{ .Content | html }}
-
-
- {{- end }}
-
diff --git a/layouts/index.html b/layouts/index.html
deleted file mode 100644
index 6a406798..00000000
--- a/layouts/index.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{{ define "main" }}
-
- {{ .Content }}
-
-{{ end }}
diff --git a/layouts/index.webmanifest b/layouts/index.webmanifest
deleted file mode 100644
index 4c392322..00000000
--- a/layouts/index.webmanifest
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "name": "{{ .Site.Title }}",
- {{ with .Site.Params.baseURL }}"short_name": "{{ (urls.Parse .).Host }}",{{ end }}
- {{ with .Site.Params.description }}"description": "{{ . | safeHTML | truncate 160 }}",{{ end }}
- "lang": "{{ .Site.LanguageCode | default "en" }}",
- "icons": [
- {{ with partial "functions/webpack" (dict "context" . "src" "images/android-chrome-512x512.png") }}{
- "src": "{{ .src | safeJS }}",
- "sizes": "512x512",
- "type": "image/png",
- "purpose": "any"
- },{{ end }}
- {{ with partial "functions/webpack" (dict "context" . "src" "images/android-chrome-192x192.png") }}{
- "src": "{{ .src | safeJS }}",
- "sizes": "192x192",
- "type": "image/png",
- "purpose": "any"
- },{{ end }}
- {{ with partial "functions/webpack" (dict "context" . "src" "images/maskable-512x512.png") }}{
- "src": "{{ .src | safeJS }}",
- "sizes": "512x512",
- "type": "image/png",
- "purpose": "maskable"
- },{{ end }}
- {{ with partial "functions/webpack" (dict "context" . "src" "images/maskable-192x192.png") }}{
- "src": "{{ .src | safeJS }}",
- "sizes": "192x192",
- "type": "image/png",
- "purpose": "maskable"
- }{{ end }}
- ],
- "display": "browser",
- "start_url": "/"
-}
diff --git a/layouts/partials/functions/debug.html b/layouts/partials/functions/debug.html
deleted file mode 100644
index 4c570e75..00000000
--- a/layouts/partials/functions/debug.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{{/* Output these variables for debugging purposes: */}}
-{{- print "" | safeHTML }}
-{{ with hugo }}{{ with .Environment }}{{ printf "" . | safeHTML }}{{ end }}{{ end }}
-{{ with .GitInfo }}{{ with .AbbreviatedHash }}{{ printf "" . | safeHTML }}{{ end }}{{ end }}
-{{ with .File }}{{ with .Path }}{{ printf "" . | safeHTML }}{{ end }}{{ end }}
-{{- print "" | safeHTML }}
diff --git a/layouts/partials/functions/inline-svg.html b/layouts/partials/functions/inline-svg.html
deleted file mode 100644
index bfbe1a31..00000000
--- a/layouts/partials/functions/inline-svg.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{{- $svg := resources.Get .src -}}
-{{- $html := $svg.Content -}}
-
-{{/* remove unneeded tags/attributes when SVG is inlined versus a .svg file */}}
-{{- $html = replaceRE "<\\?xml.+\\?>" "" $html -}}
-{{- $html = replaceRE " version=\"(.*?)\"" "" $html -}}
-{{- $html = replaceRE " xmlns=\"(.*?)\"" "" $html -}}
-
-{{- $wxh := printf "