// ====== DIMORA — main app ====== const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "accent": "#9C7C4E", "displayFont": "Cormorant Garamond", "darkHero": false }/*EDITMODE-END*/; // ---------- Nav ---------- function Nav({ page, goto, lang, setLang, scrolled, openEnquire, t }) { return ( ); } // ---------- Enquiry Modal ---------- function EnquireModal({ open, close, t, lang }) { const [submitted, setSubmitted] = React.useState(false); const [form, setForm] = React.useState({ name: '', email: '', phone: '', interest: t.enq.interests[0], message: '', channel: t.enq.channels[0] }); React.useEffect(() => { if (!open) { setSubmitted(false); setForm(f => ({ ...f, interest: t.enq.interests[0], channel: t.enq.channels[0] })); } }, [open, t]); React.useEffect(() => { if (!open) return; const onKey = (e) => { if (e.key === 'Escape') close(); }; window.addEventListener('keydown', onKey); document.body.style.overflow = 'hidden'; return () => { window.removeEventListener('keydown', onKey); document.body.style.overflow = ''; }; }, [open, close]); if (!open) return null; const onSubmit = (e) => { e.preventDefault(); setSubmitted(true); }; const upd = (k) => (e) => setForm({ ...form, [k]: e.target.value }); return (
{ if (e.target.classList.contains('modal-backdrop')) close(); }}>
{submitted ? (

{t.enq.success}

{t.enq.success_body}

) : (
— {t.nav.contact} —

{t.enq.title1} {t.enq.title_em}

{t.enq.sub}

{lang === 'ar' ? 'الهاتف' : 'Direct'}+971 52 154 1499
{lang === 'ar' ? 'البريد' : 'Email'}Dimoradubai@gmail.com
{lang === 'ar' ? 'الصالة' : 'Showroom'}Art of Living Mall · Unit 1c/1

{lang === 'ar' ? 'نموذج الاستفسار' : 'Enquiry Form'}