design: swap order of onboarding steps so category selection happens before idea brain-dump
This commit is contained in:
@@ -18,7 +18,7 @@ import {
|
||||
// Entrepreneur path — 4 steps. Each step is a focused question.
|
||||
|
||||
const ENTREP_TOTAL = 4;
|
||||
const ENTREP_STEP_NAMES = ["Idea", "Type", "Goal", "Look"];
|
||||
const ENTREP_STEP_NAMES = ["Type", "Idea", "Goal", "Look"];
|
||||
|
||||
const IDEA_PROMPTS = [
|
||||
"A community for indie game devs to swap playtesters, with weekly demo nights",
|
||||
@@ -363,14 +363,6 @@ export function EntrepreneurPath({
|
||||
canNext,
|
||||
onSkip = null;
|
||||
if (step === 0) {
|
||||
body = (
|
||||
<EntrepIdea
|
||||
value={data.idea || ""}
|
||||
onChange={(v) => onUpdate({ idea: v })}
|
||||
/>
|
||||
);
|
||||
canNext = (data.idea || "").trim().length >= 8;
|
||||
} else if (step === 1) {
|
||||
body = (
|
||||
<EntrepType
|
||||
value={data.productType || ""}
|
||||
@@ -378,6 +370,14 @@ export function EntrepreneurPath({
|
||||
/>
|
||||
);
|
||||
canNext = !!data.productType;
|
||||
} else if (step === 1) {
|
||||
body = (
|
||||
<EntrepIdea
|
||||
value={data.idea || ""}
|
||||
onChange={(v) => onUpdate({ idea: v })}
|
||||
/>
|
||||
);
|
||||
canNext = (data.idea || "").trim().length >= 8;
|
||||
} else if (step === 2) {
|
||||
body = (
|
||||
<EntrepGoal value={data.goal} onChange={(v) => onUpdate({ goal: v })} />
|
||||
|
||||
Reference in New Issue
Block a user