diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 43a36ac..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "artifacts"] - path = artifacts - url = https://codeberg.org/ryanchristo/artifacts diff --git a/app/about/page.module.css b/app/about/page.module.css new file mode 100644 index 0000000..44f4bf9 --- /dev/null +++ b/app/about/page.module.css @@ -0,0 +1,15 @@ +.container { + composes: container from "../../styles/page.css"; +} + +.content { + composes: content from "../../styles/page.css"; +} + +.item { + composes: item from "../../styles/page.css"; +} + +.item img { + width: 225px !important; +} diff --git a/app/about/page.tsx b/app/about/page.tsx new file mode 100644 index 0000000..64af59d --- /dev/null +++ b/app/about/page.tsx @@ -0,0 +1,82 @@ +import { Metadata } from "next"; + +import styles from "./page.module.css"; + +export const metadata: Metadata = { + title: "ryan christoffersen | about", +}; + +const AboutPage = () => { + return ( +
+
+
+

{"about"}

+

+ { + "I studied liberal arts in college with a focus on classical languages, critical and cultural theory, and film studies. I also participated in an extracurricular program for film production focused on cinematography." + } +

+

+ { + "I bounced around jobs after college but eventually settled into a career as a software engineer in the web3 ecosystem. I now research and develop tools and infrastructure for decentralized protocols and agentic systems." + } +

+
+
+

{"2024 - present"}

+

+ { + "exploring decentralized protocols, agentic systems, open-source software, open-source hardware, and privacy-preserving technologies" + } +

+

+ { + "researching and producing digital media on topics including philosophy of technology, emerging technologies, and cognitive security" + } +

+

{"2018 - 2024"}

+

+ { + "developed software for distributed systems, governance frameworks, and decentralized monitoring, reporting, and verification" + } +

+

+ { + "software engineer, product manager, and protocol researcher for teams specializing in tools and infrastructure for the web3 ecosystem" + } +

+
+
+

{"2014 - 2018"}

+

+ { + "website developer, network administrator, and full stack engineer for small businesses, early startups, and non-profit organizations" + } +

+

+ { + "account manager and technical support at an AI software company, quality assurance specialist at a solar panel manufacturing company" + } +

+
+
+

{"2010 - 2014"}

+

+ { + "produced documentary films, promotional videos, and experimental short films exploring poverty, microfinance, and cinematography" + } +

+

+ { + "earned a BA in classical languages and literature, minors in classical greek, english literature, and film studies, also earned a CELTA certificate" + } +

+
+
+
+
+ ); +}; + +export default AboutPage; diff --git a/app/accounts/page.module.css b/app/accounts/page.module.css new file mode 100644 index 0000000..c1df742 --- /dev/null +++ b/app/accounts/page.module.css @@ -0,0 +1,20 @@ +.container { + composes: container from "../../styles/page.css"; +} + +.content { + composes: content from "../../styles/page.css"; + min-height: calc(100dvh - var(--header-height) - var(--footer-height)); +} + +.item { + composes: item from "../../styles/page.css"; +} + +.item img { + width: 225px !important; +} + +.content div > ul > li > i { + color: var(--color-dimmed); +} diff --git a/app/accounts/page.tsx b/app/accounts/page.tsx new file mode 100644 index 0000000..9375503 --- /dev/null +++ b/app/accounts/page.tsx @@ -0,0 +1,170 @@ +import { Metadata } from "next"; + +import styles from "./page.module.css"; + +export const metadata: Metadata = { + title: "ryan christoffersen | accounts", +}; + +const AccountsPage = () => { + return ( +
+
+
+

{"accounts"}

+

{"Accounts that I currently use and intend to keep for now:"}

+
+ +
+

+ {"Accounts that I no longer use and may deactivate in the future:"} +

+
+ +
+
+

+ + { + "The above does not include messaging platforms (e.g. Signal, Telegram, Discord) or project-specific forums for technical and governance discussions." + } + +

+

+ + { + "I currently do not have an account on X, Facebook, Instagram, TikTok, etc. If you see a suspicious account that is not on the list, please " + } + {"let me know"} + {"."} + +

+
+
+
+ ); +}; + +export default AccountsPage; diff --git a/app/artifacts/essays/[id]/page.module.css b/app/artifacts/essays/[id]/page.module.css deleted file mode 100644 index 79ba582..0000000 --- a/app/artifacts/essays/[id]/page.module.css +++ /dev/null @@ -1,24 +0,0 @@ -.container { - composes: container from "../../../../styles/page.css"; -} - -.banner { - composes: banner from "../../../../styles/page.css"; -} - -.content { - composes: content from "../../../../styles/page.css"; -} - -.content { - text-align: center; -} - -.content h1 { - font-size: 1.6em; - margin: 1em 0; -} - -.content p { - margin: 1em 0; -} diff --git a/app/artifacts/essays/[id]/page.tsx b/app/artifacts/essays/[id]/page.tsx deleted file mode 100644 index 228ff94..0000000 --- a/app/artifacts/essays/[id]/page.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { Metadata } from "next"; - -import { getArtifact, getArtifacts } from "@utils"; - -import styles from "./page.module.css"; - -export const metadata: Metadata = { - title: "ryan christoffersen | artifacts", -}; - -export const generateStaticParams = () => { - return getArtifacts("essays"); -}; - -const ArtifactPage = async ({ params }: any) => { - const artifact = await getArtifact("essays", params.id); - return ( -
-
-
-
-

{`author: ${artifact.author}`}

-

{`title: ${artifact.title}`}

-

{`description: ${artifact.description}`}

-

{`created: ${artifact.created.toDateString()}`}

-

{`updated: ${artifact.updated.toDateString()}`}

-
-
-
-
-
-
-
- ); -}; - -export default ArtifactPage; diff --git a/app/artifacts/essays/feed/route.ts b/app/artifacts/essays/feed/route.ts deleted file mode 100644 index 5663b7d..0000000 --- a/app/artifacts/essays/feed/route.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Feed } from "feed"; -import { getArtifacts } from "utils"; - -const SITE_URL = "https://chora.io/artifacts/essays"; - -function getAllArtifacts() { - return [ - ...getArtifacts('essays'), - ] -} - -export const revalidate = false; - -export async function GET() { - const feed = new Feed({ - title: "ryan's artifacts (essays)", - description: "ryan's artifacts (essays)", - id: SITE_URL, - link: SITE_URL, - language: "en", - feedLinks: { rss2: `${SITE_URL}/feed` }, - ttl: 60, - }); - - for (const a of getAllArtifacts()) { - feed.addItem({ - title: a.title, - id: `${SITE_URL}/${a.id}`, - link: `${SITE_URL}/${a.id}`, - description: a.description, - date: a.created, - }); - } - - return new Response(feed.rss2(), { - headers: { - "Content-Type": "application/rss+xml; charset=utf-8", - "Cache-Control": "public, max-age=3600", - }, - }); -} diff --git a/app/artifacts/feed/route.ts b/app/artifacts/feed/route.ts deleted file mode 100644 index b236463..0000000 --- a/app/artifacts/feed/route.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Feed } from "feed"; -import { getArtifacts } from "utils"; - -const SITE_URL = "https://ryanchristo.com/artifacts"; - -function getAllArtifacts() { - return [ - ...getArtifacts('essays'), - ...getArtifacts('film'), - ...getArtifacts('software'), - ...getArtifacts('videos'), - ] -} - -export const revalidate = false; - -export async function GET() { - const feed = new Feed({ - title: "ryan's artifacts", - description: "ryan's artifacts", - id: SITE_URL, - link: SITE_URL, - language: "en", - feedLinks: { rss2: `${SITE_URL}/feed` }, - ttl: 60, - }); - - for (const a of getAllArtifacts()) { - feed.addItem({ - title: a.title, - id: `${SITE_URL}/${a.category}/${a.id}`, - link: `${SITE_URL}/${a.category}/${a.id}`, - description: a.description, - date: a.created, - }); - } - - return new Response(feed.rss2(), { - headers: { - "Content-Type": "application/rss+xml; charset=utf-8", - "Cache-Control": "public, max-age=3600", - }, - }); -} diff --git a/app/artifacts/film/[id]/page.module.css b/app/artifacts/film/[id]/page.module.css deleted file mode 100644 index 79ba582..0000000 --- a/app/artifacts/film/[id]/page.module.css +++ /dev/null @@ -1,24 +0,0 @@ -.container { - composes: container from "../../../../styles/page.css"; -} - -.banner { - composes: banner from "../../../../styles/page.css"; -} - -.content { - composes: content from "../../../../styles/page.css"; -} - -.content { - text-align: center; -} - -.content h1 { - font-size: 1.6em; - margin: 1em 0; -} - -.content p { - margin: 1em 0; -} diff --git a/app/artifacts/film/[id]/page.tsx b/app/artifacts/film/[id]/page.tsx deleted file mode 100644 index 529a272..0000000 --- a/app/artifacts/film/[id]/page.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { Metadata } from "next"; - -import { getArtifact, getArtifacts } from "@utils"; - -import styles from "./page.module.css"; - -export const metadata: Metadata = { - title: "ryan christoffersen | artifacts", -}; - -export const generateStaticParams = () => { - return getArtifacts("film"); -}; - -const ArtifactPage = async ({ params }: any) => { - const artifact = await getArtifact("film", params.id); - return ( -
-
-
-
-

{`author: ${artifact.author}`}

-

{`title: ${artifact.title}`}

-

{`description: ${artifact.description}`}

-

{`created: ${artifact.created.toDateString()}`}

-

{`updated: ${artifact.updated.toDateString()}`}

-
-
-
-
-
-
-
- ); -}; - -export default ArtifactPage; diff --git a/app/artifacts/film/feed/route.ts b/app/artifacts/film/feed/route.ts deleted file mode 100644 index 221855a..0000000 --- a/app/artifacts/film/feed/route.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Feed } from "feed"; -import { getArtifacts } from "utils"; - -const SITE_URL = "https://chora.io/artifacts/film"; - -function getAllArtifacts() { - return [ - ...getArtifacts('film'), - ] -} - -export const revalidate = false; - -export async function GET() { - const feed = new Feed({ - title: "ryan's artifacts (film)", - description: "ryan's artifacts (film)", - id: SITE_URL, - link: SITE_URL, - language: "en", - feedLinks: { rss2: `${SITE_URL}/feed` }, - ttl: 60, - }); - - for (const a of getAllArtifacts()) { - feed.addItem({ - title: a.title, - id: `${SITE_URL}/${a.id}`, - link: `${SITE_URL}/${a.id}`, - description: a.description, - date: a.created, - }); - } - - return new Response(feed.rss2(), { - headers: { - "Content-Type": "application/rss+xml; charset=utf-8", - "Cache-Control": "public, max-age=3600", - }, - }); -} diff --git a/app/artifacts/page.module.css b/app/artifacts/page.module.css deleted file mode 100644 index 58fef72..0000000 --- a/app/artifacts/page.module.css +++ /dev/null @@ -1,25 +0,0 @@ -.container { - composes: container from "../../styles/page.css"; -} - -.content { - composes: content from "../../styles/page.css"; -} - -.content h2 { - font-size: 1.3em; - margin: 2em 0 1.5em 0; -} - -.content ul { - list-style: none inside none; -} - -.content li { - margin: 2em 0; -} - -.content p { - color: var(--color-text); - font-weight: 300; -} diff --git a/app/artifacts/page.tsx b/app/artifacts/page.tsx deleted file mode 100644 index ec4302b..0000000 --- a/app/artifacts/page.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import { Metadata } from "next"; -import Link from "next/link"; - -import { getArtifacts } from "@utils"; - -import styles from "./page.module.css"; - -export const metadata: Metadata = { - title: "ryan christoffersen | artifacts", -}; - -async function getArtifactsByGroup() { - return [ - { - group: "essays", - items: getArtifacts("essays").sort((a, b) => b.order - a.order), - }, - { - group: "film / videos", - items: [...getArtifacts("film"), ...getArtifacts("videos")].sort( - (a, b) => b.order - a.order, - ), - }, - { - group: "software", - items: getArtifacts("software").sort((a, b) => b.order - a.order), - }, - ]; -} - -const ArtifactsPage = async () => { - const artifacts = await getArtifactsByGroup(); - return ( -
-
- {!artifacts.length ? ( -

- {"failed to load artifacts"} -

- ) : ( -
- {artifacts.map(({ group, items }) => ( -
-

{group}

-
    - {items.map( - ({ - id, - category, - title, - description, - created, - updated, - }) => ( -
  • - -

    {title}

    -

    {description}

    -

    - {`created: ${created.toDateString()}`} - {" | "} - {`updated: ${updated.toDateString()}`} -

    - -
  • - ), - )} -
-
- ))} -
- )} -
-
- ); -}; - -export default ArtifactsPage; diff --git a/app/artifacts/software/[id]/page.module.css b/app/artifacts/software/[id]/page.module.css deleted file mode 100644 index 79ba582..0000000 --- a/app/artifacts/software/[id]/page.module.css +++ /dev/null @@ -1,24 +0,0 @@ -.container { - composes: container from "../../../../styles/page.css"; -} - -.banner { - composes: banner from "../../../../styles/page.css"; -} - -.content { - composes: content from "../../../../styles/page.css"; -} - -.content { - text-align: center; -} - -.content h1 { - font-size: 1.6em; - margin: 1em 0; -} - -.content p { - margin: 1em 0; -} diff --git a/app/artifacts/software/[id]/page.tsx b/app/artifacts/software/[id]/page.tsx deleted file mode 100644 index e859ab8..0000000 --- a/app/artifacts/software/[id]/page.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { Metadata } from "next"; - -import { getArtifact, getArtifacts } from "@utils"; - -import styles from "./page.module.css"; - -export const metadata: Metadata = { - title: "ryan christoffersen | artifacts", -}; - -export const generateStaticParams = () => { - return getArtifacts("software"); -}; - -const ArtifactPage = async ({ params }: any) => { - const artifact = await getArtifact("software", params.id); - return ( -
-
-
-
-

{`author: ${artifact.author}`}

-

{`title: ${artifact.title}`}

-

{`description: ${artifact.description}`}

-

{`created: ${artifact.created.toDateString()}`}

-

{`updated: ${artifact.updated.toDateString()}`}

-
-
-
-
-
-
-
- ); -}; - -export default ArtifactPage; diff --git a/app/artifacts/software/feed/route.ts b/app/artifacts/software/feed/route.ts deleted file mode 100644 index 2b5083e..0000000 --- a/app/artifacts/software/feed/route.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Feed } from "feed"; -import { getArtifacts } from "utils"; - -const SITE_URL = "https://chora.io/artifacts/software"; - -function getAllArtifacts() { - return [ - ...getArtifacts('software'), - ] -} - -export const revalidate = false; - -export async function GET() { - const feed = new Feed({ - title: "ryan's artifacts (software)", - description: "ryan's artifacts (software)", - id: SITE_URL, - link: SITE_URL, - language: "en", - feedLinks: { rss2: `${SITE_URL}/feed` }, - ttl: 60, - }); - - for (const a of getAllArtifacts()) { - feed.addItem({ - title: a.title, - id: `${SITE_URL}/${a.id}`, - link: `${SITE_URL}/${a.id}`, - description: a.description, - date: a.created, - }); - } - - return new Response(feed.rss2(), { - headers: { - "Content-Type": "application/rss+xml; charset=utf-8", - "Cache-Control": "public, max-age=3600", - }, - }); -} diff --git a/app/artifacts/videos/[id]/page.module.css b/app/artifacts/videos/[id]/page.module.css deleted file mode 100644 index 79ba582..0000000 --- a/app/artifacts/videos/[id]/page.module.css +++ /dev/null @@ -1,24 +0,0 @@ -.container { - composes: container from "../../../../styles/page.css"; -} - -.banner { - composes: banner from "../../../../styles/page.css"; -} - -.content { - composes: content from "../../../../styles/page.css"; -} - -.content { - text-align: center; -} - -.content h1 { - font-size: 1.6em; - margin: 1em 0; -} - -.content p { - margin: 1em 0; -} diff --git a/app/artifacts/videos/[id]/page.tsx b/app/artifacts/videos/[id]/page.tsx deleted file mode 100644 index 196264d..0000000 --- a/app/artifacts/videos/[id]/page.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { Metadata } from "next"; - -import { getArtifact, getArtifacts } from "@utils"; - -import styles from "./page.module.css"; - -export const metadata: Metadata = { - title: "ryan christoffersen | artifacts", -}; - -export const generateStaticParams = () => { - return getArtifacts("videos"); -}; - -const ArtifactPage = async ({ params }: any) => { - const artifact = await getArtifact("videos", params.id); - return ( -
-
-
-
-

{`author: ${artifact.author}`}

-

{`title: ${artifact.title}`}

-

{`description: ${artifact.description}`}

-

{`created: ${artifact.created.toDateString()}`}

-

{`updated: ${artifact.updated.toDateString()}`}

-
-
-
-
-
-
-
- ); -}; - -export default ArtifactPage; diff --git a/app/artifacts/videos/feed/route.ts b/app/artifacts/videos/feed/route.ts deleted file mode 100644 index 65b1dc6..0000000 --- a/app/artifacts/videos/feed/route.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Feed } from "feed"; -import { getArtifacts } from "utils"; - -const SITE_URL = "https://chora.io/artifacts/videos"; - -function getAllArtifacts() { - return [ - ...getArtifacts('videos'), - ] -} - -export const revalidate = false; - -export async function GET() { - const feed = new Feed({ - title: "ryan's artifacts (videos)", - description: "ryan's artifacts (videos)", - id: SITE_URL, - link: SITE_URL, - language: "en", - feedLinks: { rss2: `${SITE_URL}/feed` }, - ttl: 60, - }); - - for (const a of getAllArtifacts()) { - feed.addItem({ - title: a.title, - id: `${SITE_URL}/${a.id}`, - link: `${SITE_URL}/${a.id}`, - description: a.description, - date: a.created, - }); - } - - return new Response(feed.rss2(), { - headers: { - "Content-Type": "application/rss+xml; charset=utf-8", - "Cache-Control": "public, max-age=3600", - }, - }); -} diff --git a/app/contact/page.module.css b/app/contact/page.module.css new file mode 100644 index 0000000..ef729e6 --- /dev/null +++ b/app/contact/page.module.css @@ -0,0 +1,20 @@ +.container { + composes: container from "../../styles/page.css"; +} + +.content { + composes: content from "../../styles/page.css"; + min-height: calc(100dvh - var(--header-height) - var(--footer-height)); +} + +.item { + composes: item from "../../styles/page.css"; +} + +.item img { + width: 225px !important; +} + +.content div > ul > li > i { + color: rgba(255, 255, 255, 0.6); +} diff --git a/app/contact/page.tsx b/app/contact/page.tsx new file mode 100644 index 0000000..90ac1e5 --- /dev/null +++ b/app/contact/page.tsx @@ -0,0 +1,44 @@ +import { Metadata } from "next"; + +import styles from "./page.module.css"; + +export const metadata: Metadata = { + title: "ryan christoffersen | contact", +}; + +const ContactPage = () => { + return ( +
+
+
+

{"contact"}

+

{"We can stay connected using one of the following options:"}

+
    +
  • + {"Email"} + {": contact [at] ryanchristo.com"} +
  • +
  • + {"Signal"} + {": [ available upon request ]"} +
  • + {/*
  • + {"Telegram"} + {": [ available upon request ]"} +
  • */} +
+
+

+ + { + "The above email address uses Proton Mail under the hood. If you send an email using Proton Mail, our communication will be end-to-end encrypted." + } + +

+
+
+
+ ); +}; + +export default ContactPage; diff --git a/app/film/page.module.css b/app/film/page.module.css new file mode 100644 index 0000000..9c12f3d --- /dev/null +++ b/app/film/page.module.css @@ -0,0 +1,11 @@ +.container { + composes: container from "../../styles/page.css"; +} + +.content { + composes: content from "../../styles/page.css"; +} + +.item { + composes: item from "../../styles/page.css"; +} diff --git a/app/film/page.tsx b/app/film/page.tsx new file mode 100644 index 0000000..2923bed --- /dev/null +++ b/app/film/page.tsx @@ -0,0 +1,128 @@ +import { Metadata } from "next"; +import Link from "next/link"; + +import styles from "./page.module.css"; + +export const metadata: Metadata = { + title: "ryan christoffersen | film", +}; + +const SolutionsPage = () => { + return ( +
+
+
+

{"film"}

+

+ { + "I studied film and film production alongside my studies in classical languages and literature. I also helped with student and local film projects." + } +

+

+ { + "The height of my filmmaking pursuits was around 2010 when I co-produced an experimental short film and a feature-length documentary." + } +

+
+
+

{"Rosa - These Storms | 2014"}

+

+ {"Camera Operator"} +

+

+ { + '"Rosa, a young Mayan woman, sits alone. She stares directly into the camera and for the first time has the courage to share her story. She has wrestled with rejection, forgiveness and the fight to keep her child alive. Now 27, she must overcome her past to follow dreams she once thought impossible."' + } +

+

+ {"Photography, Cinematography"} +

+

+ + {"more information"} + +

+
+
+

{"Alleviating Poverty in Vietnam | 2013"}

+

+ {"Videographer"} +

+

+ { + '"Alleviating Poverty in Vietnam is a short promotional video that explores a day in the life of Whole Planet Foundation\'s Field Director, Daniel Zoltani, as he visits one of their partners in Vietnam. Daniel visits Tao Yeu Mai (TYM) - the leading microfinance institution in Thai Nguyen Province of Northern Vietnam. Daniel and the TYM staff go out to meet with their clients."' + } +

+

+ + { + "Production, Photography, Videography, Audio Recording, Video Editing" + } + +

+

+ + {"watch video"} + +

+
+
+

{"Living on One Dollar | 2010 - 2012"}

+

+ {"Co-Producer, Cinematographer, Assistant Editor"} +

+

+ { + '"Living on One Dollar follows the experience of four young friends as they live on less than $1 a day for two months in rural Guatemala. They battle hunger, parasites and the realization that there are no easy answers. Yet, the generosity and strength of Rosa, a 20-year-old woman with her husband Anthony, and Chino, a 12-year-old boy gives them hope that there are ways to make a difference."' + } +

+

+ + { + "Production, Photography, Cinematography, Audio Recording, Video Editing" + } + +

+

+ + {"more information"} + +

+
+
+

{"Aspectator | 2010"}

+

+ {"Co-Producer, Cinematographer"} +

+

+ { + '"The subject of a psychology study begins to lose his identity when he decides to follow a woman whose presence deteriorates his sight while also invigorating his desire to rediscover himself."' + } +

+

+ + {"Production, Cinematography, Audio Recording, Video Editing"} + +

+

+ + {"watch trailer"} + +

+
+
+
+
+ ); +}; + +export default SolutionsPage; diff --git a/app/globals.css b/app/globals.css index 907674d..73b117b 100644 --- a/app/globals.css +++ b/app/globals.css @@ -55,24 +55,28 @@ } :root { - --color-theme: rgb(0, 180, 155); /* #00B49B */ + --color-theme: rgb(0, 195, 165); --font-family: "Ubuntu", sans-serif; - --footer-height: 70px; - --header-height: 70px; + --footer-height: 60px; + --header-height: 60px; --transition: 0.25s; /* light theme */ - --background-primary: rgb(255, 255, 255); /* #FFFFFF */ - --box-shadow: 0 0 3px rgb(230, 230, 230); /* #C8C8C8 */ - --box-shadow-color: rgb(230, 230, 230); /* #C8C8C8 */ - --color-text: rgb(25, 25, 25); /* #191919 */ + --background-primary: rgb(255, 255, 255); + --background-primary-transparent: rgba(255, 255, 255, 0.95); + --box-shadow: 0 0 4px rgb(245, 245, 245); + --box-shadow-color: rgb(245, 245, 245); + --color-text: rgb(10, 10, 10); + --color-dimmed: rgba(10, 10, 10, 0.5); } .dark-theme { - --background-primary: rgb(25, 25, 25); /* #191919 */ - --box-shadow: 0 0 3px rgb(75, 75, 75); /* #4B4B4B */ - --box-shadow-color: rgb(75, 75, 75); /* #4B4B4B */ - --color-text: rgb(255, 255, 255); /* #FFFFFF */ + --background-primary: rgb(17, 17, 17); + --background-primary-transparent: rgba(17, 17, 17, 0.9); + --box-shadow: 0 0 4px rgb(27, 27, 27); + --box-shadow-color: rgb(27, 27, 27); + --color-text: rgb(245, 245, 245); + --color-dimmed: rgba(245, 245, 245, 0.5); } * { @@ -99,7 +103,7 @@ h2, h3, h4, h5 { - font-weight: 300; + font-weight: 400; } p, @@ -110,6 +114,7 @@ li { a, a:active { color: var(--color-theme); + font-weight: 400; text-decoration: none; transition: var(--transition); } @@ -119,9 +124,12 @@ a:hover { } button { + background: var(--color-theme); border: none; + border-radius: 1em; + color: var(--background-primary); + font-family: var(--font-family); font-size: 1em; - opacity: 1; outline: none; transition: var(--transition); } @@ -132,8 +140,8 @@ button:hover { } hr { - border: 1px solid var(--box-shadow-color); + margin: 2em 0; + border: 1px solid var(--color-dimmed); border-bottom-width: 0; - box-shadow: 0 0 1px var(--box-shadow-color); - opacity: 0.5; + opacity: 0.25; } diff --git a/app/layout.tsx b/app/layout.tsx index b0d064a..a2b13b3 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,4 @@ -// import Footer from "@components/Footer"; +import Footer from "@components/Footer"; import Header from "@components/Header"; import { ThemeContextProvider } from "@contexts"; @@ -12,7 +12,7 @@ const Layout = ({ children }: any) => (
{children} - {/*
*/} +
diff --git a/app/not-found.module.css b/app/not-found.module.css index 599f893..00e6f3a 100644 --- a/app/not-found.module.css +++ b/app/not-found.module.css @@ -1,6 +1,6 @@ -/* container */ +/* page */ -.container { +.page { background: var(--background-primary); align-items: center; display: flex; @@ -9,20 +9,16 @@ text-align: center; } -/* content */ - -.content { - margin-bottom: 5vh; +.page div { + margin-bottom: 2%; } -.content h1 { +.page h1 { color: var(--color-theme); - font-size: 2em; - margin: 0.25em 0; + font-size: 2.5em; } -.content p { - font-size: 1.2em; - font-style: italic; - margin: 0.25em 0; +.page h1, +.page h2 { + margin: 0.5em 0; } diff --git a/app/not-found.tsx b/app/not-found.tsx index 09ee006..d491a9a 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -7,10 +7,10 @@ export const metadata: Metadata = { }; const NotFoundPage = () => ( -
-
+
+

{"404"}

-

{"a placeless place"}

+

{"not found"}

); diff --git a/app/page.module.css b/app/page.module.css index def294c..90c314a 100644 --- a/app/page.module.css +++ b/app/page.module.css @@ -1,38 +1,40 @@ +/* container */ + .container { - composes: container from "../styles/page.css"; + background: var(--background-primary-transparent); + width: 100dvw; } -.content { - composes: content from "../styles/page.css"; +/* banner */ + +.banner { + align-items: center; + display: flex; + font-size: 1.5em; + justify-content: center; + min-height: 100dvh; + text-align: center; } -.content h2 { - font-size: 1.3em; - margin: 2em 0 1.5em 0; +@media (max-width: 850px) { + .banner { + font-size: 1em; + } } -.content h3 { - font-size: 1.1em; - margin: 1em 0; +.banner div { + margin-bottom: 2%; } -.content hr { - margin: 5vh 0; +.banner h1 { + font-size: 1.6em; + padding: 0.25em 0; } -.content p { - margin: 1em 0; +.banner p { + padding: 0.5em 0; } -.content div { - margin: 2em 0; -} - -.content ul { - list-style-position: inside; - margin: 1em 0; -} - -.content li { - margin: 0.5em 0; +.banner p > i { + color: var(--color-theme); } diff --git a/app/page.tsx b/app/page.tsx index 66eb09a..14d6e2e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,7 @@ import { Metadata } from "next"; +import Background from "@components/Background"; + import styles from "./page.module.css"; export const metadata: Metadata = { @@ -9,239 +11,15 @@ export const metadata: Metadata = { const HomePage = () => { return (
-
-

{"a brief intro"}

-

- { - "I studied liberal arts in college with a focus on classical languages, critical and cultural theory, and film studies. I also participated in an extracurricular program for film production focused on cinematography." - } -

-

- { - "I bounced around jobs after college but eventually settled into a career as a software engineer and technical product manager. I now continue this work and provide software consulting services through " - } - - {"Chora Studio"} - - {"."} -

-

- { - "More recently I've been reading various fields of theory, philosophy, and science fiction while also exploring farming, forestry, and alternative ways of living. I also contribute to a project called " - } - - {"Open Machine"} - - {"."} -

-
-

{"a brief history"}

+ +
-

{"2024 - present"}

+

{"ryan christoffersen"}

- { - "exploring decentralized protocols, agentic systems, open-source software, open-source hardware, and privacy-preserving technologies" - } -

-

- { - "researching a variety of topics including the philosophy of technology, the apparatus of capture, cognitive security, and extitutional theory" - } + {"decentralized protocols and agentic systems"}

+

{"research and development"}

-
-

{"2018 - 2024"}

-

- { - "software engineer, technical product manager, and protocol researcher for teams building tools and infrastructure in the web3 ecosystem" - } -

-

- { - "contributed to developer tools, governance frameworks, blockchain clients, registries for ecological assets, and various network services" - } -

-
-
-

{"2014 - 2018"}

-

- { - "website developer, network administrator, and full stack engineer for small businesses, early startups, and non-profit organizations" - } -

-

- { - "account manager and technical support at an AI software company, quality assurance specialist at a solar panel manufacturing company" - } -

-
-
-

{"2010 - 2014"}

-

- { - "produced documentary films, promotional videos, and experimental short films exploring poverty, microfinance, and cinematography" - } -

-

- { - "earned a BA in classical languages and literature, minors in classical greek, english literature, and film studies, also earned a CELTA certificate" - } -

-
-
-

{"public accounts"}

-

- { - "I take a minimalist approach to social media and other platforms. All public accounts that I'm actively (or occasionally) using are listed here:" - } -

- -

- - { - "I don't have an account on X, Facebook, Instagram, LinkedIn, TikTok, etc. If you see a suspicious account that is not on the list, please let me know." - } - -

-
-

{"contact info"}

-

{"We can connect using the following options:"}

-
    -
  • - {"Email"} - {": contact [at] ryanchristo.com"} -
  • -
  • - {"Signal"} - {": [ available upon request ]"} -
  • - {/*
  • - {"Telegram"} - {": [ available upon request ]"} -
  • */} - {/*
  • - {"Discord"} - {": [ available upon request ]"} -
  • */} -
-

- - { - "The above email address uses Proton Mail under the hood. If you send an email using Proton Mail, our communication will be end-to-end encrypted." - } - -

); diff --git a/app/tech/page.module.css b/app/tech/page.module.css new file mode 100644 index 0000000..9c12f3d --- /dev/null +++ b/app/tech/page.module.css @@ -0,0 +1,11 @@ +.container { + composes: container from "../../styles/page.css"; +} + +.content { + composes: content from "../../styles/page.css"; +} + +.item { + composes: item from "../../styles/page.css"; +} diff --git a/app/tech/page.tsx b/app/tech/page.tsx new file mode 100644 index 0000000..f5b53a9 --- /dev/null +++ b/app/tech/page.tsx @@ -0,0 +1,319 @@ +import { Metadata } from "next"; +import Link from "next/link"; + +import styles from "./page.module.css"; + +export const metadata: Metadata = { + title: "ryan christoffersen | tech", +}; + +const TechPage = () => { + return ( +
+
+
+

{"tech"}

+

+ { + "I'm a self-taught software engineer. I started building websites back in 2012 after graduating college with a liberal arts degree." + } +

+

+ { + "I managed websites, databases, and servers for small businesses and non-profit organizations before starting a career in tech in 2016." + } +

+

+ { + "I later became passionate about web3 technologies and worked on projects building governance tools and blockchain infrastructure." + } +

+

+ { + "More recently I've been learning about agentic systems and building a multi-agent management system and knowledge framework." + } +

+
+
+

{"Chora AI | 2026 - Present"}

+

+ {"Software Engineer, Protocol Researcher"} +

+

+ { + "Chora AI is a research project focused on local-first and privacy-preserving tools and infrastructure for specialized agents. Chora AI is an evolving side project that is currently stewarded by Chora Studio." + } +

+

+ {"Rust, LLMs"} +

+

+ {/* + {"website"} + + {" | "}*/} + + {"source"} + +

+

{"Chora Studio | 2024 - Present"}

+

+ {"Owner, Software Engineer, Protocol Researcher"} +

+

+ { + "Chora Studio is a software research and development company building software for agentic systems and decentralied protocols. Chora Studio also offers research and development as a service." + } +

+

+ {"Rust, LLMs, Go, TypeScript, Cosmos"} +

+

+ + {"website"} + + {" | "} + + {"source"} + +

+
+
+

{"Regen Network | 2021 - 2023"}

+

+ + { + "Technical Product Manager, Software Engineer, Network Operations" + } + +

+

+ { + "Regen Network aligns economics with ecology to drive regenerative land management. I primarily worked on Regen Ledger and Cosmos SDK, the underlying blockchain infrastructure for Regen Network." + } +

+

+ {"Go, TypeScript, Cosmos"} +

+

+ + {"website"} + + {" | "} + + {"source"} + +

+
+
+

{"Chora | 2020 - 2023"}

+

+ {"Software Engineer, Protocol Researcher"} +

+

+ { + "Chora is software for commons governance and ecological regeneration built with distributed ledger technology. Chora started out as an evolving side project that later became a product of Chora Studio." + } +

+

+ {"Go, TypeScript, Cosmos"} +

+

+ + {"website"} + + {" | "} + + {"source"} + +

+
+
+

{"ChainSafe | 2019 - 2020"}

+

+ {"Software Engineer, Protocol Researcher"} +

+

+ { + "ChainSafe is a team of developers building tools and infrastructure for a variety of decentralized protocols. I primarily worked on Gossamer, a node client implementation for the Polkadot network written in Go." + } +

+

+ {"Go, Polkadot, Solidity, Ethereum"} +

+

+ + {"website"} + + {" | "} + + {"source"} + +

+
+
+

{"Colony | 2018 - 2019"}

+

+ {"Developer Relations Manager, Software Engineer"} +

+

+ { + "Colony is a platform for open organizations built on Ethereum. I helped build and maintain developer tools, wrote documentation, explored integrations, and managed developer relations." + } +

+

+ + {"JavaScript, React, Redux, Webpack, IPFS, Solidity, Ethereum"} + +

+

+ + {"website"} + + {" | "} + + {"source"} + +

+
+
+

{"Chora | 2018"}

+

+ {"Software Engineer"} +

+

+ { + "Chora was a project I created to learn about and explore Ethereum. The demo application allowed users to create organizations, projects, and tasks using smart contracts on the Ethereum network." + } +

+

+ {"JavaScript, React, Redux, Webpack, Solidity, Ethereum"} +

+
+
+

{"Horizon App | 2017 - 2018"}

+

+ {"Full Stack Engineer"} +

+

+ { + "Horizon App uses groups and mutual friends to help members find people and places to stay. I designed and developed the web application, rebuilt the latest version of the API, and integrated email services." + } +

+

+ + {"JavaScript, React, Redux, Webpack, Ruby, Rails, PostgreSQL"} + +

+
+
+

{"Ushahidi | 2017"}

+

+ {"Full Stack Engineer"} +

+

+ { + "Ushahidi is a crowdsourcing application with a focus on disaster response that makes it easy to collect and visualize data on a map. I volunteered for three months implementing features and fixing bugs." + } +

+

+ {"JavaScript, AngularJS, PHP"} +

+
+
+

{"Joglo Northwest | 2017"}

+

+ {"Full Stack Engineer"} +

+

+ { + "Joglo Northwest is a small business that buys and sells Indonesian art, furniture and stone. I rebuilt the website and content management system using my very own simple-cms as the foundation (see below)." + } +

+

+ + {"JavaScript, React, Redux, Webpack, Node, Express, MongoDB"} + +

+
+
+

{"simple-cms | 2017"}

+

+ {"Full Stack Engineer"} +

+

+ { + "After working my way through freeCodeCamp, I developed simple-cms to test my skills on a larger project - a simple yet customizable content management system for small businesses and freelancers." + } +

+

+ + {"JavaScript, React, Redux, Webpack, Node, Express, MongoDB"} + +

+
+
+

{"fcc-projects | 2016 - 2017"}

+

+ {"Full Stack Engineer"} +

+

+ { + "To advance my skills, I worked my way through the freeCodeCamp coursework and projects. The freeCodeCamp curriculum focuses on full-stack development with React, Node, Express, and MongoDB." + } +

+

+ + {"JavaScript, React, Redux, Webpack, Node, Express, MongoDB"} + +

+
+
+

{"Joglo Northwest | 2014"}

+

+ {"Web Developer"} +

+

+ { + "Joglo Northwest is a small business that buys and sells Indonesian art, furniture, and stone. I designed and developed a simple gallery website with a custom content management system and integrated email services." + } +

+

+ {"HTML, CSS, JavaScript, PHP, SQL"} +

+
+
+

{"Ancient Greek | 2014"}

+

+ {"Web Developer"} +

+

+ { + "Ancient Greek was a web application for learning Ancient Greek. The app included a dictionary, interactive reading exercises, and flashcards for practicing vocabulary, verb conjugations, and noun declensions." + } +

+

+ {"HTML, CSS, JavaScript, PHP, SQL"} +

+
+
+

{"Documentary Art Network | 2013"}

+

+ {"Web Developer"} +

+

+ { + "Documentary Art Network was a professional network for documentary artists. Users could post articles and stories, discuss ideas, find people to collaborate with, and rent or exchange equipment." + } +

+

+ {"HTML, CSS, JavaScript, PHP, SQL"} +

+
+
+
+
+ ); +}; + +export default TechPage; diff --git a/app/text/page.module.css b/app/text/page.module.css new file mode 100644 index 0000000..ef729e6 --- /dev/null +++ b/app/text/page.module.css @@ -0,0 +1,20 @@ +.container { + composes: container from "../../styles/page.css"; +} + +.content { + composes: content from "../../styles/page.css"; + min-height: calc(100dvh - var(--header-height) - var(--footer-height)); +} + +.item { + composes: item from "../../styles/page.css"; +} + +.item img { + width: 225px !important; +} + +.content div > ul > li > i { + color: rgba(255, 255, 255, 0.6); +} diff --git a/app/text/page.tsx b/app/text/page.tsx new file mode 100644 index 0000000..a11ad53 --- /dev/null +++ b/app/text/page.tsx @@ -0,0 +1,41 @@ +import { Metadata } from "next"; + +import styles from "./page.module.css"; + +export const metadata: Metadata = { + title: "ryan christoffersen | contact", +}; + +const TextPage = () => { + return ( +
+
+
+

{"text"}

+

{"I'm currently exploring the following topics:"}

+
    +
  • + { + "free and open-source software and privacy-preserving technologies" + } +
  • +
  • + { + "philosophy of technology, emerging technologies, cognitive security" + } +
  • +
  • + { + "dark forest theory applied to politics, intelligence, and the internet" + } +
  • +
+
+

{"[ links will be posted here ]"}

+
+
+
+ ); +}; + +export default TextPage; diff --git a/artifacts b/artifacts deleted file mode 160000 index 65a118e..0000000 --- a/artifacts +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 65a118e4a27b93f175018506952f754f7b4d1100 diff --git a/bun.lockb b/bun.lockb old mode 100755 new mode 100644 index 49a0933..a103191 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/Background.module.css b/components/Background.module.css new file mode 100644 index 0000000..593611f --- /dev/null +++ b/components/Background.module.css @@ -0,0 +1,25 @@ +.background { + align-items: center; + display: flex; + height: 100dvh; + justify-content: center; + position: fixed; + width: 100dvw; + z-index: -1; +} + +.background { + background: var(--background-primary); +} + +.background img { + height: auto; + width: 100dvw; +} + +@media (max-width: 850px) { + .background img { + height: 100dvh; + width: auto; + } +} diff --git a/components/Background.tsx b/components/Background.tsx new file mode 100644 index 0000000..9d57a61 --- /dev/null +++ b/components/Background.tsx @@ -0,0 +1,17 @@ +"use client"; + +import Image from "next/image"; + +import background from "../public/images/background.jpg"; + +import styles from "./Background.module.css"; + +const Background = () => { + return ( +
+ background +
+ ); +}; + +export default Background; diff --git a/components/Footer.module.css b/components/Footer.module.css index 4efdc4b..00f8c81 100644 --- a/components/Footer.module.css +++ b/components/Footer.module.css @@ -30,3 +30,8 @@ margin: 0.5em; } } + +.pipe { + color: var(--color-dimmed); + opacity: 0.5; +} diff --git a/components/Footer.tsx b/components/Footer.tsx index acdfbaf..d8331da 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,5 +1,7 @@ "use client"; +import Link from "next/link"; + import styles from "./Footer.module.css"; const Footer = () => { @@ -17,13 +19,22 @@ const Footer = () => {
  • - {"substack"} + {"linkedin"}
  • +
  • + {"|"} +
  • +
  • + {"accounts"} +
  • +
  • + {"contact"} +
  • ); diff --git a/components/Header.module.css b/components/Header.module.css index da1be8a..5c18f71 100644 --- a/components/Header.module.css +++ b/components/Header.module.css @@ -12,12 +12,12 @@ z-index: 1; } -.header > div { +.header div { align-items: center; display: flex; justify-content: space-between; height: inherit; - width: 650px; + margin: 0 1em; } @media (max-width: 850px) { @@ -30,7 +30,7 @@ .title div { color: var(--color-text); - font-size: 20px; + font-size: 22px; } @media (max-width: 850px) { @@ -49,7 +49,6 @@ } .menu li { - font-weight: 400; margin: 0.75em; } @@ -60,14 +59,7 @@ } } -/* button */ - -.themeButton { - display: flex; - margin-left: 1em; -} - -/* display */ +/* show/hide */ .showMobile { display: none !important; @@ -88,3 +80,8 @@ display: none !important; } } + +.button { + background: none; + display: flex; +} diff --git a/components/Header.tsx b/components/Header.tsx index 73f1bd0..e880d80 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -22,32 +22,32 @@ const Header = () => { return (
    -
    {darkTheme?.toString()}
    -
    {"ryanchristo"}
    +
    {"rc"}
    {"ryan christoffersen"}
    • - {"artifacts"} + {"about"}
    • - {"git"} + {"film"}
    • - {"rss"} + {"tech"}
    • - + {"text"}
    +
    ); }; diff --git a/components/icons/ThemeIcon.tsx b/components/icons/ThemeIcon.tsx index 82fda9b..21e88b1 100644 --- a/components/icons/ThemeIcon.tsx +++ b/components/icons/ThemeIcon.tsx @@ -3,13 +3,13 @@ import * as React from "react"; const ThemeIcon = ({ darkTheme }: any) => ( - - + + ); diff --git a/specs/rss/.gitkeep b/content/film/.gitkeep similarity index 100% rename from specs/rss/.gitkeep rename to content/film/.gitkeep diff --git a/content/tech/.gitkeep b/content/tech/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/content/text/.gitkeep b/content/text/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index fe3eb76..10b9ef4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "website", "private": true, - "description": "personal website", + "description": "personal portfolio website", "version": "0.0.0", "homepage": "https://ryanchristo.com", "bugs": { @@ -19,13 +19,9 @@ "clean": "rm -rf .next dist node_modules" }, "dependencies": { - "feed": "^6", - "gray-matter": "^4", "next": "^14", "react": "^18", - "react-dom": "^18", - "remark": "^15", - "remark-html": "^16" + "react-dom": "^18" }, "devDependencies": { "@types/node": "^20", @@ -38,7 +34,6 @@ "eslint-config-next": "^14", "postcss": "^8", "prettier": "^3", - "sharp": "^0.33", "typescript": "^5" } } diff --git a/public/images/background.jpg b/public/images/background.jpg new file mode 100644 index 0000000..2c5a5f6 Binary files /dev/null and b/public/images/background.jpg differ diff --git a/specs/books/all/index.json b/specs/books/all/index.json deleted file mode 100644 index 8dfa3af..0000000 --- a/specs/books/all/index.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "metadata": { - "title": "All Publications" - }, - "links": [ - { - "rel": "self", - "href": "http://localhost:3000/books/all/index.json", - "type": "application/opds+json" - } - ], - "publications": [ - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/foto", - "type": "text/html", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (priced)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/foto", - "type": "text/html", - "properties": { - "price": { - "currency": "USD", - "value": 4.99 - }, - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "The Inverted City (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2024-02-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "https://theopenmachine.net/assets/pdf/invertedCity_digital.pdf", - "type": "application/pdf+zip" - } - ], - "images": [ - { - "href": "http://localhost:3000/books/tic.jpg", - "type": "image/jpeg", - "height": 2321, - "width": 1502 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "The Inverted City (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2024-02-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/tic", - "type": "text/html", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/tic.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/tic.jpg", - "type": "image/jpeg", - "height": 2321, - "width": 1502 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Toward a Nomad Web (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2026-07-07T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/tanw.epub", - "type": "application/epub+zip" - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Toward a Nomad Web (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2026-07-07T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/tanw.epub", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/tanw.epub", - "type": "application/epub+zip" - } - ] - } - } - ] - } - ] -} diff --git a/specs/books/direct-examples/index.json b/specs/books/direct-examples/index.json deleted file mode 100644 index fe01af1..0000000 --- a/specs/books/direct-examples/index.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "metadata": { - "title": "Direct Examples" - }, - "links": [ - { - "rel": "self", - "href": "http://localhost:3000/books/direct-examples/index.json", - "type": "application/opds+json" - } - ], - "publications": [ - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "The Inverted City (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2024-02-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "https://theopenmachine.net/assets/pdf/invertedCity_digital.pdf", - "type": "application/pdf+zip" - } - ], - "images": [ - { - "href": "http://localhost:3000/books/tic.jpg", - "type": "image/jpeg", - "height": 2321, - "width": 1502 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Toward a Nomad Web (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2026-07-07T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/tanw.epub", - "type": "application/epub+zip" - } - ] - } - ] -} diff --git a/specs/books/index.json b/specs/books/index.json deleted file mode 100644 index 31333c1..0000000 --- a/specs/books/index.json +++ /dev/null @@ -1,244 +0,0 @@ -{ - "metadata": { - "title": "Ryan's Books" - }, - "links": [ - { - "rel": "self", - "href": "http://localhost:3000/books/index.json", - "type": "application/opds+json" - }, - { - "rel": "search", - "href": "search{?query,title,author}", - "type": "application/opds+json", - "templated": true - } - ], - "groups": [ - { - "metadata": { - "title": "Direct Examples" - }, - "links": [ - { - "rel": "self", - "href": "http://localhost:3000/books/direct-examples/index.json", - "type": "application/opds+json" - } - ], - "publications": [ - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "The Inverted City (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2024-02-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "https://theopenmachine.net/assets/pdf/invertedCity_digital.pdf", - "type": "application/pdf+zip" - } - ], - "images": [ - { - "href": "http://localhost:3000/books/tic.jpg", - "type": "image/jpeg", - "height": 2321, - "width": 1502 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Toward a Nomad Web (direct)", - "author": "Open Machine", - "language": "en", - "modified": "2026-07-07T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/tanw.epub", - "type": "application/epub+zip" - } - ] - } - ] - }, - { - "metadata": { - "title": "Indirect Examples" - }, - "links": [ - { - "rel": "self", - "href": "http://localhost:3000/books/indirect-examples/index.json", - "type": "application/opds+json" - } - ], - "publications": [ - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/foto", - "type": "text/html", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "The Inverted City (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2024-02-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/tic", - "type": "text/html", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/tic.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/tic.jpg", - "type": "image/jpeg", - "height": 2321, - "width": 1502 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Toward a Nomad Web (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2026-07-07T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/tanw.epub", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/tanw.epub", - "type": "application/epub+zip" - } - ] - } - } - ] - } - ] - } - ], - "navigation": [ - { - "href": "http://localhost:3000/books/all/index.json", - "title": "All Publications", - "type": "application/opds+json" - } - ], - "publications": [ - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (priced)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/foto", - "type": "text/html", - "properties": { - "price": { - "currency": "USD", - "value": 4.99 - }, - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - } - ] -} diff --git a/specs/books/indirect-examples/index.json b/specs/books/indirect-examples/index.json deleted file mode 100644 index a4afd91..0000000 --- a/specs/books/indirect-examples/index.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "metadata": { - "title": "Indirect Examples" - }, - "links": [ - { - "rel": "self", - "href": "http://localhost:3000/books/indirect-examples/index.json", - "type": "application/opds+json" - } - ], - "publications": [ - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Friends of the Outside (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2023-07-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/foto", - "type": "text/html", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/foto.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/foto.jpg", - "type": "image/jpeg", - "height": 2048, - "width": 1453 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "The Inverted City (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2024-02-28T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/tic", - "type": "text/html", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/tic.epub", - "type": "application/epub+zip" - } - ] - } - } - ], - "images": [ - { - "href": "http://localhost:3000/books/tic.jpg", - "type": "image/jpeg", - "height": 2321, - "width": 1502 - } - ] - }, - { - "metadata": { - "@type": "http://schema.org/Book", - "title": "Toward a Nomad Web (indirect)", - "author": "Open Machine", - "language": "en", - "modified": "2026-07-07T00:00:00Z" - }, - "links": [ - { - "rel": "http://opds-spec.org/acquisition/open-access", - "href": "http://localhost:3000/books/tanw.epub", - "properties": { - "indirectAcquisition": [ - { - "href": "http://localhost:3000/books/tanw.epub", - "type": "application/epub+zip" - } - ] - } - } - ] - } - ] -} diff --git a/styles/page.css b/styles/page.css index c667ce3..e0048da 100644 --- a/styles/page.css +++ b/styles/page.css @@ -1,55 +1,97 @@ /* container */ .container { - align-items: center; - background: var(--background-primary); - display: flex; - justify-content: center; - min-height: calc(100vh - var(--header-height) - var(--footer-height)); + background: var(--background-primary-transparent); padding-bottom: var(--footer-height); padding-top: var(--header-height); -} - -/* banner */ - -.banner { - align-items: center; - display: flex; - font-size: 1em; - justify-content: center; - min-height: 10vh; - padding: 2em 0; - text-align: center; -} - -@media (max-width: 850px) { - .banner { - font-size: 1em; - } -} - -.banner p { - padding: 0.2em 0; -} - -@media (max-width: 850px) { - .banner p { - padding: 0.15em 0 !important; - } + width: 100dvw; } /* content */ .content { + align-items: center; + background: var(--background-primary); + display: flex; font-size: 1.2em; - margin: 5vh 0; - width: 650px; + justify-content: center; } @media (max-width: 850px) { .content { - margin: 2vh 5vw; - max-width: 650px; - width: auto; + font-size: 1em; + } +} + +.content > div { + display: block; + margin-bottom: 5%; + max-width: 650px; + padding: 2em; +} + +@media (max-width: 850px) { + .content > div { + padding-top: 0; + } +} + +.content > div h1 { + font-size: 1.75em; + margin: 2em 0 1em 0; +} + +@media (max-width: 850px) { + .content > div h1 { + margin: 1em 0; + } +} + +.content > div p { + padding: 0.5em 0; +} + +.content > div ul { + list-style-position: inside; + margin: 0.5em 1em; +} + +.content > div li { + padding: 0.25em 0; +} + +/* item */ + +.item { + margin: 2em auto; +} + +.item h2 { + font-size: 1.25em; + margin: 2em 0 0.25em 0; + text-align: center; +} + +@media (max-width: 850px) { + .item h2 { + font-size: 1.25em; + } +} + +.item p { + text-align: center; +} + +.item img { + display: block; + filter: grayscale(0.5); + height: auto; + margin: 1em auto; + width: 400px; +} + +@media (max-width: 850px) { + .item img { + width: 200px; } } diff --git a/tsconfig.json b/tsconfig.json index ec4f671..f3c0970 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,8 +21,7 @@ ], "paths": { "@components/*": ["components/*"], - "@contexts": ["contexts"], - "@utils": ["utils"] + "@contexts": ["contexts"] } }, "include": [ diff --git a/utils/getArtifact.ts b/utils/getArtifact.ts deleted file mode 100644 index 8651cd2..0000000 --- a/utils/getArtifact.ts +++ /dev/null @@ -1,27 +0,0 @@ -import fs from "fs"; -import path from "path"; -import matter from "gray-matter"; -import { remark } from "remark"; -import html from "remark-html"; - -const root = path.join(process.cwd(), "artifacts"); - -export async function getArtifact(dir: string, id: string) { - const fullPath = path.join(root, dir, `${id}.md`); - - // read file contents - const fileContents = fs.readFileSync(fullPath, "utf8"); - - // parse file contents - const { content, data } = matter(fileContents); - - // convert markdown to html - const processedContent = await remark().use(html).process(content); - - // return id, content, and data - return { - id, - content: processedContent.toString(), - ...data, - } as any; -} diff --git a/utils/getArtifacts.ts b/utils/getArtifacts.ts deleted file mode 100644 index 21c9038..0000000 --- a/utils/getArtifacts.ts +++ /dev/null @@ -1,31 +0,0 @@ -import fs from "fs"; -import path from "path"; -import matter from "gray-matter"; - -const root = path.join(process.cwd(), "artifacts"); - -export const getArtifacts = (dir: string) => { - const fileNames = fs.readdirSync(root + "/" + dir); - - const filtered = fileNames.filter((fileName) => fileName.includes(`.md`)); - - return filtered.map((fileName) => { - // set id - const id = fileName.replace(/\.md$/, ""); - - // set full path - const fullPath = path.join(root, dir, fileName); - - // read file contents - const fileContents = fs.readFileSync(fullPath, "utf8"); - - // parse file contents - const { data } = matter(fileContents); - - // return id and data - return { - id, - ...data, - }; - }) as any[]; -}; diff --git a/utils/index.ts b/utils/index.ts deleted file mode 100644 index 5441782..0000000 --- a/utils/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { getArtifact } from "./getArtifact"; -export { getArtifacts } from "./getArtifacts";