// sections.jsx — Raffles ECC homepage sections. Loaded via Babel.
/* global React */
const { useState, useEffect, useRef } = React;
// ───────── Icons ─────────
const Icon = ({ name, size = 18 }) => {
const s = { width: size, height: size, strokeWidth: 1.8, fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" };
switch (name) {
case "calendar": return ();
case "phone": return ();
case "wa": return ();
case "shield": return ();
case "spark": return ();
case "heart": return ();
case "run": return ();
case "speech": return ();
case "users": return ();
case "clock": return ();
case "pin": return ();
case "book": return ();
case "leaf": return ();
case "arrow": return ();
case "plus": return ();
case "check": return ();
case "lock": return ();
case "mail": return ();
case "globe": return ();
case "bell": return ();
default: return null;
}
};
// ───────── Logo (clean SVG redraw of shield, no copyrighted text faces) ─────────
const Logo = ({ size = 38 }) => (
);
// ───────── Nav ─────────
function Nav({ branch, onBranchChange, onTourClick }) {
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const f = () => setScrolled(window.scrollY > 20);
window.addEventListener("scroll", f, { passive: true });
return () => window.removeEventListener("scroll", f);
}, []);
return (
);
}
// ───────── Hero ─────────
function Hero({ branch, onTourClick }) {
return (
EYFS
Premium early years · from 45 days
A warm, considered start to school{" "}
— for children from 45 days.
Raffles ECC is a group of premium Dubai nurseries following the UK Early Years Foundation Stage.
Play-based learning, qualified key persons and a clear pathway into the Innoventures family of schools.
Every Raffles ECC follows the UK Early Years Foundation Stage — a play-based framework
that meets each child where they are. Teachers observe, document and gently extend
learning across four developmental pillars.
The EYFS, in plain language for parents.
"Play-based" doesn't mean unstructured. Each day balances child-led exploration with
short, focused group routines: a phonics circle, a number song, a story. Educators
track ongoing observations against EYFS milestones, then plan the next step.
Daily report via the Kalo Parent App — photos, meals, naps, milestones.
Key-person model: one consistent educator who knows your child.
Termly parent–teacher conversations and a written summary.
{pillars.map(p => (
{p.title}{p.body}
))}
);
}
// ───────── Programmes (age band tabs) ─────────
function Programmes({ ageBands }) {
const [active, setActive] = useState(ageBands[0].id);
const band = ageBands.find(b => b.id === active);
return (
Programmes & ages
From first weeks to first words to first day of school.
Four age stages, each with a dedicated room, ratio and rhythm. Choose 3 or 5 days a week,
with day options from 8am–2pm through to 8am–6pm. Early drop-off from 7am on request.
One family of schools. Eighteen years of education planned for.
Children leaving Raffles ECC receive priority admission into the five Innoventures
schools across IB, British and American curricula — so the question "what's next?"
already has an answer.
{stages.map((s, i) => (
{i + 1}
{s.title}
{s.body}
{s.age}
))}
Continue at Innoventures
The five schools your child can move into:
{schools.map((s, i) => (
{s.name}
))}
Curriculum details and KHDA ratings live on each school's own site — they're sister
schools, not the ECC. We won't merge their inspection data here.
);
}
// ───────── Mission / Director quote ─────────
function Mission() {
return (
Lara HudsonDirector · Raffles ECCs
From the director
"Every child is valued and supported. We don't measure them against the next child —
we follow their next step. That's what EYFS, done well, looks like."
Every centre is set up as a series of invitations — soft corners for stories, low tables
for messy play, shaded outdoor zones for gross-motor work. Plus on-site clinic, Kalo
meals and door-to-door transport where available.
Choose a centre near home or work, then book a tour. Each branch has its own team,
uniform and rhythm — but every Raffles ECC delivers the same EYFS curriculum, ratios
and safeguarding standards.
Tours run during the operating day so you can see the rooms in motion. Allow about
45 minutes — and bring your child if you'd like to see how they settle.
Walk every room your child would use
Meet the centre manager and key persons
Leave with the current fee table and start date options