Remove extra column used for alignment on homepage

This commit is contained in:
Marshall Polaris 2022-05-11 15:07:48 -07:00
parent 73bbfc6e74
commit 3f669de99c

View File

@ -40,27 +40,20 @@ const Home = () => {
return ( return (
<> <>
<Page assertUser="signed-in" suspend={!!contract}> <Page assertUser="signed-in" suspend={!!contract}>
<Col className="items-center"> <Col className="mx-auto w-full max-w-[700px]">
<Col className="w-full max-w-[700px]"> <FeedCreate user={user ?? undefined} />
<FeedCreate user={user ?? undefined} /> <Spacer h={2} />
<Spacer h={2} /> <CategorySelector user={user} />
<Spacer h={1} />
<CategorySelector user={user} /> {feed ? (
<ActivityFeed
<Spacer h={1} /> feed={feed}
mode="only-recent"
{feed ? ( getContractPath={(c) => `home?u=${c.creatorUsername}&s=${c.slug}`}
<ActivityFeed />
feed={feed} ) : (
mode="only-recent" <LoadingIndicator className="mt-4" />
getContractPath={(c) => )}
`home?u=${c.creatorUsername}&s=${c.slug}`
}
/>
) : (
<LoadingIndicator className="mt-4" />
)}
</Col>
</Col> </Col>
</Page> </Page>