{"version":3,"file":"Button_Back_To_Projects.Bf2Leb0h.mjs","names":[],"sources":["https:/framerusercontent.com/modules/nZYpIyGGCme1zchEeG4W/IkEg6vqElUKP3mxcMFmP/Button_Back_To_Projects.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function BackToProjects({label,href,accentColor,style}){const go=()=>{window.location.href=href||\"/#work\";};return /*#__PURE__*/_jsxs(\"div\",{onClick:go,style:{position:\"fixed\",top:28,left:28,zIndex:1e3,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",gap:8,padding:\"8px 0\",fontFamily:\"Inter, system-ui, sans-serif\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .btp-wrap { display: flex; align-items: center; gap: 8px; }\n                .btp-label {\n                    font-size: 11px; font-weight: 500; letter-spacing: 0.12em;\n                    text-transform: uppercase; color: rgb(26,22,18);\n                    line-height: 1; white-space: nowrap; text-decoration: none;\n                    border-bottom: 1px solid transparent; padding-bottom: 1px;\n                    transition: border-color 0.18s ease;\n                }\n                .btp-wrap:hover .btp-label { border-bottom-color: rgb(26,22,18); }\n                .btp-wrap:hover .btp-chevron { transform: translateX(-2px); }\n                .btp-chevron { transition: transform 0.18s ease; }\n\n                /* Hide on phone — the PillNav hamburger handles navigation there */\n                @media (max-width: 640px) {\n                    .btp-wrap { display: none; }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"btp-wrap\",children:[/*#__PURE__*/_jsx(\"svg\",{className:\"btp-chevron\",width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 2L4 7L9 12\",stroke:\"rgb(26,22,18)\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})}),/*#__PURE__*/_jsx(\"span\",{className:\"btp-label\",children:label})]})]});}BackToProjects.defaultProps={label:\"All projects\",href:\"/#work\",accentColor:\"#E8613A\"};addPropertyControls(BackToProjects,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"All projects\"},href:{type:ControlType.String,title:\"Link URL\",defaultValue:\"/#work\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#E8613A\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BackToProjects\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button_Back_To_Projects.map"],"mappings":"iLAA6G,SAAwB,EAAe,CAAC,QAAM,OAAK,cAAY,SAAO,CAAqD,OAAoB,EAAM,MAAM,CAAC,YAAxE,CAAC,EAAO,SAAS,KAAK,GAAM,QAAS,EAA8C,MAAM,CAAC,SAAS,QAAQ,IAAI,GAAG,KAAK,GAAG,OAAO,IAAI,OAAO,UAAU,QAAQ,OAAO,WAAW,SAAS,IAAI,EAAE,QAAQ,QAAQ,WAAW,+BAA+B,GAAG,CAAK,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;aAiBre,CAAC,EAAe,EAAM,MAAM,CAAC,UAAU,WAAW,SAAS,CAAc,EAAK,MAAM,CAAC,UAAU,cAAc,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAA6B,SAAsB,EAAK,OAAO,CAAC,EAAE,gBAAgB,OAAO,gBAAgB,YAAY,MAAM,cAAc,QAAQ,eAAe,OAAO,CAAC,CAAC,CAAC,EAAe,EAAK,OAAO,CAAC,UAAU,YAAY,SAAS,CAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,qBAjBlX,IAAoD,EAiB+T,EAAe,aAAa,CAAC,MAAM,eAAe,KAAK,SAAS,YAAY,SAAS,EAAE,EAAoB,EAAe,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,cAAc,EAAE,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAY,MAAM,MAAM,SAAS,aAAa,SAAS,CAAC,CAAC"}