// 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 upon 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 .
navigate('/properties')} className="s-btn-primary">Browse Homes While You Wait
{ setSubmitted(false); setForm({ name: '', email: '', phone: '', message: '' }); }} className="s-btn-ghost">Send Another
) : (
)}
{/* Office + Specialists */}
Our hours
Seattle, by appointment.
In-person meetings at the property or a coffee nearby.
We come to you.
Mon — Fri · 9:00 am — 6:00 pm
Sat · 10:00 am — 4:00 pm
Sun · By appointment
{/* Specialists strip */}
Your specialists
{[
{ name: 'Amara Wells', area: 'Capitol Hill · Belltown · SLU', image: 'https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=200&q=80&auto=format&fit=crop' },
{ name: 'Soraya Khan', area: 'Ballard · Fremont · Queen Anne', image: 'https://images.unsplash.com/photo-1580489944761-15a19d654956?w=200&q=80&auto=format&fit=crop' },
{ name: 'Daniel Park', area: 'Owner partnerships', image: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&q=80&auto=format&fit=crop' },
].map(s => (
))}
);
}
window.SantirmaContactPage = ContactPage;