on master help sign in
pages: remove media section
commitdacf0c756b895b72cc4fec16db2fff2d5831b541 authorMatilde Park <matilde.park@urbit.org> dateTue 19 Jul 2022, 15:12 (4 years ago) parent59a4b03
12 files changed−371
content/media/blockchannel-episode-19-virtual-land-in-the-clouds-with-urbit.md−14 content/media/blueprint-2017-galen-wolfe-pauly-on-the-distributed-web.md−15 content/media/epicenter-episode-205-urbit-a-digital-republic-reinventing-the-internet.md−15 content/media/governing-the-future-e09-urbit-a-user-owned-internet-on-top-of-the-internet.md−16 content/media/lambdaconf-2016-curtis-yarvin-urbit-a-clean-slate-functional-operating-stack.md−15 content/media/lambdaconf-2018-ted-blackman-ford-urbits-build-system.md−15 content/media/on-the-brink-castle-island.md−14 content/media/the-ether-review-46-curtis-yarvin-and-galen-wolfe-pauly-on-urbit.md−15 content/media/urbit-and-the-not-so-dark-future-of-the-internet.md−11 content/media/what-is-urbit.md−10 pages/media.js−114 pages/media/[slug].js−117
content/media/blockchannel-episode-19-virtual-land-in-the-clouds-with-urbit.mddeleted−14
@@ -1,14 +0,0 @@
1−+++
2−title = "Episode 19: Virtual Land in the Clouds, with Urbit"
3−date = "2017-04-15"
4−description = "Galen and Curtis talk Urbit on the BlockChannel podcast."
5−
6−[extra]
7−author = "Galen Wolfe-Pauly + Curtis Yarvin"
8−ship = "~ravmel-ropdyl + ~sorreg-namtyv"
9−soundcloud = "https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/318017856&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"
10−+++
11−
12−{{ soundcloud(url="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/318017856&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true") }}
13−
14−[Episode 19: Virtual Land in the Clouds, with Urbit](https://medium.com/blockchannel/episode-19-virtual-land-in-the-clouds-with-urbit-1428ba98243a)
content/media/blueprint-2017-galen-wolfe-pauly-on-the-distributed-web.mddeleted−15
@@ -1,15 +0,0 @@
1−+++
2−title = "Blueprint 2017 Talks: Galen Wolfe-Pauly on the Distributed Web"
3−date = "2017-11-19"
4−description = "Galen presents to IDEO on Urbit and decentralized systems."
5−aliases = [
6− "/posts/blueprint-2017-galen-wolfe-pauly-on-the-distributed-web/"
7−]
8−
9−[extra]
10−author = "Galen Wolfe-Pauly"
11−ship = "~ravmel-ropdyl"
12−youtube = "9cXTGW9J9a0"
13−+++
14−
15−[Blueprint 2017 Talks: Galen Wolfe-Pauly on the Distributed Web](https://www.youtube.com/watch?v=9cXTGW9J9a0)
content/media/epicenter-episode-205-urbit-a-digital-republic-reinventing-the-internet.mddeleted−15
@@ -1,15 +0,0 @@
1−+++
2−title = "Epicenter #205: Urbit – A Digital Republic Reinventing the Internet"
3−date = "2017-10-17"
4−description = "Galen discusses Urbit with Brian Fabian Crain and Meher Roy on the Epicenter podcast."
5−aliases = [
6− "/posts/epicenter-episode-205-urbit-a-digital-republic-reinventing-the-internet/"
7−]
8−
9−[extra]
10−author = "Galen Wolfe-Pauly"
11−ship = "~ravmel-ropdyl"
12−youtube = "DFeN-TKZor0"
13−+++
14−
15−[\#205 Galen Wolfe-Pauly: Urbit - A Digital Republic Reinventing the Internet](https://epicenter.tv/episode/205/)
content/media/governing-the-future-e09-urbit-a-user-owned-internet-on-top-of-the-internet.mddeleted−16
@@ -1,16 +0,0 @@
1−+++
2−title = "Governing the Future E09: Urbit – A User Owned Internet on top of the Internet"
3−date = "2017-08-09"
4−description = "Galen talks with Hampus Jakobsson about Urbit on the Governing the Future podcast."
5−aliases = [
6− "/posts/governing-the-future-e09-urbit-a-user-owned-internet-on-top-of-the-internet/"
7−]
8−
9−[extra]
10−author = "Galen Wolfe-Pauly"
11−ship = "~ravmel-ropdyl"
12−+++
13−
14−> What happens when users get to control a piece of the internet. What does this browser of servers mean when we can use own client and still communicate? Can we create a new Internet owned by the people, an internet designed like a city by an architect and not only engineers?
15−
16−[E09: Galen Wolfe-Pauly, Urbit - a user owned internet on top of the internet](http://podcast.hajak.se/104117/548011-e09-galen-wolfe-pauly-urbit-a-user-owned-internet-on-top-of-the-internet)
content/media/lambdaconf-2016-curtis-yarvin-urbit-a-clean-slate-functional-operating-stack.mddeleted−15
@@ -1,15 +0,0 @@
1−+++
2−title = "LambdaConf 2016: Curtis Yarvin - Urbit: A Clean Slate Functional Operating Stack"
3−date = "2016-09-27"
4−description = "Curtis presents a comprehensive technical overview of Urbit at LambdaConf 2016."
5−aliases = [
6− "/posts/lambdaconf-2016-curtis-yarvin-urbit-a-clean-slate-functional-operating-stack/"
7−]
8−
9−[extra]
10−author = "Curtis Yarvin"
11−ship = "~sorreg-namtyv"
12−youtube = "bTisf4oxIFo"
13−+++
14−
15−[Curtis Yarvin: Urbit- A Clean Slate Functional Operating Stack - λC 2016](https://www.youtube.com/watch?v=bTisf4oxIFo)
content/media/lambdaconf-2018-ted-blackman-ford-urbits-build-system.mddeleted−15
@@ -1,15 +0,0 @@
1−+++
2−title = "LambdaConf 2018: Ted Blackman - Ford: Urbit's Build System"
3−date = "2018-12-19"
4−description = "Ted presents a technical overview of Ford, Urbit's build system, at LambdaConf 2018."
5−aliases = [
6− "/posts/lambdaconf-2018-ted-blackman-ford-urbits-build-system/"
7−]
8−
9−[extra]
10−author = "Ted Blackman"
11−ship = "~rovnys-ricfer"
12−youtube = "5ZAFEylHdiU"
13−+++
14−
15−[Ted Blackman Ford - Urbit's Build System - λC 2018](https://www.youtube.com/watch?v=5ZAFEylHdiU)
content/media/on-the-brink-castle-island.mddeleted−14
@@ -1,14 +0,0 @@
1−+++
2−title = "On The Brink with Castle Island - Episode 17"
3−description = "Christian Langalis and Logan Allen discuss Urbit with Nic Carter: its mutual benefits with Bitcoin, and why a complete rewrite of Unix and the computing stack is necessary."
4−date = "2019-11-10"
5−
6−[extra]
7−author = "Christian Langalis + Logan Allen"
8−ship = "~pindet-timmut + ~tacryt-socryp"
9−libsyn = "https://html5-player.libsyn.com/embed/episode/id/11959088/height/90/theme/custom/thumbnail/yes/direction/forward/render-playlist/no/custom-color/000000/"
10−+++
11−
12−"Christian Langalis and Logan Allen from Tlon join the show to discuss Urbit, the ambitious and somewhat mysterious computing project that they work on. We discuss how Bitcoin and Urbit could be mutually beneficial, how Urbit might free us from the tyrannical tech oligopolies, and why a from-scratch rewrite of Unix and the computing stack is necessary."
13−
14−<iframe style="border: none" src="//html5-player.libsyn.com/embed/episode/id/11959088/height/90/theme/custom/thumbnail/yes/direction/forward/render-playlist/no/custom-color/000000/" height="90" width="100%" scrolling="no" allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>
content/media/the-ether-review-46-curtis-yarvin-and-galen-wolfe-pauly-on-urbit.mddeleted−15
@@ -1,15 +0,0 @@
1−+++
2−title = "The Ether Review #46: Curtis Yarvin & Galen Wolfe-Pauly on Urbit"
3−date = "2016-10-23"
4−description = "Curtis and Galen talk about Urbit on The Ether Review podcast."
5−aliases = [
6− "/posts/the-ether-review-46-curtis-yarvin-and-galen-wolfe-pauly-on-urbit/"
7−]
8−
9−[extra]
10−author = "Curtis Yarvin + Galen Wolfe-Pauly"
11−ship = "~sorreg-namtyv + ~ravmel-ropdyl"
12−soundcloud = "https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/289783332&color=%23000000&auto_play=false&hide_related=true&show_comments=false&show_user=true&show_reposts=false&show_teaser=false&visual=true"
13−+++
14−
15−[The Ether Review \#46 - Curtis Yarvin & Galen Wolfe-Pauly on Urbit](https://soundcloud.com/arthurfalls/the-ether-review-46-smoking-dmt-with-mencius-moldbug)
content/media/urbit-and-the-not-so-dark-future-of-the-internet.mddeleted−11
@@ -1,11 +0,0 @@
1−+++
2−title = "Urbit and the Not-So-Dark Future of the Internet"
3−date = "2017-04-11"
4−description = "Isaac Simpson's high-level introduction to Urbit."
5−aliases = [ "/posts/urbit-and-the-not-so-dark-future-of-the-internet/" ]
6−
7−[extra]
8−author = "Isaac Simpson"
9−+++
10−
11−[Urbit and the Not-So-Dark Future of the Internet](https://medium.com/vandal-press/urbit-and-the-not-so-dark-future-of-the-internet-400c9b667e2)
content/media/what-is-urbit.mddeleted−10
@@ -1,10 +0,0 @@
1−+++
2−title = "What is Urbit?"
3−date = "2017-05-14"
4−description = "A quick video explainer of how Urbit works."
5−
6−[extra]
7−youtube = "M04AKTCDavc"
8−+++
9−
10−[What is Urbit?](https://www.youtube.com/watch?v=M04AKTCDavc)
pages/media.jsdeleted−114
@@ -1,114 +0,0 @@
1−import Head from "next/head";
2−import Link from "next/link";
3−import Meta from "../components/Meta";
4−import {
5− Container,
6− SingleColumn,
7− Section,
8− IntraNav,
9−} from "foundation-design-system";
10−import Footer from "../components/Footer";
11−import Header from "../components/Header";
12−import { getAllPosts } from "../lib/lib";
13−
14−export function MediaPreview({ event, dir, className }) {
15− // Event tiles have a 'dark mode' used when their background images are dark and white text is needed for legibility.
16− const grayText = event.extra?.dark ? "text-midWhite" : "text-wall-500";
17− const blackText = event.extra?.dark ? "text-white" : "text-wall-600";
18−
19− return (
20− <div
21− key={event.slug}
22− className={`mb-24 cursor-pointer bg-wall-100 rounded-xl h-96 bg-cover bg-center bg-no-repeat ${className}`}
23− style={{
24− backgroundImage:
25− `${
26− event.extra?.overlay
27− ? "linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),"
28− : ""
29− }url(${event.extra?.image})` || "",
30− }}
31− >
32− <Link href={`${dir ? dir : "/events/"}${event.slug}`}>
33− <div className="flex flex-col p-8 justify-between items-between h-full relative">
34− <div className="grow-1 flex flex-col justify-center h-full">
35− <h3 className={`mb-4 ${blackText}`}>{event.title}</h3>
36− <h4 className={grayText}>{event?.type}</h4>
37− </div>
38− <div className="absolute left-8 bottom-8 w-full">
39− <p className={grayText}>{event.extra.host}</p>
40− <p className={grayText}>{event.extra.guests}</p>
41− </div>
42− {event.extra.youtube ? (
43− <a
44− onClick={(e) => e.stopPropagation()}
45− className="absolute w-16 h-16 right-8 bottom-8 bg-white flex items-center justify-center rounded-full"
46− target="_blank"
47− href={`https://www.youtube.com/watch?v=${event.extra.youtube}`}
48− >
49− <svg
50− width="48"
51− height="48"
52− viewBox="0 0 16 16"
53− fill="none"
54− xmlns="http://www.w3.org/2000/svg"
55− >
56− <path
57− d="M11.25 7.56699C11.5833 7.75944 11.5833 8.24056 11.25 8.43301L6.75 11.0311C6.41667 11.2235 6 10.983 6 10.5981L6 5.40192C6 5.01702 6.41667 4.77646 6.75 4.96891L11.25 7.56699Z"
58− fill="black"
59− />
60− </svg>
61− </a>
62− ) : null}
63− </div>
64− </Link>
65− </div>
66− );
67−}
68−
69−export default function Media({ posts, search }) {
70− const post = {
71− title: "Media",
72− description:
73− "A selection of external appearances by the Tlon Corporation and the Urbit Foundation.",
74− };
75− return (
76− <Container>
77− <Head>
78− <title>Media • urbit.org</title>
79− {Meta(post)}
80− </Head>
81− <IntraNav ourSite="https://urbit.org" search={search} />
82− <SingleColumn>
83− <Header />
84− <Section narrow>
85− <div className="measure">
86− <h1 className="pb-16">Media</h1>
87− <p className="pb-6">
88− Selected external media appearances from Tlon and the Urbit
89− Foundation.
90− </p>
91− </div>
92− </Section>
93− <Section narrow>
94− {posts.map((post) => {
95− return <MediaPreview event={post} dir="/media/" />;
96− })}
97− </Section>
98− </SingleColumn>
99− <Footer />
100− </Container>
101− );
102−}
103−
104−export async function getStaticProps() {
105− const posts = getAllPosts(
106− ["title", "slug", "date", "description", "extra"],
107− "media",
108− "date"
109− );
110−
111− return {
112− props: { posts },
113− };
114−}
pages/media/[slug].jsdeleted−117
@@ -1,117 +0,0 @@
1−import { useRouter } from "next/router";
2−import {
3− getPostBySlug,
4− getAllPosts,
5− formatDate,
6− generateDisplayDate,
7−} from "../../lib/lib";
8−import Head from "next/head";
9−import Link from "next/link";
10−import Meta from "../../components/Meta";
11−import ErrorPage from "../404";
12−import {
13− Container,
14− Markdown,
15− SingleColumn,
16− Section,
17− IntraNav,
18−} from "foundation-design-system";
19−import Header from "../../components/Header";
20−import Footer from "../../components/Footer";
21−import Contact from "../../components/Contact";
22−
23−export default function MediaPage({ post, markdown, search }) {
24− const router = useRouter();
25− if (!router.isFallback && !post?.slug) {
26− return <ErrorPage />;
27− }
28− const date = generateDisplayDate(post.date);
29− return (
30− <Container>
31− <Head>
32− <title>{post.title} • Media • urbit.org</title>
33− {Meta(post)}
34− </Head>
35− <IntraNav ourSite="https://urbit.org" search={search} />
36− <SingleColumn>
37− <Header />
38− <Section narrow short>
39− <h1>{post.title}</h1>
40− {post.extra.author ? (
41− <div className="type-ui text-wall-500 mt-4 md:mt-8 lg:mt-10">
42− {post.extra.author}
43− </div>
44− ) : null}
45− {post.extra.ship ? (
46− <Link href={`/ids/${post.extra.ship}`} passHref>
47− <a className="type-sub-bold text-wall-500 font-mono">
48− {post.extra.ship}
49− </a>
50− </Link>
51− ) : null}
52− <div className="type-ui text-wall-500 mt-16">{formatDate(date)}</div>
53− </Section>
54− <Section narrow>
55− {post.extra.youtube ? (
56− <iframe
57− className="rounded-xl"
58− width="100%"
59− height="640px"
60− src={`https://www.youtube.com/embed/${post.extra.youtube}`}
61− frameborder="0"
62− allow="encrypted-media"
63− allowfullscreen
64− ></iframe>
65− ) : null}
66− {post.extra.soundcloud ? (
67− <iframe
68− width="100%"
69− height="300"
70− scrolling="no"
71− frameborder="no"
72− allow="autoplay"
73− src={post.extra.soundcloud}
74− ></iframe>
75− ) : null}
76− </Section>
77− <Section narrow className="markdown">
78− <Markdown.render content={JSON.parse(markdown)} />
79− </Section>
80− <Section narrow>
81− <Contact />
82− </Section>
83− </SingleColumn>
84− <Footer />
85− </Container>
86− );
87−}
88−
89−//
90−export async function getStaticProps({ params }) {
91− const post = getPostBySlug(
92− params.slug,
93− ["title", "slug", "date", "description", "content", "extra"],
94− "media"
95− );
96−
97− const markdown = JSON.stringify(Markdown.parse({ post }));
98−
99− return {
100− props: { post, markdown },
101− };
102−}
103−
104−export async function getStaticPaths() {
105− const posts = getAllPosts(["slug", "date"], "media", "date");
106−
107− return {
108− paths: posts.map((post) => {
109− return {
110− params: {
111− slug: post.slug,
112− },
113− };
114− }),
115− fallback: false,
116− };
117−}