// 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 (

Message received, {f.name.split(" ")[0]}.

We'll reply within one working day. If it's time-sensitive, WhatsApp is the fastest way to reach us.

Message on WhatsApp
); } return (

Send a message

Prefer to write first? Tell us a little and we'll take it from there.

set("name", e.target.value)} /> set("contact", e.target.value)} /> set("message", e.target.value)} />
set("consent", v)} label="I consent to Tatava Studio holding these details to reply, under the privacy policy." />
{errors.consent ?

{errors.consent}

: null} Send message

Consultation By Appointment Only

); } function ContactInfo() { return (

Call or WhatsApp

{TCT.phoneDisplay}

Chat on WhatsApp →

Email

tatvalifestylestudio@gmail.com

Visit the studio

{TCT.address}

Hours

Open
Mon–Sat · 10 AM – 5 PM
In-person
10 AM – 1 PM
Tele-counselling
2 PM – 5 PM
Sundays
Closed

Session fee

{TCT.sessionPrice} per session · 50 minutes

The first 15-minute call is free.

); } function MapBlock() { return (
B-18, Swasthya Vihar, Vikas Marg New Delhi – 110092 · 28.6384° N, 77.2911° E, map embed goes here on the live site
); } function ContactApp() { return (
Reach us

Start With a Hello

Call, WhatsApp, or write, whichever feels lighter today. There's a person at the other end, not a queue.

); } ReactDOM.createRoot(document.getElementById("root")).render();