// Contact.jsx — multi-purpose contact page with form + offices + specialists const { useState: useStateC } = React; const Reveal_C = window.Reveal; const PageHero_C = window.SantirmaPageHero; function ContactPage({ navigate, contextHint }) { // contextHint: 'tour-p01', 'owner', 'general' — pre-selects the reason field const initialReason = contextHint === 'owner' ? 'owner' : (contextHint && contextHint.startsWith('tour-')) ? 'tour' : 'general'; const [reason, setReason] = useStateC(initialReason); const [submitted, setSubmitted] = useStateC(false); const [form, setForm] = useStateC({ name: '', email: '', phone: '', message: '' }); const reasons = [ { id: 'tour', label: 'Schedule a Tour' }, { id: 'apply', label: 'Help with My Application' }, { id: 'general', label: 'General Question' }, { id: 'owner', label: "I’m a Property Owner" }, { id: 'press', label: 'Press / Media' }, ]; const onSubmit = (e) => { e.preventDefault(); setSubmitted(true); window.scrollTo({ top: 0, behavior: 'smooth' }); }; return (
We pick up
on the first ring.} subtitle="One form, one team, one promise: a real human reply within one business day. For urgent maintenance, call us anytime at 206.555.0148." />
{/* Form */} {submitted ? (
Received. Thank you.

We’ll be in touch within one business day.

Your message is in front of the right specialist. If anything is urgent, we’re reachable at 206.555.0148.

) : (
Send us a note

Tell us what you’re looking for.

{reasons.map(r => ( ))}
setForm({ ...form, name: e.target.value })} />
setForm({ ...form, email: e.target.value })} />
setForm({ ...form, phone: e.target.value })} />