@@ -1,5 +1,4 @@
1import Head from "next/head";
1import Head from "next/head";
2−import Meta from "../components/Meta";
3import Link from "next/link";
2import Link from "next/link";
4import React, { useState, useEffect } from "react";
3import React, { useState, useEffect } from "react";
5import Container from "../components/Container";
4import Container from "../components/Container";
@@ -52,7 +51,6 @@ export default function Home({ posts, events, openGrantsCount, search }) {
52 <Container>
51 <Container>
54 <title>urbit.org</title>
53 <title>urbit.org</title>
57 <SingleColumn>
55 <SingleColumn>
58 <Header search={search} />
56 <Header search={search} />
@@ -185,88 +183,59 @@ export default function Home({ posts, events, openGrantsCount, search }) {
185 </Section>
183 </Section>
188− // Blog and Events Combo Section
186+ // Blog Posts
190 <Section narrow>
188 <Section narrow>
191 <div className="flex items-center measure pb-12">
189 <div className="flex items-center measure pb-12">
193− onClick={() => setTab(0)}
194− className={`tab-button-lg mr-6 ${
195− tab === 0 ? "text-black" : "text-gray"
198− Blog
190+ <h2>Blog</h2>
199− </button>
191+ </div>
201− onClick={() => setTab(1)}
193+ <div className="flex flex-wrap">
202− className={`tab-button-lg ${
194+ <PostPreview
203− tab === 1 ? "text-black" : "text-gray"
195+ post={posts[0]}
204− }`}
196+ className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
205− >
197+ key={posts[0].slug}
201+ className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
206+ <button className="button-lg type-ui text-white bg-green">
207 </button>
208 </button>
216+ <div className="flex items-center measure pb-12">
210− <TabCarousel index={tab}>
211− <div className="flex flex-wrap">
220+ <div className="flex flex-wrap">
212− <PostPreview
221+ <EventPreview
213− post={posts[0]}
222+ rsvp
214− className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
219− className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
224− className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
229− className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
234− <button className="button-lg type-ui text-white bg-ultraDeepWall">
240− <div className="flex flex-wrap">
242− event={events[0]}
223+ event={events[0]}
243− className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
224+ className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
244− key={events[0].slug}
225+ key={events[0].slug}
246− <EventPreview
227+ <EventPreview
247− event={events[1]}
228+ rsvp
248− className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
249− key={events[1].slug}
252− event={events[2]}
229+ event={events[1]}
253− className={`w-full md:w-1/2 pr-0 pb-8 md:pr-4`}
254− key={events[2].slug}
258− className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
230+ className={`w-full md:w-1/2 pl-0 pb-8 md:pl-4`}
259− key={events[3].slug}
231+ key={events[1].slug}
262− <Link href="/events">
234+ <Link href="/docs">
263− <button className="button-lg type-ui text-white bg-ultraDeepWall">
235+ <button className="button-lg type-ui text-white bg-ultraDeepWall">
264− More Events
236+ More Events
265− </button>
237+ </button>
270 </Section>
239 </Section>