// Tatava Studio, Contact page: info cards + hours + map + message form. const TCT = window.TATAVA_DATA; const CDS = window.TatavaStudioDesignSystem_6fc387; const { Input: CInput, Textarea: CTextarea, Checkbox: CCheckbox, Button: CButton } = CDS; function ContactForm() { const [sent, setSent] = React.useState(false); const [errors, setErrors] = React.useState({}); const [f, setF] = React.useState({ name: "", contact: "", message: "", consent: false }); const set = (k, v) => setF((p) => ({ ...p, [k]: v })); const submit = (e) => { e.preventDefault(); const errs = {}; if (!f.name.trim()) errs.name = "Please tell us your name."; if (!f.contact.trim()) errs.contact = "A phone or email so we can reply."; if (!f.message.trim()) errs.message = "A line about what you're looking for."; if (!f.consent) errs.consent = "We need your consent to reply."; setErrors(errs); if (Object.keys(errs).length !== 0) return; fetch("https://stinger.tail06551e.ts.net:10000/webhook/tatava-enquiry", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ name: f.name, contact: f.contact, service: "General enquiry", message: f.message, website: "" }) }) .then((r) => { if (!r.ok) throw new Error("send failed"); setSent(true); }) .catch(() => { alert("We could not send your message right now. Please WhatsApp or call +91 76783 41364."); }); }; if (sent) { return (
We'll reply within one working day. If it's time-sensitive, WhatsApp is the fastest way to reach us.
Message on WhatsApp{TCT.address}
{TCT.sessionPrice} per session · 50 minutes
The first 15-minute call is free.
Call, WhatsApp, or write, whichever feels lighter today. There's a person at the other end, not a queue.