// Facette — Locations page
const { BRANCHES: BRANCH_DATA } = window.FacetteData;
function Locations({ branch, setBranch, openBook, isMobile }) {
return (
Find us
Two doors,same therapists.
Jumeirah is the residential outpost — quieter rooms, longer windows. Business Bay is the flagship — bigger team, later last-bookings.
Pick the one closer to your week.
setBranch('jumeirah')} openBook={openBook} />
setBranch('business_bay')} openBook={openBook} />
);
}
function Legend({ color, label }) {
return (
);
}
function LocationMapCard({ b }) {
const query = encodeURIComponent(`${b.name} ${b.address} ${b.addressLine2} ${b.addressLine3} Dubai`);
return (
{b.name}
{b.address} · {b.addressLine2}
Open map
);
}
function LocCard({ b, active, onPick, openBook }) {
return (
{b.id === 'jumeirah'
?
:
}
{b.name}
{active &&
Active branch
}
Address
{b.address}
{b.addressLine2}
{b.addressLine3}
Plus code · {b.pluscode}
{!active && (
Use this branch
)}
{ onPick(); openBook(); }}>Book at {b.short}
);
}
window.Locations = Locations;