Launch folds in nav bar, update copy.

This commit is contained in:
jahooma 2022-01-27 01:10:28 -06:00
parent d83fe1a202
commit 61d2557c35
3 changed files with 19 additions and 30 deletions

View File

@ -64,8 +64,9 @@ export function CreateFoldButton() {
<Title className="!mt-0" text="Create a fold" />
<Col className="text-gray-500 gap-1">
<div>A fold is a Manifold community with selected markets.</div>
<div>Markets are included if they match one or more tags.</div>
<div>
Markets are included in a fold if they match one or more tags.
</div>
</Col>
<Spacer h={4} />

View File

@ -57,17 +57,6 @@ function NavOptions(props: { user: User | null; themeClasses: string }) {
</Link>
)}
{/* <Link href="/folds">
<a
className={clsx(
'text-base hidden md:block whitespace-nowrap',
themeClasses
)}
>
Folds
</a>
</Link> */}
<Link href="/markets">
<a
className={clsx(
@ -75,7 +64,18 @@ function NavOptions(props: { user: User | null; themeClasses: string }) {
themeClasses
)}
>
All markets
Markets
</a>
</Link>
<Link href="/folds">
<a
className={clsx(
'text-base hidden md:block whitespace-nowrap',
themeClasses
)}
>
Folds
</a>
</Link>
@ -89,20 +89,7 @@ function NavOptions(props: { user: User | null; themeClasses: string }) {
</button>
</>
) : (
<>
<Link href="/leaderboards">
<a
className={clsx(
'text-base hidden md:block whitespace-nowrap',
themeClasses
)}
>
Leaderboards
</a>
</Link>
<ProfileMenu user={user} />
</>
<ProfileMenu user={user} />
)}
</>
)

View File

@ -65,12 +65,13 @@ export default function Folds(props: {
<Col className="items-center">
<Col className="max-w-lg w-full px-2 sm:px-0">
<Row className="justify-between items-center">
<Title text="Folds" />
<Title text="Explore folds" />
{user && <CreateFoldButton />}
</Row>
<div className="text-gray-500 mb-6">
Browse Manifold communities, called folds.
Folds are communities on Manifold centered around a collection of
markets.
</div>
<Col className="gap-2">