@@ -12,14 +12,14 @@ import Markdown from "../../components/Markdown";
1212import Header from "../../components/Header";
1313import Footer from "../../components/Footer";
1414import SingleColumn from "../../components/SingleColumn";
15−import NewsletterSignup from "../../components/NewletterSignup";
15+import Contact from "../../components/Contact";
1616import PostPreview from "../../components/PostPreview";
1717import Section from "../../components/Section";
1818import { contact } from "../../lib/constants";
1919import markdownStyles from "../../styles/markdown.module.css";
2020import { decode } from "html-entities";
2121
22−export default function Medium({ post, markdown, search }) {
22+export default function MediaPage({ post, markdown, search }) {
2323 const router = useRouter();
2424 if (!router.isFallback && !post?.slug) {
2525 return <ErrorPage />;
@@ -72,37 +72,7 @@ export default function Medium({ post, markdown, search }) {
7272 ></article>
7373 </Section>
7474 <Section narrow>
75− <div className="measure">
76− <h4 className="pb-6">
77− If you’d like to follow our progress, we send monthly updates via
78− email:
79− </h4>
80− </div>
81− <NewsletterSignup color="black" />
82− <h4 className="mt-12 text-gray">
83− Follow us on{" "}
84− <a className="text-black" href={contact.twitter}>
85− Twitter
86− </a>
87− </h4>
88− <h4 className="mt-6 text-gray">
89− Explore code on{" "}
90− <a className="text-black" href={contact.github}>
91− Github
92− </a>
93− </h4>
94− <h4 className="mt-6 text-gray">
95− Ask questions in our{" "}
96− <a className="text-black" href={contact.discord}>
97− Discord
98− </a>
99− </h4>
100− <h4 className="mt-6 text-gray">
101− Boot Urbit and join{" "}
102− <code className="bg-wall p-2 rounded-lg">
103− {contact.urbitCommunity}
104− </code>
105− </h4>
75+ <Contact />
10676 </Section>
10777 </SingleColumn>
10878 <Footer />
@@ -121,7 +91,7 @@ export async function getStaticProps({ params }) {
12191 const markdown = await Markdown({ post });
12292
12393 return {
124− props: { post, markdown, nextPost, previousPost },
94+ props: { post, markdown },
12595 };
12696}
12797