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" /> <Title className="!mt-0" text="Create a fold" />
<Col className="text-gray-500 gap-1"> <Col className="text-gray-500 gap-1">
<div>A fold is a Manifold community with selected markets.</div> <div>
<div>Markets are included if they match one or more tags.</div> Markets are included in a fold if they match one or more tags.
</div>
</Col> </Col>
<Spacer h={4} /> <Spacer h={4} />

View File

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

View File

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