// Shared chrome: Nav, Footer, mobile bar, WhatsApp FAB, icons
const { useState, useEffect, useRef, useMemo, useCallback, useContext, createContext } = React;
// ---- Icons (inline SVG, never elaborate drawings) -------------------
const Icon = {
arrow: (p) => ,
arrowLg: (p) => ,
caret: (p) => ,
phone: (p) => ,
whatsapp: (p) => ,
plus: (p) => ,
check: (p) => ,
checkLg: (p) => ,
shield: (p) => ,
lock: (p) => ,
cal: (p) => ,
user: (p) => ,
drop: (p) => ,
sparkle: (p) => ,
body: (p) => ,
man: (p) => ,
alert: (p) => ,
external: (p) => ,
star: (p) => ,
pin: (p) => ,
menu: (p) => ,
close: (p) =>
};
// ---- Wordmark / Logo ------------------------------------------------
function Wordmark({ size = "md", inverted = false }) {
const s = size === "lg" ? { font: 26, sub: 11 } : size === "sm" ? { font: 16, sub: 8 } : { font: 19, sub: 9 };
return (
Aesthetics
International · Dubai
);
}
// Logo mark — phoenix-style abstract from the actual SVG (simplified outline)
function LogoMark({ size = 40, color }) {
const c = color || 'var(--bronze-deep)';
return (
{/* Stylised wing — five tapering feathers */}
);
}
// ---- Navigation ----------------------------------------------------
function Nav({ route, go }) {
const [megaOpen, setMegaOpen] = useState(false);
const [menuOpen, setMenuOpen] = useState(false);
const t = useContext(TweaksCtx);
return (
<>
setMegaOpen(false)}>
go({ page: 'home' })} style={{ background: 'none', border: 0, cursor: 'pointer' }}>
setMegaOpen(true)}
onClick={() => { setMegaOpen(false); go({ page: 'procedures' }); }}>
Procedures
go({ page: 'surgeons' })}>
Surgeons & Doctors
go({ page: 'before-after' })}>
Before & After
go({ page: 'about' })}>
About
go({ page: 'contact' })}>
Contact
{['EN', 'AR', 'RU', 'ZH'].map(l => (
t.set({ lang: l })}>{l}
))}
go({ page: 'book' })}>
Book a Consultation
{megaOpen && (
setMegaOpen(true)}>
Surgical
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Rhinoplasty
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Facelift
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Breast Augmentation
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Tummy Tuck
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Liposuction
{ setMegaOpen(false); go({ page: 'procedures' }); }}>All surgical →
Skin & Injectables
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Morpheus8 Pro
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Ultherapy AI
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Dermal Fillers
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>Profhilo
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }}>HydraFacial
{ setMegaOpen(false); go({ page: 'procedures' }); }}>All skin & aesthetics →
By Concern
{CONCERNS.slice(0, 6).map(c => (
{ setMegaOpen(false); go({ page: 'procedures' }); }}>{c}
))}
{ setMegaOpen(false); go({ page: 'procedure', slug: 'rhinoplasty' }); }} style={{ cursor: 'pointer' }}>
In Focus
Morpheus8 Pro — Skin Reset
Radiofrequency microneedling for skin tightening and texture renewal, in our DHA-licensed treatment suite.
Explore
)}
{/* Mobile bottom bar */}
{/* WhatsApp FAB */}
>
);
}
// ---- Footer --------------------------------------------------------
function Footer({ go }) {
return (
Cosmetic & plastic surgery + aesthetics in Jumeirah, Dubai. Surgeon-led since 2011. Care delivered in a DHA-licensed private clinic.
{CLINIC_INFO.address.line1}
{CLINIC_INFO.address.line2}
{CLINIC_INFO.address.line3}
{CLINIC_INFO.phone}
{CLINIC_INFO.email}
Procedures
{PROCEDURE_AREAS.map(a => go({ page: 'procedures' })}>{a.title} )}
Clinic
go({ page: 'about' })}>About Us
go({ page: 'surgeons' })}>Surgeons & Doctors
go({ page: 'before-after' })}>Before & After
go({ page: 'contact' })}>Contact
go({ page: 'book' })}>Book a Consultation
Compliance
DHA Establishment Licence
Patient Safety Statement
Advertising Policy
Privacy & Cookies
Terms of Use
Follow
Instagram · {CLINIC_INFO.socials.instagram}
Facebook · {CLINIC_INFO.socials.facebook}
LinkedIn
YouTube
© {new Date().getFullYear()} {CLINIC_INFO.legal}. All rights reserved.
DHA Polyclinic · Licence to verify
);
}
Object.assign(window, { Icon, Wordmark, LogoMark, Nav, Footer });