diff --git a/functions/src/create-fold.ts b/functions/src/create-fold.ts
index a653fa93..368a6b03 100644
--- a/functions/src/create-fold.ts
+++ b/functions/src/create-fold.ts
@@ -23,11 +23,16 @@ export const createFold = functions.runWith({ minInstances: 1 }).https.onCall(
const creator = await getUser(userId)
if (!creator) return { status: 'error', message: 'User not found' }
- const { name, about, tags } = data
+ let { name, about, tags } = data
if (!name || typeof name !== 'string')
return { status: 'error', message: 'Name must be a non-empty string' }
+ if (!about || typeof about !== 'string')
+ return { status: 'error', message: 'About must be a non-empty string' }
+
+ about = about.slice(0, 140)
+
if (!_.isArray(tags))
return { status: 'error', message: 'Tags must be an array of strings' }
diff --git a/web/components/create-fold-button.tsx b/web/components/create-fold-button.tsx
index 52e773d6..ac9913c5 100644
--- a/web/components/create-fold-button.tsx
+++ b/web/components/create-fold-button.tsx
@@ -64,7 +64,7 @@ export function CreateFoldButton() {
- A fold is a sub-community of markets organized on a topic.
+ A fold is a Manifold community with selected markets.
Markets are included if they match one or more tags.
diff --git a/web/components/site-link.tsx b/web/components/site-link.tsx
index a3a5a01b..95b2758c 100644
--- a/web/components/site-link.tsx
+++ b/web/components/site-link.tsx
@@ -12,7 +12,7 @@ export const SiteLink = (props: {
e.stopPropagation()}
@@ -23,7 +23,7 @@ export const SiteLink = (props: {
e.stopPropagation()}
diff --git a/web/pages/folds.tsx b/web/pages/folds.tsx
index 3a1316ac..f0706b38 100644
--- a/web/pages/folds.tsx
+++ b/web/pages/folds.tsx
@@ -1,4 +1,5 @@
import _ from 'lodash'
+import Link from 'next/link'
import { useEffect, useState } from 'react'
import { Fold } from '../../common/fold'
import { CreateFoldButton } from '../components/create-fold-button'
@@ -60,35 +61,44 @@ export default function Folds(props: {
return (
-
+
-
+
{user && }
- Browse folds on topics that interest you.
+ Browse Manifold communities, called folds.
-
+
{folds.map((fold) => (
-
-
+
+
+
+
+
{fold.name}
-
- 12 followers
- •
+
+
+
+ 12 followers
+ •
- Curated by
+ Curated by
{fold.about}
-
))}