/* VA Classes, Contact page. Reuses shared Nav / Footer / TrialModal / FAQ / Icon. */ const CONTACT_METHODS = [ { ic: "mail", label: "Email us", value: "contact@vaclasses.live", sub: "We reply within a few hours", href: "mailto:contact@vaclasses.live" }, { ic: "phone", label: "Call or text", value: "+91 94524 47742", sub: "Mon–Sat · 8am–9pm EST (Toronto / Ottawa)", href: "tel:+919452447742" }, { ic: "message-circle", label: "WhatsApp", value: "Chat with us", sub: "Fastest for quick questions", href: "https://wa.me/919452447742" }, { ic: "calendar-check", label: "Book a call", value: "Pick a time", sub: "15-min chat with an advisor", href: "#book-call" }, ]; const CONTACT_FAQ = [ { q: "How quickly will I hear back?", a: "Email and form messages are answered within a few hours during our support hours (Mon to Sat, 8am to 9pm EST). WhatsApp is usually faster." }, { q: "Can I speak to someone before booking?", a: "Absolutely. Send us a message or WhatsApp us and we'll answer your questions and help you pick the right plan, no obligation." }, { q: "Do you offer classes in my timezone?", a: "Yes. Our tutors are based in India and teach families across Canada, so we can find a time that works for you, in every Canadian time zone, including evenings and weekends." }, { q: "How do I reschedule or cancel a class?", a: "You can reschedule from your portal up to a few hours before class, or message your tutor directly. Plans can be paused or cancelled anytime." }, ]; function ContactHero() { return (

Contact us

We're here to help.

Questions about classes, tutors, pricing or your account? Reach out any way you like, a real person will get back to you fast.

); } function ContactBody() { const [sent, setSent] = React.useState(false); const [sending, setSending] = React.useState(false); const [f, setF] = React.useState({ name: "", email: "", topic: "General question", message: "" }); const set = (k, v) => setF(p => ({ ...p, [k]: v })); const ready = f.name && f.email; const submit = () => { if (!ready) return; setSending(true); const payload = { parent: f.name, email: f.email, phone: "", province: "", child: "", grade: "", subjects: f.topic, schedule: "", goal: f.message, heard: "", source: "Contact Form", submittedAt: new Date().toLocaleString("en-CA"), page: location.href, }; const finish = () => { setSending(false); setSent(true); }; if (window.VA_LEAD_ENDPOINT && window.VA_LEAD_ENDPOINT.startsWith("http")) { fetch(window.VA_LEAD_ENDPOINT, { method: "POST", mode: "no-cors", headers: { "Content-Type": "text/plain;charset=utf-8" }, body: JSON.stringify(payload) }).then(finish).catch(finish); } else { console.warn("VA_LEAD_ENDPOINT not set:", payload); finish(); } }; useLucide(); return (
{CONTACT_METHODS.map(m => ( {m.label} {m.value} {m.sub} ))}
Follow along
{!sent ? (

Send us a message

Fill this in and we'll reply by email.

set("name", e.target.value)} />
set("email", e.target.value)} />
) : (

Message sent!

Thanks {f.name.split(" ")[0] || "there"}, we'll reply to {f.email} shortly.

)}
); } function ContactFAQ() { return (

Good to know

Frequently asked

); } function ContactApp() { const [trial, setTrial] = React.useState(false); useLucide(); return (
); } ReactDOM.createRoot(document.getElementById("root")).render();