+
+ {Array.from({ length: STEPS }, (_, i) => (
+
+ ))}
+
+
+ {step === 0 && (
+
+
Tell us about your business
+
+ patch({ business_name: e.target.value })} placeholder="Acme Plumbing" />
+
+ patch({ business_type: e.target.value })} placeholder="Plumber" />
+
+
+ )}
+
+ {step === 1 && (
+
+
What do you offer?
+
+
+ {draft.services.map((s) => (
+
+ {s}
+
+
+ ))}
+
+
setServiceText(e.target.value)}
+ onKeyDown={(e) => { if (e.key === 'Enter' || e.key === ',') { e.preventDefault(); addServices(serviceText); } }}
+ placeholder="Press Enter to add, e.g. Drain cleaning" />
+
+ )}
+
+ {step === 2 && (
+
+
Where do you work?
+
+ patch({ area: e.target.value })} placeholder="Austin and surrounding towns" />
+
+ )}
+
+ {step === 3 && (
+
+
How should your site sound?
+
+ {TONES.map((t) => (
+
+ ))}
+
+
+ )}
+
+ {step === 4 && (
+
+
Pick a look
+
Click one to preview it on your site. You can change it any time.
+
+ {PALETTES.map((p) => (
+
+ ))}
+
+
+ )}
+
+ {err &&
{err}
}
+
+
+
+
+ {step > 0 && }
+ {step < STEPS - 1
+ ?
+ : }
+
+
+