{"version":3,"file":"ServiceCard.CkNAbbl9.mjs","names":["__esmMin","p","c","init_jsx_runtime","motion","init_framer_motion_DhsWWWsN","init_framer_DxfB3JJo","RenderTarget","addPropertyControls","ControlType","ServiceCard","props","link","cardBg","radius","imageHeight","image","titleColor","title","textColor","description","accentColor","isCanvas","init_ServiceCard"],"sources":["https:/framerusercontent.com/modules/yqmgw6FJev2ebSJsmnWy/82AfJk8PTzrim8Zb2HQ2/ServiceCard.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";const isCanvas=()=>RenderTarget.current()===RenderTarget.canvas;export default function ServiceCard(props){const{title,description,image,link,cardBg,titleColor,textColor,accentColor,imageHeight,radius}=props;return /*#__PURE__*/_jsxs(motion.a,{href:link,initial:isCanvas()?false:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:true,margin:\"-60px\"},transition:{duration:.5,ease:[.16,1,.3,1]},whileHover:{y:-4},style:{display:\"flex\",flexWrap:\"wrap\",width:\"100%\",height:\"100%\",background:cardBg,borderRadius:radius,overflow:\"hidden\",textDecoration:\"none\",boxShadow:\"0 2px 10px rgba(81, 72, 63, 0.08)\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{flex:\"1 1 240px\",minHeight:imageHeight,backgroundImage:`url(${image})`,backgroundSize:\"cover\",backgroundPosition:\"center\",backgroundColor:\"#E8E0D6\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:\"1.2 1 280px\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",gap:10,padding:\"28px 32px\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontFamily:\"Lato, sans-serif\",fontSize:22,fontWeight:700,lineHeight:1.3,color:titleColor},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:\"Lato, sans-serif\",fontSize:16,fontWeight:400,lineHeight:1.55,color:textColor},children:description}),/*#__PURE__*/_jsx(\"span\",{style:{marginTop:6,fontFamily:\"Lato, sans-serif\",fontSize:14,fontWeight:700,letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:accentColor},children:\"Lees meer →\"})]})]});}ServiceCard.defaultProps={title:\"Dienst titel\",description:\"Korte beschrijving van deze dienst. Bewerk of koppel aan een CMS-veld.\",image:\"https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1200&q=80\",link:\"/\",cardBg:\"#FFFFFF\",titleColor:\"#51483F\",textColor:\"#7A6F64\",accentColor:\"#A1806E\",imageHeight:220,radius:10};addPropertyControls(ServiceCard,{title:{type:ControlType.String,title:\"Titel\"},description:{type:ControlType.String,title:\"Beschrijving\",displayTextArea:true},image:{type:ControlType.Image,title:\"Afbeelding\"},link:{type:ControlType.Link,title:\"Link\"},cardBg:{type:ControlType.Color,title:\"Kaart Achtergrond\",defaultValue:\"#FFFFFF\"},titleColor:{type:ControlType.Color,title:\"Titel Kleur\",defaultValue:\"#51483F\"},textColor:{type:ControlType.Color,title:\"Tekst Kleur\",defaultValue:\"#7A6F64\"},accentColor:{type:ControlType.Color,title:\"Accent Kleur\",defaultValue:\"#A1806E\"},imageHeight:{type:ControlType.Number,title:\"Afbeelding Hoogte\",min:120,max:480,step:10,unit:\"px\",defaultValue:220},radius:{type:ControlType.Number,title:\"Hoekradius\",min:0,max:32,step:1,unit:\"px\",defaultValue:10}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ServiceCard\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ServiceCard.map"],"mappings":"A,4NAA4N,SAAwBU,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,cAAY,QAAM,OAAK,SAAO,aAAW,YAAU,cAAY,cAAY,UAAQC,EAAM,MAAoB,gBAAMP,EAAO,EAAE,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