var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.Community=void 0;var _react=_interopRequireDefault(require("react"));var _primitives=require("../../primitives");var _jsxRuntime=require("react/jsx-runtime");var Community=function Community(_ref){var communities=_ref.communities;return(0,_jsxRuntime.jsxs)(_primitives.VStack,{sx:{'@base':{mb:'$20'},'@md':{mb:200}},children:[(0,_jsxRuntime.jsxs)(_primitives.Box,{children:[(0,_jsxRuntime.jsx)(_primitives.Text,{fontWeight:"$bold",lineHeight:"$4xl",color:"$textDark50",textAlign:"center",sx:{'@base':{fontSize:'$4xl'},'@md':{fontSize:'$5xl'}},children:"Community"}),(0,_jsxRuntime.jsx)(_primitives.Text,{color:"$textDark400",textAlign:"center",mt:"$3",fontSize:"$xl",lineHeight:"$xl",children:"Get involved in our community. Everyone is welcome!"})]}),(0,_jsxRuntime.jsx)(_primitives.Box,{flexWrap:"wrap",pt:60,sx:{'@md':{flexDirection:'row'}},children:communities.map(function(community,key){return(0,_jsxRuntime.jsx)(_primitives.Link,{sx:{'@base':{mb:key===(communities==null?void 0:communities.length)-1?0:'$4'},'@md':{mb:0,mr:key===(communities==null?void 0:communities.length)-1?0:'$1.5',ml:key===0?0:'$1.5'},':focusVisible':{_web:{outlineWidth:0},borderColor:'$primary700'}},flex:1,borderRadius:"$xl",overflow:"hidden",borderWidth:"$1",borderColor:"$borderDark700",href:community.link,isExternal:true,children:(0,_jsxRuntime.jsxs)(_primitives.VStack,{space:"md",p:"$6",children:[(0,_jsxRuntime.jsxs)(_primitives.HStack,{alignItems:"center",children:[community.icon,(0,_jsxRuntime.jsx)(_primitives.Text,{fontSize:"$xl",fontWeight:"$medium",lineHeight:"$xl",color:"$textDark50",ml:"$3",children:community.name})]}),(0,_jsxRuntime.jsx)(_primitives.Text,{color:"$textDark400",flexWrap:"wrap",lineHeight:"$md",children:community.description})]})},key);})})]});};exports.Community=Community;var _default=Community;exports.default=_default;
//# sourceMappingURL=index.js.map