// Main App — Hero + Nav + photo swap + booking modal mount + tweaks const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "accent": "#FF6B47", "lang": "en", "heroPhoto": 0 } /*EDITMODE-END*/; const HERO_PHOTOS = [ { src: window.__resources && window.__resources.jishad1 || "img/jishad-1.webp", bgClass: "" }, // mint { src: window.__resources && window.__resources.jishad3 || "img/jishad-3.webp", bgClass: "butter" } // butter ]; function App() { const [t, setTweak] = useTweaks(TWEAK_DEFAULTS); const [bookingOpen, setBookingOpen] = React.useState(false); const [bookingTopic, setBookingTopic] = React.useState(''); const [mobileOpen, setMobileOpen] = React.useState(false); const lang = t.lang || 'en'; const copy = window.COPY[lang]; React.useEffect(() => { document.body.classList.toggle('ml', lang === 'ml'); document.documentElement.style.setProperty('--accent', t.accent); }, [lang, t.accent]); const openBooking = (topic) => {setBookingTopic(typeof topic === 'string' ? topic : '');setBookingOpen(true);setMobileOpen(false);}; return ( <>