/* Sobha Realty microsite — sections (chrome + content blocks). */ const D = window.SR_DATA; /* ---------- Top bar / nav / locale ---------- */ function TopBar({ locale, setLocale, openRegister, t }) { const [active, setActive] = React.useState("overview"); React.useEffect(() => { const ids = ["overview","craftsmanship","residences","amenities","communities","contact"]; const onScroll = () => { const y = window.scrollY + 120; let cur = active; for (const id of ids){ const el = document.getElementById(id); if (el && el.offsetTop <= y) cur = id; } setActive(cur); }; window.addEventListener("scroll", onScroll, { passive:true }); onScroll(); return () => window.removeEventListener("scroll", onScroll); }, []); return (
S
Sobha Realty Campaign · Sobha One
{D.locales.map(l => ( ))}
); } /* ---------- Hero ---------- */ function Hero({ openRegister, openBrochure, openViewing, t }) { const f = D.featured; const [tick, setTick] = React.useState(0); React.useEffect(()=>{ const id = setInterval(()=>setTick(x=>(x+1)%D.marquee.length), 3200); return ()=>clearInterval(id); }, []); return (
{D.marquee[tick]}
{f.eyebrow}

{t.heroLead} {t.heroEm}

{f.sub}

{f.statusRow.map(r => (
{r.k}
{r.v}
))}
); } /* ---------- Credibility band ---------- */ function CredibilityBand() { return (
{D.credibility.map((c,i)=>(
{c.n}
{c.l}
{c.s}
))}
); } /* ---------- Narrative split (location / community story) ---------- */ function Narrative() { return (
A community within a community

Adjacent to Sobha Hartland, framed by the Ras Al Khor sanctuary.

Sobha One sits at the inflection of MBR City and Ras Al Khor — the flamingo-rich wildlife sanctuary on one shoulder, Downtown skyline on the other. Drive times, station proximity, and school catchment confirmed against the live sales gallery briefing.

Map coords · confirm Drive times · confirm RERA / DLD · confirm
Group since
1976
Founded by PNC Menon.
Dubai since
2003
Sobha Hartland launched 2012.
Sobha One — morning render
Morning render · Sobha One · subject confirmation
); } /* ---------- Craftsmanship / backward integration ---------- */ function Craftsmanship() { return (
Backward integration

We design, manufacture, build and finish under one roof.

The Sobha model keeps design, materials, construction, and aftercare inside the group — a structure documented in a Harvard Business School case study and the basis of the Sobha quality standard.

Sobha craftsmanship
Brand · craftsmanship
{D.pillars.map(p => (
{p.step}

{p.t}

{p.d}

))}
); } /* ---------- Residences (tabbed) ---------- */ function Residences({ openBrochure, openViewing, t }) { const [tab, setTab] = React.useState(D.residences[1].id); // 2BR default const cur = D.residences.find(r => r.id===tab); return (
Residences

Concepts ranged from one bedroom to wrap-balcony duplex.

Floor plates, layouts and finish specifications are shown as concept and require confirmation with the Sobha Hartland sales gallery before publication.

{D.residences.map(r => ( ))}
{cur.label}
{cur.caption}
{cur.label} residence

An open layout with floor-to-ceiling glazing, dual-aspect light, and the Sobha finish package. Renders shown for concept only.

{cur.spec.map(([k,v])=>(
{k} {v.startsWith("[Confirm") ? {v.replace(/[\[\]]/g,"")} : v}
))}
Sizes / starting prices not published until verified with the sales gallery.
); } /* ---------- Amenities — image mosaic ---------- */ function Amenities() { return (
Amenities

An 18-storey sky garden and a resort podium.

Renders shown depict the concept podium and central sky garden. Final amenity list and operator partnerships to be confirmed with the sales gallery.

{D.amenities.map((a,i)=>(
{a.title}
{a.title} {a.sub}
))}
); } /* ---------- Legacy / brand block (dark) ---------- */ function Legacy() { return (
The Sobha standard

FY 2025 — AED 30 billion sales, GRESB 4-Star, fourteen UAE developments.

Latest official Sobha Realty figures. AED 8 billion of FY25 sales came from Downtown UAQ and Sobha Siniya Island. Attribute to Sobha and GRESB 2025.

{D.credibility.map((c,i)=>(
{c.n}
{c.l}
{c.s}
))}
{D.legacy.map((l,i)=>(
{l.ttl}
{l.eyebrow}{l.ttl}
))}
); } /* ---------- Communities catalog ---------- */ function Communities() { return (
Communities

Master-planned communities across Dubai, Abu Dhabi and Umm Al Quwain.

Each community microsite is generated from this template — same chrome, its own renders, locale set, and CRM routing. Status of each project to be confirmed against the live sales gallery before publication.

{D.communities.map(c => ( e.preventDefault()}>
{c.name}
{c.loc}
{c.name}
{c.desc} {c.tag && {c.tag}}
))}
); } /* ---------- Footer ---------- */ function FooterBlock({ openRegister, openBroker, openViewing }) { return ( ); } /* ---------- WhatsApp / app FAB ---------- */ function FAB({ t }) { const [open, setOpen] = React.useState(false); return (
{open && (
Live · Sobha team
We respond on WhatsApp during sales-gallery hours. Customer line: {D.phones.customer}.
)}
); } Object.assign(window, { TopBar, Hero, CredibilityBand, Narrative, Craftsmanship, Residences, Amenities, Legacy, Communities, FooterBlock, FAB });