{"version":3,"file":"QuoteCard.fzAXitTM.mjs","names":[],"sources":["https:/framerusercontent.com/modules/MYHNcFfFyevpD0BV5dk6/MptsVdHG3G8mTzVfLTPK/QuoteCard.js"],"sourcesContent":["// Create a responsive quote card component with customizable font and card styling\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function QuoteCard(props){const{quoteText,authorText,quoteFont,authorFont,quoteColor,authorColor,backgroundColor,borderWeight,borderColor,borderRadius,accentColor,padding,showAuthorImage,authorImage={src:\"https://framerusercontent.com/images/cmEt7GxJuGcAMA21lxUgL1BpvCU.jpg\",alt:\"Author\"},style}=props;return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:20},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",maxWidth:800,backgroundColor:backgroundColor,border:`${borderWeight}px solid ${borderColor}`,borderRadius:borderRadius,padding:padding,display:\"flex\",flexDirection:\"column\",gap:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,top:40,bottom:40,width:6,backgroundColor:accentColor,borderRadius:\"0 3px 3px 0\"}}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,color:quoteColor,...quoteFont},children:quoteText}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:12,marginTop:8},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,color:authorColor,...authorFont},children:authorText}),showAuthorImage&&/*#__PURE__*/_jsx(\"img\",{src:authorImage.src,alt:authorImage.alt||\"Author\",style:{width:50,height:50,borderRadius:\"50%\",objectFit:\"cover\"}})]})]})});}addPropertyControls(QuoteCard,{quoteText:{type:ControlType.String,title:\"Quote Text\",defaultValue:'\"A viable system is one that is capable of maintaining its existence independently. To do this, it must both maintain its internal stability and adapt to changes in its environment.\"',displayTextArea:true},authorText:{type:ControlType.String,title:\"Author Text\",defaultValue:\"— Stafford Beer\"},quoteFont:{type:ControlType.Font,title:\"Quote Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"0em\",lineHeight:\"1.5em\"}},quoteColor:{type:ControlType.Color,title:\"Quote Color\",defaultValue:\"#D5568C\"},authorFont:{type:ControlType.Font,title:\"Author Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"0em\",lineHeight:\"1.5em\"}},authorColor:{type:ControlType.Color,title:\"Author Color\",defaultValue:\"#333333\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},borderWeight:{type:ControlType.Number,title:\"Border Weight\",defaultValue:0,min:0,max:20,step:1,unit:\"px\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#EEEEEE\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:16,min:0,max:50,step:1,unit:\"px\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#D5568C\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:60,min:0,max:200,step:1,unit:\"px\"},showAuthorImage:{type:ControlType.Boolean,title:\"Show Image\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},authorImage:{type:ControlType.ResponsiveImage,title:\"Author Image\",hidden:({showAuthorImage})=>!showAuthorImage}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"QuoteCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./QuoteCard.map"],"mappings":"oKAIG,SAAwB,EAAU,EAAM,CAAC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