// Winkz Designs 2026, site chrome (sticky glass header + footer) (function () { const { useState, useEffect } = React; const WD = window.WinkzDesignsDesignSystem_9bd28b || {}; const Icon = window.Icon; const GRAD = 'linear-gradient(120deg,#F23BFE,#79BAFF,#2DE3EA)'; const LOGO = 'assets/logo-mark.png'; const LOCKUP = 'assets/logo-mark.png'; const NAV = [['Home', 'home'], ['Services', 'services'], ['Work', 'portfolio'], ['Industries', 'industries'], ['Process', 'process'], ['Trust', 'trust'], ['About', 'about']]; function Logo({ onNavigate, size = 30 }) { return (
onNavigate('home')} style={{ display: 'flex', alignItems: 'center', gap: 12, cursor: 'pointer' }}> Winkz Designs
Winkz Designs Websites & AI
); } function SiteHeader({ route, onNavigate }) { const [scrolled, setScrolled] = useState(false); const [open, setOpen] = useState(false); useEffect(() => { const on = () => setScrolled(window.scrollY > 24); window.addEventListener('scroll', on, { passive: true }); on(); return () => window.removeEventListener('scroll', on); }, []); return (
{open && (
{NAV.concat([['Contact', 'contact']]).map(([label, r]) => ( ))}
)}
); } function SiteFooter({ onNavigate }) { const col = (title, links) => (
{title}
{links.map(([l, r]) => ( r && onNavigate(r)} style={{ fontSize: 14, color: 'var(--text-secondary)', cursor: r ? 'pointer' : 'default' }} onMouseEnter={e => e.currentTarget.style.color = '#fff'} onMouseLeave={e => e.currentTarget.style.color = 'var(--text-secondary)'}>{l} ))}
); return ( ); } /* Floating "Start your project" pill — follows the visitor down the whole page */ function StickyCTA({ onNavigate }) { const [show, setShow] = useState(false); const [closed, setClosed] = useState(false); useEffect(() => { const onScroll = () => setShow((window.scrollY || 0) > window.innerHeight * 0.6); onScroll(); window.addEventListener('scroll', onScroll, { passive: true }); return () => window.removeEventListener('scroll', onScroll); }, []); const on = show && !closed; return (
); } Object.assign(window, { SiteHeader, SiteFooter, StickyCTA }); })();