@@ -20,12 +20,18 @@ export default function Home({ posts, events }) {
20 <SingleColumn>
20 <SingleColumn>
21 <Header />
21 <Header />
23 <section className="layout-narrow">
26 <section className="layout-narrow">
24 <h1>A general-purpose,</h1>
27 <h1>A general-purpose,</h1>
25 <h1>peer-to-peer,</h1>
28 <h1>peer-to-peer,</h1>
26 <h1>personal computing system.</h1>
29 <h1>personal computing system.</h1>
27 </section>
30 </section>
29 <section className="layout-wide hidden md:flex">
35 <section className="layout-wide hidden md:flex">
30 <div className="bg-wall w-11/12 hero-card-height rounded-3xl flex">
36 <div className="bg-wall w-11/12 hero-card-height rounded-3xl flex">
31 <div className="pt-20 pl-12 w-7/12">
37 <div className="pt-20 pl-12 w-7/12">
@@ -47,24 +53,29 @@ export default function Home({ posts, events }) {
48 </section>
54 </section>
50 <section className="layout-narrow">
59 <section className="layout-narrow">
51− <div className="flex items-center measure pb-12">
60+ <div className="flex flex-col md:flex-row md:items-center measure pb-12">
52− <h2 className="m-0 p-0 mr-4">Urbit Grants</h2>
61+ <h2 className="m-0 p-0 mr-4 md:mb-0 mb-4">Urbit Grants</h2>
53− <button className="bg-green text-white badge-lg">32 Open</button>
63+ <button className="bg-green text-white badge-lg">32 Open</button>
55− <div className="flex w-full items-center bg-washedGreen px-8 py-8 rounded-xl">
66+ <div className="flex flex-col md:flex-row w-full items-center bg-washedGreen px-8 py-8 rounded-xl">
56 <div className="flex items-center flex-col p-4 w-full">
67 <div className="flex items-center flex-col p-4 w-full">
57 <h2 className="text-green">200+</h2>
68 <h2 className="text-green">200+</h2>
58 <h3 className="text-green text-center pt-2">
69 <h3 className="text-green text-center pt-2">
59 Urbit stars awarded
70 Urbit stars awarded
62− <div className="h-24 w-4 bg-lightGreen" />
73+ <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
63 <div className="flex items-center flex-col p-4 w-full">
74 <div className="flex items-center flex-col p-4 w-full">
64 <h2 className="text-green">1M+</h2>
75 <h2 className="text-green">1M+</h2>
65 <h3 className="text-green text-center pt-2">USD Rewarded</h3>
76 <h3 className="text-green text-center pt-2">USD Rewarded</h3>
67− <div className="h-24 w-4 bg-lightGreen" />
78+ <div className="h-0 w-0 md:h-24 md:w-4 bg-lightGreen" />
68 <div className="flex items-center flex-col p-4 w-full">
79 <div className="flex items-center flex-col p-4 w-full">
69 <h2 className="text-green">90+</h2>
80 <h2 className="text-green">90+</h2>
70 <h3 className="text-green text-center pt-2">Grants completed</h3>
81 <h3 className="text-green text-center pt-2">Grants completed</h3>
@@ -81,6 +92,9 @@ export default function Home({ posts, events }) {
82 </section>
93 </section>
96+ // Build on Urbit Developer CTA
84 <section className="layout-narrow">
98 <section className="layout-narrow">
85 <div className="measure">
99 <div className="measure">
86 <h2 className="pb-12">Build on Urbit</h2>
100 <h2 className="pb-12">Build on Urbit</h2>
@@ -119,6 +133,9 @@ export default function Home({ posts, events }) {
120 </section>
134 </section>
137+ // Blog and Events Combo Section
122 <section className="layout-narrow">
139 <section className="layout-narrow">
123 <div className="flex items-center measure pb-12">
140 <div className="flex items-center measure pb-12">
@@ -140,16 +157,27 @@ export default function Home({ posts, events }) {
142 <TabCarousel index={tab}>
159 <TabCarousel index={tab}>
143− <div className="blog-grid">
160+ <div className="flex flex-wrap">
144− {posts.slice(0, 4).map((post, i) => {
162+ post={posts[0]}
145− return (
163+ className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
168+ className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
146− <PostPreview
171+ <PostPreview
147− post={post}
172+ post={posts[3]}
148− className={`blog-grid-${i}`}
173+ className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
149− key={post.slug}
174+ key={posts[3].slug}
152− })}
177+ post={posts[4]}
178+ className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
154 <Link href="/blog">
182 <Link href="/blog">
155 <button className="button-lg type-ui text-white bg-black">
183 <button className="button-lg type-ui text-white bg-black">
@@ -158,20 +186,41 @@ export default function Home({ posts, events }) {
161− <div className="blog-grid">
189+ <div className="flex flex-wrap">
162− {events.slice(0, 4).map((event, i) => {
190+ <PostPreview
163− return (
191+ post={events[0]}
192+ className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
193+ key={events[0].slug}
197+ className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
198+ key={events[1].slug}
202+ className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
203+ key={events[3].slug}
164− <PostPreview
205+ <PostPreview
165− post={event}
206+ post={events[4]}
166− className={`blog-grid-${i}`}
207+ className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
167− key={event.slug}
208+ key={events[4].slug}
170− })}
211+ <Link href="/events">
212+ <button className="button-lg type-ui text-white bg-black">
172 </TabCarousel>
218 </TabCarousel>
173 </section>
219 </section>
222+ // Newsletter and social media
175 <section className="layout-narrow">
224 <section className="layout-narrow">
176 <div className="measure">
225 <div className="measure">
177 <h2 className="m-0 p-0 mr-4 pb-12">Stay In Touch</h2>
226 <h2 className="m-0 p-0 mr-4 pb-12">Stay In Touch</h2>
@@ -199,12 +248,12 @@ export default function Home({ posts, events }) {
202− <h4 className="mt-6">
251+ <div className="mt-4 flex flex-wrap items-baseline">
203− Boot Urbit and join{" "}
252+ <h4 className="mr-2">Boot Urbit and join</h4>
204 <code className="bg-wall p-2 rounded-lg">
253 <code className="bg-wall p-2 rounded-lg">
205 {contact.urbitCommunity}
254 {contact.urbitCommunity}
208 </section>
257 </section>
209 </SingleColumn>
258 </SingleColumn>