// chrome.jsx — shared multi-page Nav + Footer. Exports SiteNav, SiteFooter → window const { useState: useChromeState } = React; const GR_WA = "5491150522993"; const GR_MAIL = "contacto@gruporemodelar.com.ar"; const GR_IG = "https://www.instagram.com/grupo_remodelar/"; const GR_FB = "https://www.facebook.com/profile.php?id=61579792974689"; const GR_TT = "https://www.tiktok.com/@grupo_remodelar"; const GR_WA_URL = "https://wa.me/" + GR_WA + "?text=" + encodeURIComponent("Hola Grupo Remodelar 👷 quiero una cotización sin costo."); // [ href, short label (desktop), full label (overlay + footer), key ] const GR_PAGES = [ ["index.html", "Construcción", "Construcción y remodelación", "home"], ["Remodela tu casa.html", "Remodelar", "Remodelá tu casa", "remodela"], ["Flipping inmobiliario.html", "Flipping", "Flipping inmobiliario", "flipping"], ["Quienes somos.html", "Nosotros", "Quiénes somos", "nosotros"], ["Blog inmobiliario.html", "Blog", "Blog inmobiliario", "blog"], ["Socios comerciales.html", "Socios", "Nuestros socios comerciales", "socios"]]; function SiteNav({ active = "home" }) { const { scrolled, progress } = window.useNavScroll(); const [open, setOpen] = useChromeState(false); return ( <>
{GR_PAGES.map(([href,, full, key]) => setOpen(false)}>{full} )}
); } function SiteFooter() { return ( ); } Object.assign(window, { SiteNav, SiteFooter });