design: restore minimum character count to 8 on entrepreneur onboarding step 0
This commit is contained in:
@@ -99,12 +99,12 @@ export function EntrepIdea({ value, onChange }) {
|
|||||||
className="mono"
|
className="mono"
|
||||||
style={{
|
style={{
|
||||||
fontSize: 11,
|
fontSize: 11,
|
||||||
color: value.length >= 80 ? "var(--ok)" : "var(--fg-faint)",
|
color: "var(--fg-faint)",
|
||||||
letterSpacing: "0.06em",
|
letterSpacing: "0.06em",
|
||||||
marginTop: -16,
|
marginTop: -16,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{value.length} / 80 chars · be specific where it matters
|
{value.length} chars · be specific where it matters
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
@@ -348,7 +348,7 @@ export function EntrepreneurPath({
|
|||||||
onChange={(v) => onUpdate({ idea: v })}
|
onChange={(v) => onUpdate({ idea: v })}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
canNext = (data.idea || "").trim().length >= 80;
|
canNext = (data.idea || "").trim().length >= 8;
|
||||||
} else if (step === 1) {
|
} else if (step === 1) {
|
||||||
body = (
|
body = (
|
||||||
<EntrepAudience
|
<EntrepAudience
|
||||||
|
|||||||
Reference in New Issue
Block a user