function ContactPage({ openTour }) { const [submitted, setSubmitted] = React.useState(false); const [form, setForm] = React.useState({ name: '', email: '', phone: '', message: '', topic: 'tour' }); return (
Contact IDEA ELC
Contact

We'd love to hear from you.

{/* form */}

Send us a message

Tours and enrolment go through admissions. General enquiries through info@.

{!submitted ? (
{ e.preventDefault(); setSubmitted(true); }} style={{ marginTop: 24 }}>
setForm({ ...form, name: e.target.value })} placeholder="Full name" />
setForm({ ...form, email: e.target.value })} placeholder="you@example.com" />
setForm({ ...form, phone: e.target.value })} placeholder="+971 …" />