/* global React */ // Shared primitives used across all component files. const LINKS = { instagram: "https://instagram.com/lic.guillerminagomez", igHandle: "@lic.guillerminagomez", whatsapp: "5492291460596", // país + número, sin + ni espacios email: "lic.guillerminagomez@gmail.com", }; const Icon = { arrow: (cls = "arr") => , play: (size = 14) => , leaf: () => , chev: (dir = "right") => , close: (size = 16) => , plus: () => , check: (size = 16) => , star: (size = 14) => , ext: (size = 13) => , wa: (size = 24) => , ig: (size = 18) => , mail: (size = 24) => , // service icons couples: (size = 26) => , person: (size = 26) => , cap: (size = 26) => , }; function BrandMark({ size = 36 }) { return ( ); } Object.assign(window, { LINKS, Icon, BrandMark }); /* ============== Currency / pricing ============== */ // Cotización de referencia USD → ARS. EDITAR cuando cambie. const FX = { usdToArs: 1250 }; function formatPrice(usd, cur) { if (usd == null) return null; if (cur === "ars") { // redondeo a los 500 más cercanos para que se vea prolijo const raw = usd * FX.usdToArs; const rounded = Math.round(raw / 500) * 500; return "$" + rounded.toLocaleString("es-AR") + " ARS"; } return "USD " + usd.toLocaleString("en-US"); } function formatArs(val) { return "$" + val.toLocaleString("es-AR") + " ARS"; } function detectCurrency() { try { const saved = localStorage.getItem("gg_cur"); if (saved === "ars" || saved === "usd") return saved; } catch (_) {} return "ars"; } Object.assign(window, { FX, formatPrice, formatArs, detectCurrency });