{"version":3,"file":"shared-lib.GILyqXDN.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/o5SyofKBHUA4mDrDy9Sd/oVHA1ExqhaTqRE3OwHUs/LQCHeader.js","https:/framerusercontent.com/modules/u7z8i2NPJZ0maawWSzMW/Q0AxVgZq9em3lTcUVW5n/siteMetadata.js"],"sourcesContent":["// LQC Supply Co. — Desktop Header v9\n// SETUP: Assets → Code → + → paste → Save → drag onto each Desktop canvas\n// Set Logo in right panel. No other setup needed.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";const LINKS=[{label:\"About\",href:\"/#about\"},{label:\"Products\",href:\"/products-1\"},{label:\"Contact\",href:\"/#contact\"}];export default function LQCHeader(props){const{logoUrl=\"\"}=props;const[scrolled,setScrolled]=useState(false);const wrapperRef=useRef(null);useEffect(()=>{const onScroll=()=>setScrolled(window.scrollY>50);window.addEventListener(\"scroll\",onScroll,{passive:true});return()=>window.removeEventListener(\"scroll\",onScroll);},[]);useEffect(()=>{if(!wrapperRef.current)return;const parent=wrapperRef.current.parentElement;if(!parent)return;parent.style.setProperty(\"background\",\"transparent\",\"important\");parent.style.setProperty(\"background-color\",\"transparent\",\"important\");parent.style.setProperty(\"height\",\"0px\",\"important\");parent.style.setProperty(\"min-height\",\"0px\",\"important\");parent.style.setProperty(\"overflow\",\"visible\",\"important\");parent.style.setProperty(\"padding\",\"0px\",\"important\");parent.style.setProperty(\"margin\",\"0px\",\"important\");parent.style.setProperty(\"flex-shrink\",\"0\",\"important\");},[]);return /*#__PURE__*/_jsxs(\"div\",{ref:wrapperRef,style:{height:0,minHeight:0,overflow:\"visible\",background:\"transparent\",backgroundColor:\"transparent\",padding:0,margin:0,width:\"100%\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"header\",{className:`lqc-hdr ${scrolled?\"lqc-hdr--scrolled\":\"\"}`,children:/*#__PURE__*/_jsxs(\"div\",{className:\"lqc-hdr__inner\",children:[/*#__PURE__*/_jsx(\"a\",{href:\"/\",className:\"lqc-hdr__logo-link\",\"aria-label\":\"LQC Supply Co.\",children:/*#__PURE__*/_jsx(\"img\",{src:logoUrl,alt:\"LQC Supply Co.\",className:\"lqc-hdr__logo\"})}),/*#__PURE__*/_jsxs(\"nav\",{className:\"lqc-hdr__nav\",children:[LINKS.map(({label,href})=>/*#__PURE__*/_jsxs(\"a\",{href:href,className:\"lqc-hdr__link\",children:[/*#__PURE__*/_jsx(\"span\",{children:label}),/*#__PURE__*/_jsx(\"span\",{className:\"lqc-hdr__link-line\"})]},label)),/*#__PURE__*/_jsx(\"a\",{href:\"/#contact\",className:\"lqc-hdr__cta\",children:\"Get a Quote\"})]})]})})]});}const css=`\n    @import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;700&display=swap');\n\n    .lqc-hdr {\n        position: fixed !important;\n        top: 0 !important;\n        left: 0 !important;\n        right: 0 !important;\n        z-index: 9999 !important;\n        height: 88px !important;\n        display: flex !important;\n        align-items: center !important;\n        justify-content: center !important;\n        padding: 0 56px !important;\n        background: #0a0a0a !important;\n        background-color: #0a0a0a !important;\n        border-bottom: 1px solid rgba(255,255,255,0.08) !important;\n        transition: box-shadow 0.35s ease;\n        box-sizing: border-box !important;\n    }\n\n    .lqc-hdr--scrolled {\n        box-shadow: 0 2px 40px rgba(0,0,0,0.8) !important;\n        border-bottom-color: rgba(255,255,255,0.12) !important;\n    }\n\n    .lqc-hdr__inner {\n        width: 100%;\n        max-width: 1360px;\n        display: flex;\n        align-items: center;\n        justify-content: space-between;\n    }\n\n    .lqc-hdr__logo-link {\n        display: flex;\n        align-items: center;\n        text-decoration: none;\n        flex-shrink: 0;\n    }\n\n    .lqc-hdr__logo {\n        height: 68px;\n        width: auto;\n        display: block;\n        transition: opacity 0.25s ease;\n    }\n\n    .lqc-hdr__logo-link:hover .lqc-hdr__logo { opacity: 0.72; }\n\n    .lqc-hdr__nav {\n        display: flex;\n        align-items: center;\n        gap: 4px;\n    }\n\n    .lqc-hdr__link {\n        font-family: 'Barlow', sans-serif;\n        font-size: 13px;\n        font-weight: 600;\n        letter-spacing: 0.22em;\n        text-transform: uppercase;\n        color: rgba(255,255,255,0.65);\n        text-decoration: none;\n        padding: 10px 22px;\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n        gap: 5px;\n        transition: color 0.2s ease;\n    }\n\n    .lqc-hdr__link:hover { color: #fff; }\n\n    .lqc-hdr__link-line {\n        display: block;\n        height: 1.5px;\n        width: 100%;\n        background: #fff;\n        transform: scaleX(0);\n        transform-origin: left center;\n        transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);\n    }\n\n    .lqc-hdr__link:hover .lqc-hdr__link-line { transform: scaleX(1); }\n\n    .lqc-hdr__cta {\n        font-family: 'Barlow', sans-serif;\n        font-size: 12px;\n        font-weight: 700;\n        letter-spacing: 0.22em;\n        text-transform: uppercase;\n        color: #0a0a0a;\n        background: #fff;\n        border: 1.5px solid #fff;\n        border-radius: 4px;\n        padding: 12px 28px;\n        margin-left: 20px;\n        text-decoration: none;\n        white-space: nowrap;\n        transition: background 0.25s ease, color 0.25s ease, transform 0.18s ease;\n    }\n\n    .lqc-hdr__cta:hover {\n        background: transparent;\n        color: #fff;\n        transform: translateY(-1px);\n    }\n\n    /* Hide on mobile only — tablet (810px+) keeps the header */\n    @media (max-width: 809px) {\n        .lqc-hdr { display: none !important; }\n    }\n`;addPropertyControls(LQCHeader,{logoUrl:{type:ControlType.Image,title:\"Logo\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LQCHeader\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LQCHeader.map","// Generated by Framer (8b16de8)\nexport default function metadata(params,activeLocale){return{description:\"We're your premier Canadian based source for high-quality multi-surface flooring solutions. We specialize in luxury vinyl flooring, laminate flooring, and tile\",favicon:\"https://framerusercontent.com/assets/WoBdi373OfzTqB34efHvQ7zorc.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/aMfIfOhi95H3DRDa8MPkVPkQu8.png\",title:\"LQC Building Supply Co.\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wMAGgR,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,UAAQ,IAAI,EAAW,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAO,EAAWC,EAAO,KAAK,CAAiwB,OAAhwB,MAAc,CAAC,IAAM,MAAa,EAAY,EAAO,QAAQ,GAAG,CAA2D,OAA1D,EAAO,iBAAiB,SAAS,EAAS,CAAC,QAAQ,GAAK,CAAC,KAAW,EAAO,oBAAoB,SAAS,EAAS,EAAG,EAAE,CAAC,CAAC,MAAc,CAAC,GAAG,CAAC,EAAW,QAAQ,OAAO,IAAM,EAAO,EAAW,QAAQ,cAAkB,IAAc,EAAO,MAAM,YAAY,aAAa,cAAc,YAAY,CAAC,EAAO,MAAM,YAAY,mBAAmB,cAAc,YAAY,CAAC,EAAO,MAAM,YAAY,SAAS,MAAM,YAAY,CAAC,EAAO,MAAM,YAAY,aAAa,MAAM,YAAY,CAAC,EAAO,MAAM,YAAY,WAAW,UAAU,YAAY,CAAC,EAAO,MAAM,YAAY,UAAU,MAAM,YAAY,CAAC,EAAO,MAAM,YAAY,SAAS,MAAM,YAAY,CAAC,EAAO,MAAM,YAAY,cAAc,IAAI,YAAY,GAAG,EAAE,CAAC,CAAqB,EAAM,MAAM,CAAC,IAAI,EAAW,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,UAAU,WAAW,cAAc,gBAAg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