/** * StartStep — Screen 1 "Simple Start" (spec §4 / §5). * Captures name, property address, mobile, email, contact method + consent. * Consent is required before proceeding (spec §15 Privacy / §3 compliance). */ import React from 'react'; import { User, MapPin, Phone, Mail, Wand2 } from 'lucide-react'; import { useEstimateWizard } from '../../EstimateWizardContext'; const Field = ({ icon: Icon, label, children }) => ( ); const inputCls = 'w-full rounded-xl border border-zinc-200 dark:border-white/10 bg-white dark:bg-zinc-900 px-3.5 py-2.5 ' + 'text-zinc-900 dark:text-white placeholder-zinc-400 focus:outline-none focus:ring-2 focus:ring-amber-500'; const StartStep = () => { const { inputs, setInput, prefillDemo } = useEstimateWizard(); return (
setInput('name', e.target.value)} autoComplete="name" /> setInput('address', e.target.value)} autoComplete="street-address" />
setInput('phone', e.target.value)} autoComplete="tel" inputMode="tel" /> setInput('email', e.target.value)} autoComplete="email" inputMode="email" />
Best contact method?
{['text', 'email', 'phone'].map((m) => ( ))}
); }; export default StartStep;