{"version":3,"file":"Instagram_button.CwBkiNPL.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/mc3G0qJ8m5ZaNlDinc6p/g4VuDpFjqKMTNuqNvNvu/Instagram_button.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export function InstagramButton({label,color,blending,backgroundColor,link}){const[isHovered,setIsHovered]=useState(false);const handleClick=()=>{window.open(link,\"_blank\")// Navigate to the provided link\n;};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100px\",height:\"50px\",backgroundColor:backgroundColor,color:color,mixBlendMode:blending,fontFamily:\"Inter, sans-serif\",fontSize:\"16px\",fontWeight:\"400\",borderRadius:\"8px\",cursor:\"pointer\",textAlign:\"center\",transition:\"opacity 0.3s ease\",opacity:isHovered?.4:1},onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),onClick:handleClick,children:label});}// Add Property Controls for Framer\naddPropertyControls(InstagramButton,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Instagram\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#F8F5F1\"},blending:{type:ControlType.Enum,title:\"Blending\",options:[\"normal\",\"multiply\",\"screen\",\"overlay\",\"difference\"],optionTitles:[\"Normal\",\"Multiply\",\"Screen\",\"Overlay\",\"Difference\"],defaultValue:\"difference\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"transparent\"},link:{type:ControlType.String,title:\"Link\",defaultValue:\"https://www.instagram.com/nickbannehr/?hl=en\"}});// Default Props\nInstagramButton.defaultProps={label:\"Instagram\",color:\"#F8F5F1\",blending:\"difference\",backgroundColor:\"transparent\",link:\"https://www.instagram.com/nickbannehr/?hl=en\"};\nexport const __FramerMetadata__ = {\"exports\":{\"InstagramButton\":{\"type\":\"reactComponent\",\"name\":\"InstagramButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Instagram_button.map"],"mappings":"wLAA2H,SAAgB,EAAgB,CAAC,QAAM,QAAM,WAAS,kBAAgB,QAAM,CAAC,GAAK,CAAC,EAAU,GAAcA,EAAS,GAAM,CAClP,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,MAAM,QAAQ,OAAO,OAAuB,kBAAsB,QAAM,aAAa,EAAS,WAAW,oBAAoB,SAAS,OAAO,WAAW,MAAM,aAAa,MAAM,OAAO,UAAU,UAAU,SAAS,WAAW,oBAAoB,QAAQ,EAAU,GAAG,EAAE,CAAC,iBAAiB,EAAa,GAAK,CAAC,iBAAiB,EAAa,GAAM,CAAC,YAD9K,CAAC,EAAO,KAAK,EAAK,SAAS,EACuK,SAAS,EAAM,CAAC,sBADnb,IAA4B,IAAoD,CAE3H,EAAoB,EAAgB,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,YAAY,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,CAAC,SAAS,CAAC,KAAK,EAAY,KAAK,MAAM,WAAW,QAAQ,CAAC,SAAS,WAAW,SAAS,UAAU,aAAa,CAAC,aAAa,CAAC,SAAS,WAAW,SAAS,UAAU,aAAa,CAAC,aAAa,aAAa,CAAC,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,cAAc,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,+CAA+C,CAAC,CAAC,CAClkB,EAAgB,aAAa,CAAC,MAAM,YAAY,MAAM,UAAU,SAAS,aAAa,gBAAgB,cAAc,KAAK,+CAA+C"}