{"version":3,"file":"PromoCard.BJNLMmc1.mjs","names":[],"sources":["https:/framerusercontent.com/modules/V1shuTgsGzA34UYC5REN/t5wpYtu1Yuv9fHPU7h4E/PromoCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Frame,addPropertyControls,ControlType}from\"framer\";export function PromoCard(props){const{title,description,buttonText,link,backgroundColor,textColor,borderColor,cornerImage}=props;return /*#__PURE__*/_jsxs(Frame,{background:backgroundColor,radius:24,style:{padding:32,border:`2px solid ${borderColor}`,display:\"flex\",flexDirection:\"column\",justifyContent:\"space-between\",fontFamily:\"'Inter', sans-serif\",position:\"relative\",overflow:\"hidden\"},width:\"100%\",height:\"100%\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h1\",{style:{fontSize:48,fontWeight:900,margin:0,textTransform:\"uppercase\",lineHeight:1,color:textColor,textShadow:\"3px 3px 0 #00000022\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{marginTop:16,fontSize:16,fontWeight:600,color:textColor,maxWidth:\"80%\"},children:description})]}),/*#__PURE__*/_jsxs(\"a\",{href:link,target:\"_blank\",rel:\"noopener noreferrer\",style:{display:\"flex\",alignItems:\"center\",gap:12,marginTop:32,textDecoration:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:48,height:48,borderRadius:\"50%\",border:`2px solid ${textColor}`,background:\"#fff\",boxShadow:`inset -4px -4px 0 ${borderColor}`,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",fontSize:18,transform:\"rotate(45deg)\"},children:\"↑\"}),/*#__PURE__*/_jsx(\"span\",{style:{color:textColor,fontWeight:800},children:buttonText})]}),cornerImage&&/*#__PURE__*/_jsx(\"img\",{src:cornerImage,alt:\"\",style:{position:\"absolute\",bottom:0,right:0,height:100,pointerEvents:\"none\"}})]});}addPropertyControls(PromoCard,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"PUDGY DISCORD\"},description:{type:ControlType.String,title:\"Description\",defaultValue:\"A hangout spot for all penguins. Join to interact with the huddle.\"},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"JOIN NOW\"},link:{type:ControlType.String,title:\"Button URL\",defaultValue:\"https://discord.com\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#E6FAFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},borderColor:{type:ControlType.Color,title:\"Outline Color\",defaultValue:\"#000000\"},cornerImage:{type:ControlType.Image,title:\"Corner Image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"PromoCard\":{\"type\":\"reactComponent\",\"name\":\"PromoCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PromoCard.map"],"mappings":"0KAAmH,SAAgB,EAAU,EAAM,CAAC,GAAK,CAAC,QAAM,cAAY,aAAW,OAAK,kBAAgB,YAAU,cAAY,eAAa,EAAM,OAAoB,EAAM,EAAM,CAAC,WAAW,EAAgB,OAAO,GAAG,MAAM,CAAC,QAAQ,GAAG,OAAO,aAAa,IAAc,QAAQ,OAAO,cAAc,SAAS,eAAe,gBAAgB,WAAW,sBAAsB,SAAS,WAAW,SAAS,SAAS,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,CAAc,EAAM,MAAM,CAAC,SAAS,CAAc,EAAK,KAAK,CAAC,MAAM,CAAC,SAAS,GAAG,WAAW,IAAI,OAAO,EAAE,cAAc,YAAY,WAAW,EAAE,MAAM,EAAU,WAAW,sBAAsB,CAAC,SAAS,EAAM,CAAC,CAAc,EAAK,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,SAAS,GAAG,WAAW,IAAI,MAAM,EAAU,SAAS,MAAM,CAAC,SAAS,EAAY,CAAC,CAAC,CAAC,CAAC,CAAc,EAAM,IAAI,CAAC,KAAK,EAAK,OAAO,SAAS,IAAI,sBAAsB,MAAM,CAAC,QAAQ,OAAO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