{"version":3,"file":"grid_3_simple.9YE0-RWT.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/vl9xlSkKb11nrmOQ0BBg/LhTCE7WFVo8PCtYDFNau/grid_3_simple.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 483\n */export default function Grid_3_simple(props){const{sectionBackground=\"#F6F9FC\",headingText=\"More resources\",headingColor=\"#0A2540\",labelColor=\"#FF7600\",descriptionColor=\"#425466\",cardBackground=\"#FFFFFF\",card1Label=\"Guide\",card1Title=\"AMA with Marc Andreessen\",card1Desc=\"\",card1Link=\"https://www.naologic.com\",card2Label=\"Guide\",card2Title=\"How to incorporate a business\",card2Desc=\"\",card2Link=\"https://www.naologic.com\",card3Label=\"Guide\",card3Title=\"Indexing the AI economy\",card3Desc=\"\",card3Link=\"https://www.naologic.com\"}=props;const[windowWidth,setWindowWidth]=useState(typeof window!==\"undefined\"?window.innerWidth:1200);useEffect(()=>{const handleResize=()=>setWindowWidth(window.innerWidth);window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);},[]);const isMobile=windowWidth<640;const isTablet=windowWidth>=640&&windowWidth<1024;const cards=[{label:card1Label,title:card1Title,desc:card1Desc,link:card1Link},{label:card2Label,title:card2Title,desc:card2Desc,link:card2Link},{label:card3Label,title:card3Title,desc:card3Desc,link:card3Link}];const gridColumns=isMobile?\"1fr\":isTablet?\"1fr 1fr\":\"1fr 1fr 1fr\";return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",backgroundColor:sectionBackground,display:\"flex\",justifyContent:\"center\",padding:0,boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:1200,padding:\"95px 16px 128px\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"h1\",{style:{fontFamily:\"'sohne-var', 'Helvetica Neue', Arial, sans-serif\",fontSize:38,fontWeight:500,color:headingColor,lineHeight:\"48px\",letterSpacing:\"-0.2px\",margin:0,marginBottom:64},children:headingText}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:gridColumns,gap:\"24px 16px\"},children:cards.map((card,i)=>/*#__PURE__*/_jsx(\"a\",{href:card.link,target:\"_blank\",rel:\"noopener noreferrer\",style:{textDecoration:\"none\",color:\"inherit\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{backgroundColor:cardBackground,borderRadius:8,boxShadow:\"rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px\",padding:\"32px 24px 24px\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:\"'sohne-var', 'Helvetica Neue', Arial, sans-serif\",fontSize:12,fontWeight:500,color:labelColor,display:\"block\",paddingBottom:3},children:card.label}),/*#__PURE__*/_jsx(\"h3\",{style:{fontFamily:\"'sohne-var', 'Helvetica Neue', Arial, sans-serif\",fontSize:18,fontWeight:500,color:headingColor,margin:0,lineHeight:\"28px\"},children:card.title}),card.desc&&/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"'sohne-var', 'Helvetica Neue', Arial, sans-serif\",fontSize:15,fontWeight:400,color:descriptionColor,margin:0,marginTop:12,lineHeight:\"24px\"},children:card.desc})]})},i))})]})});}addPropertyControls(Grid_3_simple,{sectionBackground:{title:\"Background\",type:ControlType.Color,defaultValue:\"#F6F9FC\"},headingText:{title:\"Heading\",type:ControlType.String,defaultValue:\"More resources\"},headingColor:{title:\"Heading Color\",type:ControlType.Color,defaultValue:\"#0A2540\"},labelColor:{title:\"Label Color\",type:ControlType.Color,defaultValue:\"#FF7600\"},descriptionColor:{title:\"Description Color\",type:ControlType.Color,defaultValue:\"#425466\"},cardBackground:{title:\"Card Background\",type:ControlType.Color,defaultValue:\"#FFFFFF\"},card1Label:{title:\"Card 1 Label\",type:ControlType.String,defaultValue:\"Guide\"},card1Title:{title:\"Card 1 Title\",type:ControlType.String,defaultValue:\"AMA with Marc Andreessen\"},card1Desc:{title:\"Card 1 Description\",type:ControlType.String,defaultValue:\"\"},card1Link:{title:\"Card 1 Link\",type:ControlType.String,defaultValue:\"https://www.naologic.com\"},card2Label:{title:\"Card 2 Label\",type:ControlType.String,defaultValue:\"Guide\"},card2Title:{title:\"Card 2 Title\",type:ControlType.String,defaultValue:\"How to incorporate a business\"},card2Desc:{title:\"Card 2 Description\",type:ControlType.String,defaultValue:\"\"},card2Link:{title:\"Card 2 Link\",type:ControlType.String,defaultValue:\"https://www.naologic.com\"},card3Label:{title:\"Card 3 Label\",type:ControlType.String,defaultValue:\"Guide\"},card3Title:{title:\"Card 3 Title\",type:ControlType.String,defaultValue:\"Indexing the AI economy\"},card3Desc:{title:\"Card 3 Description\",type:ControlType.String,defaultValue:\"\"},card3Link:{title:\"Card 3 Link\",type:ControlType.String,defaultValue:\"https://www.naologic.com\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Grid_3_simple\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"1200\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"483\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./grid_3_simple.map"],"mappings":"sMAKG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,oBAAkB,UAAU,cAAY,iBAAiB,eAAa,UAAU,aAAW,UAAU,mBAAiB,UAAU,iBAAe,UAAU,aAAW,QAAQ,aAAW,2BAA2B,YAAU,GAAG,YAAU,2BAA2B,aAAW,QAAQ,aAAW,gCAAgC,YAAU,GAAG,YAAU,2BAA2B,aAAW,QAAQ,aAAW,0BAA0B,YAAU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