/* ea-app.jsx — root for the Luppy early-access page */
const EA_TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{
"heroVariant": "pwa",
"primaryColor": "#3b82f6",
"headline": "What if managing your cleaning team was as simple as sending a text?",
"subhead": "We're building the field-service tool your team can actually use — scheduling, dispatch and proof of work, without forcing your cleaners to install another app."
}/*EDITMODE-END*/;
function EAApp() {
const [t, setTweak] = useTweaks(EA_TWEAK_DEFAULTS);
React.useEffect(() => {
document.documentElement.style.setProperty('--color-primary', t.primaryColor);
}, [t.primaryColor]);
return (
setTweak('heroVariant', v)} />
]+>/g, '')}
placeholder="Headline copy"
onChange={(v) => setTweak('headline', v)} />
setTweak('subhead', v)} />
setTweak('primaryColor', v)} />
);
}
ReactDOM.createRoot(document.getElementById('root')).render();