// ZARK Rubí — Nav + Hero (with hero variants) [EN] function Logo({ height = 30, stacked = false, hideWord = false }) { if (hideWord) { return (
ZARK Gym 24h
); } return (
ZARK
ZARK {stacked && Gym 24h }
); } function Nav() { const [scrolled, setScrolled] = React.useState(false); const [open, setOpen] = React.useState(false); React.useEffect(() => { const el = document.querySelector('.site-scroll'); const onScroll = () => setScrolled((el ? el.scrollTop : window.scrollY) > 20); const target = el || window; target.addEventListener('scroll', onScroll); return () => target.removeEventListener('scroll', onScroll); }, []); const links = [['Facilities', '#zonas'], ['Equipment', '#maquinaria'], ['Plans', '#planes'], ['App', '#app']]; return (
{[['ES','/'],['EN','/en/'],['CA','/ca/']].map(([code, href]) => ( {code} ))}
Come Meet Us
{open &&
{links.map(([l, href]) => setOpen(false)} style={{ color: '#fff', textDecoration: 'none', fontSize: 17, fontWeight: 600, padding: '12px 0', borderBottom: '1px solid var(--ink-700)' }}>{l} )} setOpen(false)} className="btn btn-primary" style={{ marginTop: 14 }}>Come Meet Us
}
); } function HeroContent({ light }) { return ( Your new 24-hour gym in Rubí

Train for real.
With your people.

900 m² of professional equipment, a HYROX zone and a community that pushes alongside you. No fine print. No surprises.

Come Meet Us See Plans
); } function Hero({ variant }) { if (variant === 'mural') { return (
); } if (variant === 'split') { return (
24/7
Open 365 days
in Rubí · Barcelona
); } return (
Strength & Community · Rubí
); } Object.assign(window, { Logo, Nav, Hero });