Rename Fold => Community in UI

This commit is contained in:
James Grugett 2022-02-01 12:12:55 -06:00
parent 565ded1063
commit 96c1410f01
4 changed files with 9 additions and 9 deletions

View File

@ -49,7 +49,7 @@ export function CreateFoldButton() {
<ConfirmationButton <ConfirmationButton
id="create-fold" id="create-fold"
openModelBtn={{ openModelBtn={{
label: 'Create a fold', label: 'New community',
className: clsx( className: clsx(
isSubmitting ? 'loading btn-disabled' : 'btn-primary', isSubmitting ? 'loading btn-disabled' : 'btn-primary',
'btn-sm' 'btn-sm'
@ -61,11 +61,11 @@ export function CreateFoldButton() {
}} }}
onSubmit={onSubmit} onSubmit={onSubmit}
> >
<Title className="!mt-0" text="Create a fold" /> <Title className="!mt-0" text="Create a community" />
<Col className="text-gray-500 gap-1"> <Col className="text-gray-500 gap-1">
<div> <div>
Markets are included in a fold if they match one or more tags. Markets are included in a community if they match one or more tags.
</div> </div>
</Col> </Col>
@ -74,11 +74,11 @@ export function CreateFoldButton() {
<div> <div>
<div className="form-control w-full"> <div className="form-control w-full">
<label className="label"> <label className="label">
<span className="mb-1">Fold name</span> <span className="mb-1">Community name</span>
</label> </label>
<input <input
placeholder="Your fold name" placeholder="Name"
className="input input-bordered resize-none" className="input input-bordered resize-none"
disabled={isSubmitting} disabled={isSubmitting}
value={name} value={name}

View File

@ -59,7 +59,7 @@ export function EditFoldButton(props: { fold: Fold; className?: string }) {
<div className="modal-box"> <div className="modal-box">
<div className="form-control w-full"> <div className="form-control w-full">
<label className="label"> <label className="label">
<span className="mb-1">Fold name</span> <span className="mb-1">Community name</span>
</label> </label>
<input <input

View File

@ -134,7 +134,7 @@ function NavOptions(props: {
themeClasses themeClasses
)} )}
> >
Folds Communities
</a> </a>
</Link> </Link>

View File

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