/* eslint-disable */ /* ============================================================ Xcela Dreamland — playful redesign Single-file React app composed of section components. Reads tweakable defaults via useTweaks (from tweaks-panel.jsx). ============================================================ */ const { useState, useEffect, useRef } = React; /* ---------- Tweakable defaults (persisted by host) ---------- */ const TWEAK_DEFAULTS = /*EDITMODE-BEGIN*/{ "palette": "bubblegum", "anim": "playful", "stickers": true, "trail": false, "rotation": true, "headlinePhrase": "dreamers" }/*EDITMODE-END*/; /* Nav now lives in layout.jsx as */ /* ============================================================ Hero ============================================================ */ const Hero = ({ phrase, stickers }) => (
{stickers && ( <>
)}
Voted #1 Preschool in the Valley

Where little{" "} {phrase} become big thinkers .

A joyful, play-based world where curiosity gets messy, friendships get loud, and every "why?" turns into a brand new wonder.

1:8Teacher to
kid ratio
12+Years of
nurturing
★ 4.9From 200+
parents
); const HeroCollage = ({ stickers }) => ( <> {/* Top-left — large photo tile */}
Kids at Xcela
{/* Top-right */}
Kids at Xcela
{/* Bottom-left */}
Kids at Xcela
{/* Bottom-right */}
Kids at Xcela
{stickers && ( <>
)} ); /* ============================================================ Brain Development ============================================================ */ const Brain = () => { const stages = [ { num: "0–1", title: "Tiny Sparks", body: "Millions of synapses form every second. Sights, sounds, hugs: they're all building blocks.", color: "var(--pink)", pct: 25 }, { num: "1–3", title: "Words Bloom", body: "The brain literally doubles. First words, first wobbles, first 'I do it myself!'", color: "var(--tangerine)", pct: 50 }, { num: "3–5", title: "Big Feels", body: "Empathy, logic and imagination wire together. This is where the magic of preschool lives.", color: "var(--mint)", pct: 80 }, { num: "By 6", title: "Foundation Set", body: "90% of brain architecture is built. The roof, the walls — all on this foundation.", color: "var(--sky)", pct: 90 }, ]; return (
The Crucial Years
90%

of a child's brain develops before age 6

Every snack-time song, finger-paint blob and bedtime story is laying down circuitry for life.

{stages.map((s, i) => (
{s.num}

{s.title}

{s.body}

{s.pct}% wired
))}
); }; /* ============================================================ Programs (4 cards) ============================================================ */ const Programs = () => { // eslint-disable-next-line no-unused-vars const items = [ { icon: "🧸", title: "Playgroup", age: "1.5 – 2.5 yrs", body: "Gentle separation, sensory play, and big love for tiny humans finding their feet.", color: "var(--pink)" }, { icon: "🎨", title: "Nursery", age: "2.5 – 3.5 yrs", body: "Storytime adventures, language games, and the very first 'best friend' moments.", color: "var(--tangerine)" }, { icon: "📚", title: "Junior KG", age: "3.5 – 4.5 yrs", body: "Phonics, pre-math puzzles, and structured creativity that still feels like play.", color: "var(--mint)" }, { icon: "🚀", title: "Senior KG", age: "4.5 – 5.5 yrs", body: "School-ready confidence: independent reading, logical leaps, and project-based thinking.", color: "var(--sky)" }, ]; return (
Our Programs

Four little worlds to grow in

Age-appropriate journeys, tuned to wherever your kiddo is right now — not where some textbook says they should be.

{items.map((p, i) => (
{p.icon}

{p.title}

{p.age}

{p.body}

→
))}
View Full Curriculum →
); }; /* ============================================================ Learning is Play — marquee + sticker tiles ============================================================ */ const Play = () => { const stripWords = ["Messy Art", "Music & Movement", "Sensory Bins", "Story Hour", "Garden Days", "Yoga", "Dance Party", "Puppet Show"]; const tiles = [ { title: "Messy Art", shape: "blob", fill: "var(--yellow)" }, { title: "Music & Movement", shape: "spark", fill: "var(--tangerine)" }, { title: "Sensory Bins", shape: "flower", fill: "var(--pink)" }, { title: "Story Hour", shape: "cloud", fill: "var(--paper)" }, { title: "Outdoor Adventures", shape: "sun", fill: "var(--yellow)" }, ]; return (
A day at Xcela

Learning IS play.

We don't believe kids need to sit still to learn. They need to splash, sing, build, fall over and get back up.

{[...stripWords, ...stripWords].map((w, i) => ( {w} ★ ))}
{tiles.map((t, i) => (

{t.title}

))}
); }; /* ============================================================ Safety ============================================================ */ const Safety = () => { const tiles = [ { icon: "📹", title: "Live CCTV", body: "Peek into common areas anytime through our parent app.", color: "var(--pink)" }, { icon: "🛡️", title: "Verified Staff", body: "100% background-checked, trained and trauma-aware.", color: "var(--mint)" }, { icon: "🩺", title: "Medical Tie-ups", body: "On-call pediatrician and emergency hospital partnerships.", color: "var(--sky)" }, { icon: "🧸", title: "Child-Safe Build", body: "Rounded edges, non-toxic paints, padded play zones.", color: "var(--yellow)" }, ]; return (
Uncompromising security

A very safe nest for your little one.

Peace of mind is non-negotiable. Our campus is built around a "Safety First" philosophy — from secure entry to constant supervision — so kids can explore fearlessly and you can breathe easy.

Schedule a Visit →
{tiles.map((t, i) => (
{t.icon}

{t.title}

{t.body}

))}
{/* corner doodles */}
); }; /* ============================================================ Testimonials ============================================================ */ const Testimonials = () => { const items = [ { quote: "We were so anxious about sending our 2-year-old to school. The app updates and warm teachers put us totally at ease. He runs to school now.", name: "Priya & Sameer Desai", meta: "Parents of Aryan, Nursery", initials: "PS", color: "var(--pink)", }, { quote: "They weave Indian festivals and culture right alongside an inquiry-based curriculum. The balance is perfect, and the campus is spotless.", name: "Anjali Menon", meta: "Mother of Diya, Jr. KG", initials: "AM", color: "var(--mint)", }, { quote: "Our daughter's confidence and speech have transformed. Teachers are highly qualified and treat every child with so much patience.", name: "Rahul Sharma", meta: "Father of Ananya, Sr. KG", initials: "RS", color: "var(--yellow)", }, ]; return (
Loved by parents

Real words from real families

{items.map((t, i) => (
{"★★★★★".split("").map((s, j) => {s})}

"{t.quote}"

{t.initials}
{t.name}
{t.meta}
))}
); }; /* ============================================================ FAQ ============================================================ */ const FAQ = () => { const items = [ { q: "What's the teacher-to-student ratio?", a: "Strict 1:8 for Nursery & KG, and 1:4 for Playgroup so every child gets real attention and care." }, { q: "Are meals provided?", a: "Yes! Fresh, vegetarian, highly nutritious meals cooked in our in-house hygienic kitchen and supervised by a child nutritionist." }, { q: "What are the timings?", a: "Regular preschool hours are 9:00 AM – 12:30 PM. We also offer extended daycare up to 6:00 PM for working parents." }, { q: "Do you help with potty training?", a: "Absolutely. We work hand-in-hand with parents to support gentle, encouragement-first potty training for Playgroup and Nursery." }, { q: "What's a typical day like?", a: "Circle time → free play → focus activity (art / phonics / numbers) → snack → outdoor play → story → goodbye song. Plenty of space for surprises." }, ]; const [open, setOpen] = useState(0); return (
{items.map((it, i) => (
{it.a}
))}
); }; /* ============================================================ Big CTA ============================================================ */ const CTA = () => (
Limited seats — Spring '26

Ready to give your kiddo the
best first chapter?

Book a free campus tour. Bring your little one. Snacks on us.

Book a Free Tour → 📞 Call Us
); /* Footer lives in layout.jsx as */ /* ============================================================ Home page content ============================================================ */ const HomeContent = () => { const [tweaks, setTweakKey] = useState(TWEAK_DEFAULTS); useEffect(() => { const onMsg = (e) => { if (e?.data?.type === "__edit_mode_set_keys") { setTweakKey((prev) => ({ ...prev, ...(e.data.edits || {}) })); } }; window.addEventListener("message", onMsg); return () => window.removeEventListener("message", onMsg); }, []); return ( <> ); }; renderPage("index.html", HomeContent);