@@ -12,14 +12,14 @@ import Markdown from "../../components/Markdown";
12import Header from "../../components/Header";
12import Header from "../../components/Header";
13import Footer from "../../components/Footer";
13import Footer from "../../components/Footer";
14import SingleColumn from "../../components/SingleColumn";
14import SingleColumn from "../../components/SingleColumn";
15−import NewsletterSignup from "../../components/NewletterSignup";
15+import Contact from "../../components/Contact";
16import PostPreview from "../../components/PostPreview";
16import PostPreview from "../../components/PostPreview";
17import Section from "../../components/Section";
17import Section from "../../components/Section";
18import { contact } from "../../lib/constants";
18import { contact } from "../../lib/constants";
19import markdownStyles from "../../styles/markdown.module.css";
19import markdownStyles from "../../styles/markdown.module.css";
20import { decode } from "html-entities";
20import { decode } from "html-entities";
22−export default function Medium({ post, markdown, search }) {
22+export default function MediaPage({ post, markdown, search }) {
23 const router = useRouter();
23 const router = useRouter();
24 if (!router.isFallback && !post?.slug) {
24 if (!router.isFallback && !post?.slug) {
25 return <ErrorPage />;
25 return <ErrorPage />;
@@ -72,37 +72,7 @@ export default function Medium({ post, markdown, search }) {
72 ></article>
72 ></article>
73 </Section>
73 </Section>
74 <Section narrow>
74 <Section narrow>
75− <div className="measure">
75+ <Contact />
76− <h4 className="pb-6">
77− If you’d like to follow our progress, we send monthly updates via
81− <NewsletterSignup color="black" />
82− <h4 className="mt-12 text-gray">
84− <a className="text-black" href={contact.twitter}>
88− <h4 className="mt-6 text-gray">
90− <a className="text-black" href={contact.github}>
94− <h4 className="mt-6 text-gray">
95− Ask questions in our{" "}
96− <a className="text-black" href={contact.discord}>
100− <h4 className="mt-6 text-gray">
101− Boot Urbit and join{" "}
102− <code className="bg-wall p-2 rounded-lg">
103− {contact.urbitCommunity}
106 </Section>
76 </Section>
107 </SingleColumn>
77 </SingleColumn>
108 <Footer />
78 <Footer />
@@ -121,7 +91,7 @@ export async function getStaticProps({ params }) {
121 const markdown = await Markdown({ post });
91 const markdown = await Markdown({ post });
124− props: { post, markdown, nextPost, previousPost },
94+ props: { post, markdown },