{"version":3,"file":"Button_component.aOSERLHL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/tYvVTXoLEansxEj5uHya/ahMe3pwZgj3nm1nd2qi8/Button_component.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";export default function Button(props){const style={display:\"inline-block\",backgroundColor:\"orange\",padding:8};const[isHovered,setIsHovered]=useState(false);return /*#__PURE__*/_jsx(\"a\",{href:props.href,style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),style:{display:\"flex\",marginLeft:\"0rem\",cursor:\"pointer\",fontFamily:\"Satoshi, sans-serif\",fontSize:\"18px\",padding:\"8px 0rem 8px 14px\",borderRadius:\"95px\",width:\"auto\",border:\"2px solid #D67C51\",backgroundColor:\"#D67C51\",color:isHovered?\"#D67C51\":\"#fff\",transition:\"all 0.5s ease-in-out\",overflow:\"hidden\",zIndex:\"1\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",lineHeight:\"30px\",color:isHovered?\"#D67C51\":\"#fff\",transition:\"all 0.5s ease-in-out\",fontWeight:\"500\",zIndex:\"3\"},children:props.text}),/*#__PURE__*/_jsx(\"div\",{className:\"fancy-arrow\",style:{position:\"relative\",left:\"13px\",top:\"8%\",borderRadius:\"25px\",alignItems:\"center\",backgroundColor:\"transparent\",display:\"flex\",flexShrink:0,height:\"32px\",justifyContent:\"center\",zIndex:2},children:/*#__PURE__*/_jsx(\"img\",{src:\"https://media2.charityengine.net/WF/_transactionServerFiles/1078/cbimage.png\",alt:\"\",style:{marginLeft:\"10px\"}})}),/*#__PURE__*/_jsx(\"div\",{className:\"fancy-arrow-fk\",style:{position:\"relative\",left:\"-11px\",top:\"8%\",borderRadius:\"25px\",alignItems:\"center\",backgroundColor:\"#fff\",display:\"flex\",flexShrink:0,height:\"32px\",justifyContent:\"center\",transition:\"all 0.5s ease-in-out\",zIndex:1,width:\"32px\",transform:isHovered?\"scale(25)\":\"scale(1)\"}})]})});}Button.defaultProps={text:\"My Title\",href:\"https://web.charityengine.net/donate2mtih\"};addPropertyControls(Button,{text:{title:\"Text\",type:ControlType.String},href:{title:\"href\",type:ControlType.Link}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button_component.map"],"mappings":"yQAAyI,SAAwB,EAAO,EAAM,CAAC,IAAM,EAAM,CAAC,QAAQ,eAAe,gBAAgB,SAAS,QAAQ,CAAE,EAAM,CAAC,EAAU,EAAa,CAAC,GAAS,EAAM,CAAC,MAAoB,GAAK,IAAI,CAAC,KAAK,EAAM,KAAK,MAAM,CAAC,eAAe,MAAO,EAAC,SAAsB,EAAM,SAAS,CAAC,KAAK,SAAS,aAAa,IAAI,GAAa,EAAK,CAAC,aAAa,IAAI,GAAa,EAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,OAAO,OAAO,UAAU,WAAW,sBAAsB,SAAS,OAAO,QAAQ,oBAAoB,aAAa,OAAO,MAAM,OAAO,OAAO,oBAAoB,gBAAgB,UAAU,MAAM,EAAU,UAAU,OAAO,WAAW,uBAAuB,SAAS,SAAS,OAAO,IAAI,SAAS,UAAW,EAAC,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,WAAW,OAAO,MAAM,EAAU,UAAU,OAAO,WAAW,uBAAuB,WAAW,MAAM,OAAO,GAAI,EAAC,SAAS,EAAM,IAAK,EAAC,CAAc,EAAK,MAAM,CAAC,UAAU,cAAc,MAAM,CAAC,SAAS,WAAW,KAAK,OAAO,IAAI,KAAK,aAAa,OAAO,WAAW,SAAS,gBAAgB,cAAc,Q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