@@ -17,6 +17,7 @@ import BackgroundImage from "../../components/BackgroundImage";
1717import SingleColumn from "../../components/SingleColumn";
1818import NewsletterSignup from "../../components/NewletterSignup";
1919import PostPreview from "../../components/PostPreview";
20+import Section from "../../components/Section";
2021import { name, contact } from "../../lib/constants";
2122import markdownStyles from "../../styles/markdown.module.css";
2223import { decode } from "html-entities";
@@ -36,7 +37,7 @@ export default function Event({
3637 <Container>
3738 <SingleColumn>
3839 <Header search={search} />
39− <section className="flex flex-col layout-narrow-heading pt-24">
40+ <Section narrow short>
4041 <h1>{post.title}</h1>
4142 {post.extra.author ? (
4243 <div className="type-ui text-gray mt-4 md:mt-8 lg:mt-10">
@@ -49,8 +50,8 @@ export default function Event({
4950 <div className="type-ui text-gray mt-16">
5051 {formatDate(new Date(post.date))}
5152 </div>
52− </section>
53− <section className="flex layout-narrow pt-24">
53+ </Section>
54+ <Section narrow>
5455 {post.extra.youtube ? (
5556 <iframe
5657 className="rounded-xl"
@@ -62,14 +63,14 @@ export default function Event({
6263 allowfullscreen
6364 ></iframe>
6465 ) : null}
65− </section>
66− <div className={"layout-narrow " + markdownStyles["markdown"]}>
66+ </Section>
67+ <Section narrow className={markdownStyles["markdown"]}>
6768 <article
6869 className="flex flex-col items-center pt-12 w-full"
6970 dangerouslySetInnerHTML={{ __html: decode(markdown) }}
7071 ></article>
71− </div>
72− <section className="layout-narrow pt-24">
72+ </Section>
73+ <Section narrow>
7374 <div className="measure">
7475 <h4 className="pb-6">
7576 If you’d like to follow our progress, we send monthly updates via
@@ -101,8 +102,8 @@ export default function Event({
101102 {contact.urbitCommunity}
102103 </code>
103104 </h4>
104− </section>
105− <section className="layout-wide pt-24 flex">
105+ </Section>
106+ <Section wide>
106107 {previousPost === null ? (
107108 <div className={"w-1/2 mr-4"} />
108109 ) : (
@@ -121,7 +122,7 @@ export default function Event({
121122 className="ml-4 w-1/2"
122123 />
123124 )}
124− </section>
125+ </Section>
125126 </SingleColumn>
126127 <Footer />
127128 </Container>