{"version":3,"file":"stack_3_images_dark.CSxcR134.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/MOBTq6ybzpAK1cNL3vAF/Z4L9x29QVGxc4ep1mXwD/stack_3_images_dark.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useRef,useState,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 1000\n */export default function Stack_3_images_dark(props){const{headingBold=\"Choose an integration path.\",headingLight=\"With AI-powered support, rich documentation, and built-in debugging tools, you can quickly get started with the best option for your business.\",card1Title=\"Don’t code?\",card1Desc=\"Set up billing, take in-person payments, or share a payment link – right from the Naologic Dashboard, no code required.\",card1Cta=\"Explore no-code\",card1Link=\"#\",card2Title=\"Use a pre-integrated platform.\",card2Desc=\"Browse our directory of platforms that integrate Naologic with website-building tools.\",card2Cta=\"See directory\",card2Link=\"#\",card3Title=\"Build your own integration.\",card3Desc=\"Use our SDKs, APIs, MCP server and AI developer tools to build and maintain your own integration with Naologic.\",card3Cta=\"Get started\",card3Link=\"#\",cardImage1,cardImage2,cardImage3,card1ImageAltText=\"\",card2ImageAltText=\"\",card3ImageAltText=\"\",bgColor=\"#0d1738\",style}=props;var containerRef=useRef(null);var cols=useState(3);var colCount=cols[0];var setColCount=cols[1];useEffect(function(){var node=containerRef.current;if(!node)return;var ro=new ResizeObserver(function(entries){var w=entries[0].contentRect.width;if(w<580){setColCount(1);}else if(w<900){setColCount(2);}else{setColCount(3);}});ro.observe(node);return function(){ro.disconnect();};},[]);var font=\"'Inter', system-ui, -apple-system, sans-serif\";var imgBox={width:\"100%\",height:0,paddingBottom:\"75%\",borderRadius:12,overflow:\"hidden\",position:\"relative\",border:\"1px solid rgba(255,255,255,0.08)\",background:\"#1a1f36\"};var imgStyle={position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"};var placeholderStyle={position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"rgba(255,255,255,0.2)\",fontSize:14,fontFamily:font};var cardWidth=colCount===1?\"100%\":colCount===2?\"calc(50% - 16px)\":\"calc(33.333% - 22px)\";var cardStyle={display:\"flex\",flexDirection:\"column\",gap:20,width:cardWidth,boxSizing:\"border-box\"};var ctaStyle={display:\"inline-flex\",alignItems:\"center\",gap:6,color:\"#7389ff\",fontSize:16,fontWeight:500,textDecoration:\"none\",cursor:\"pointer\",lineHeight:1.5,fontFamily:font};var arrowSvg=/*#__PURE__*/_jsx(\"svg\",{width:\"13\",height:\"12\",viewBox:\"0 0 13 12\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 6H11.5M11.5 6L7 1.5M11.5 6L7 10.5\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});var cards=[{title:card1Title,desc:card1Desc,cta:card1Cta,link:card1Link,img:cardImage1,alt:card1ImageAltText},{title:card2Title,desc:card2Desc,cta:card2Cta,link:card2Link,img:cardImage2,alt:card2ImageAltText},{title:card3Title,desc:card3Desc,cta:card3Cta,link:card3Link,img:cardImage3,alt:card3ImageAltText}];return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{...style||{},width:\"100%\",backgroundColor:bgColor,display:\"flex\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:1200,padding:colCount===1?\"60px 20px\":\"80px 24px\",display:\"flex\",flexDirection:\"column\",gap:colCount===1?36:48,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{maxWidth:680},children:/*#__PURE__*/_jsxs(\"p\",{style:{margin:0,fontSize:colCount===1?18:22,lineHeight:1.45,fontFamily:font},children:[/*#__PURE__*/_jsx(\"strong\",{style:{color:\"#fff\",fontWeight:600},children:headingBold}),\" \",/*#__PURE__*/_jsx(\"span\",{style:{color:\"rgba(255,255,255,0.55)\"},children:headingLight})]})}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:32,width:\"100%\"},children:cards.map(function(card,i){return /*#__PURE__*/_jsxs(\"div\",{style:cardStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:imgBox,children:card.img?/*#__PURE__*/_jsx(\"img\",{src:card.img,alt:card.alt,style:imgStyle}):/*#__PURE__*/_jsx(\"div\",{style:placeholderStyle,children:\"Add image in properties\"})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsxs(\"p\",{style:{margin:0,fontSize:16,lineHeight:1.5,fontFamily:font},children:[/*#__PURE__*/_jsx(\"strong\",{style:{color:\"#fff\",fontWeight:600},children:card.title}),\" \",/*#__PURE__*/_jsx(\"span\",{style:{color:\"rgba(255,255,255,0.55)\"},children:card.desc})]}),/*#__PURE__*/_jsxs(\"a\",{href:card.link,style:ctaStyle,children:[/*#__PURE__*/_jsx(\"span\",{children:card.cta}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\"},children:arrowSvg})]})]})]},i);})})]})});}addPropertyControls(Stack_3_images_dark,{bgColor:{title:\"Background\",type:ControlType.Color,defaultValue:\"#0d1738\"},headingBold:{title:\"Heading Bold\",type:ControlType.String,defaultValue:\"Choose an integration path.\"},headingLight:{title:\"Heading Light\",type:ControlType.String,defaultValue:\"With AI-powered support, rich documentation, and built-in debugging tools, you can quickly get started with the best option for your business.\",displayTextArea:true},cardImage1:{title:\"Card 1 Image\",type:ControlType.Image},card1ImageAltText:{title:\"Image 1 Alt Text\",type:ControlType.String,defaultValue:\"\"},card1Title:{title:\"Card 1 Title\",type:ControlType.String,defaultValue:\"Don’t code?\"},card1Desc:{title:\"Card 1 Desc\",type:ControlType.String,defaultValue:\"Set up billing, take in-person payments, or share a payment link – right from the Naologic Dashboard, no code required.\",displayTextArea:true},card1Cta:{title:\"Card 1 CTA\",type:ControlType.String,defaultValue:\"Explore no-code\"},card1Link:{title:\"Card 1 Link\",type:ControlType.Link},cardImage2:{title:\"Card 2 Image\",type:ControlType.Image},card2ImageAltText:{title:\"Image 2 Alt Text\",type:ControlType.String,defaultValue:\"\"},card2Title:{title:\"Card 2 Title\",type:ControlType.String,defaultValue:\"Use a pre-integrated platform.\"},card2Desc:{title:\"Card 2 Desc\",type:ControlType.String,defaultValue:\"Browse our directory of platforms that integrate Naologic with website-building tools.\",displayTextArea:true},card2Cta:{title:\"Card 2 CTA\",type:ControlType.String,defaultValue:\"See directory\"},card2Link:{title:\"Card 2 Link\",type:ControlType.Link},cardImage3:{title:\"Card 3 Image\",type:ControlType.Image},card3ImageAltText:{title:\"Image 3 Alt Text\",type:ControlType.String,defaultValue:\"\"},card3Title:{title:\"Card 3 Title\",type:ControlType.String,defaultValue:\"Build your own integration.\"},card3Desc:{title:\"Card 3 Desc\",type:ControlType.String,defaultValue:\"Use our SDKs, APIs, MCP server and AI developer tools to build and maintain your own integration with Naologic.\",displayTextArea:true},card3Cta:{title:\"Card 3 CTA\",type:ControlType.String,defaultValue:\"Get started\"},card3Link:{title:\"Card 3 Link\",type:ControlType.Link}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Stack_3_images_dark\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1000\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./stack_3_images_dark.map"],"mappings":"+LAKG,SAAwB,EAAoB,EAAM,CAAC,GAAK,CAAC,cAAY,8BAA8B,eAAa,iJAAiJ,aAAW,cAAc,YAAU,0HAA0H,WAAS,kBAAkB,YAAU,IAAI,aAAW,iCAAiC,YAA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