// booking.jsx — booking section with embedded external service const ICONS = { prescription: ( ), wallet: ( ), }; const BOOKING_URL = "https://web.cenplexbooking.ch/appointment-selection?customerId=282&locationId=465"; function Booking({ lang }) { const t = COPY[lang].booking; return ( {t.eyebrow} {t.title} {t.subtitle} {t.methods.map((m, i) => ( {m.icon === "wallet" && ( )} {ICONS[m.icon]} {m.title} {m.body} ))} {t.priceTitle} {t.prices.map((p, i) => ( {p.label} CHF {p.value} ))} {lang === "de" ? "In neuem Tab öffnen ↗" : "Open in a new tab ↗"} ); } Object.assign(window, { Booking });
{t.subtitle}
{m.body}