// Hero Tweaks — drives the scroll-driven hero scene in index.html. // The vanilla engine exposes window.applyHeroTweaks(values); this React panel // owns the values + persistence and pushes them down on every change. const HERO_TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "scene": "couple", "pace": 300, "parallax": 0.5, "ambient": true, "cplA": "#2C6E7F", "cplB": "#BD4F2C", "sageRobe": "#E07B3C", "safa": "#D9742C", "bride": "#B11E3A" }/*EDITMODE-END*/; function HeroTweaks() { const [t, setTweak] = useTweaks(HERO_TWEAK_DEFAULTS); React.useEffect(() => { if (window.applyHeroTweaks) window.applyHeroTweaks(t); }, [t]); return ( ); } ReactDOM.createRoot(document.getElementById('tweaks-root')).render();