{"version":3,"file":"FeatureTiles.CBp9Thpc.mjs","names":[],"sources":["https:/framerusercontent.com/modules/0kItzGcUBfvIDrJ072DP/qEbUncyEupVEWtPtpHnC/FeatureTiles.js"],"sourcesContent":["// Dlaždice (FeatureTiles) component with responsive horizontal layout for 3 tiles, always visible and side by side for 3 items\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Dlaždice (FeatureTiles)\n *\n * @framerIntrinsicWidth 1100\n * @framerIntrinsicHeight 240\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FeatureTiles(props){const{tiles=[{icon:\"🏆\",heading:\"⏳ Kolik hodin d\\xe1š?\",text:\"Stač\\xed půl \\xfavazek, pokud m\\xe1š chuť. Jestli chceš full-time, t\\xedm l\\xedp.\",highlight:false},{icon:\"🏝️\",heading:\"Remote pr\\xe1ce\",text:\"100 % remote - pracuj odkudkoliv (ale můžeš za n\\xe1mi do WeWorku)\",highlight:false},{icon:\"💰\",heading:\"Odměna\",text:\"Odměna dle tv\\xfdch zkušenost\\xed a velikosti \\xfavazku\",highlight:true}],background,textColor,highlightColor,font,style={}}=props;// Always show tiles side by side for 3 items, responsive for mobile\nreturn /*#__PURE__*/_jsxs(\"div\",{\"data-framer-component\":true,style:{width:\"100%\",minWidth:5,minHeight:5,height:style.height??240,display:\"flex\",flexDirection:\"row\",justifyContent:\"center\",alignItems:\"stretch\",gap:32,background:\"transparent\",padding:0,flexWrap:tiles.length>3?\"wrap\":\"nowrap\",boxSizing:\"border-box\",...style},children:[tiles.map((tile,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{background,color:textColor,borderRadius:28,minWidth:220,maxWidth:380,width:tiles.length===3?\"calc((100% - 64px) / 3)\":\"100%\",minHeight:120,boxShadow:\"0 2px 16px 0 rgba(0,0,0,0.08)\",display:\"flex\",flexDirection:\"column\",justifyContent:\"flex-start\",alignItems:\"flex-start\",padding:\"32px 32px 32px 32px\",fontSize:font.fontSize,fontWeight:font.variant,lineHeight:font.lineHeight,letterSpacing:font.letterSpacing,fontFamily:font.fontFamily,position:\"relative\",boxSizing:\"border-box\",flex:tiles.length===3?\"0 1 calc((100% - 64px) / 3)\":\"1 1 320px\",margin:0,transition:\"box-shadow 0.2s\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:36,marginBottom:16},children:tile.icon}),/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600,fontSize:20,marginBottom:8,color:textColor,fontFamily:font.fontFamily,lineHeight:1.2,letterSpacing:font.letterSpacing,display:\"block\"},children:tile.heading}),tile.highlight?/*#__PURE__*/_jsx(\"span\",{style:{background:highlightColor,borderRadius:6,padding:\"2px 4px\",color:textColor,fontSize:font.fontSize,fontWeight:font.variant,lineHeight:font.lineHeight,letterSpacing:font.letterSpacing,fontFamily:font.fontFamily},children:tile.text}):/*#__PURE__*/_jsx(\"span\",{style:{fontSize:font.fontSize,fontWeight:font.variant,lineHeight:font.lineHeight,letterSpacing:font.letterSpacing,fontFamily:font.fontFamily},children:tile.text})]},i)),/*#__PURE__*/_jsx(\"style\",{children:`\n        @media (max-width: 900px) {\n          div[data-framer-component] {\n            flex-direction: column !important;\n            gap: 20px !important;\n            align-items: stretch !important;\n          }\n          div[data-framer-component] > div {\n            min-width: 0 !important;\n            max-width: 100% !important;\n            width: 100% !important;\n            margin-left: 0 !important;\n            margin-right: 0 !important;\n            display: flex !important;\n            flex-direction: column !important;\n          }\n        }\n        @media (min-width: 901px) {\n          div[data-framer-component] {\n            flex-direction: row !important;\n            gap: 32px !important;\n            align-items: stretch !important;\n          }\n          div[data-framer-component] > div {\n            min-width: 220px !important;\n            max-width: 380px !important;\n            width: calc((100% - 64px) / 3) !important;\n            display: flex !important;\n            flex-direction: column !important;\n          }\n        }\n      `})]});}addPropertyControls(FeatureTiles,{tiles:{type:ControlType.Array,title:\"FeatureTiles\",control:{type:ControlType.Object,controls:{icon:{type:ControlType.String,title:\"Emoji\",defaultValue:\"🏆\"},heading:{type:ControlType.String,title:\"Nadpis\",defaultValue:\"⏳ Kolik hodin d\\xe1š?\"},text:{type:ControlType.String,title:\"Text\",defaultValue:\"Stač\\xed půl \\xfavazek, pokud m\\xe1š chuť. Jestli chceš full-time, t\\xedm l\\xedp.\",displayTextArea:true},highlight:{type:ControlType.Boolean,title:\"Highlight\",defaultValue:false}}},defaultValue:[{icon:\"🏆\",heading:\"⏳ Kolik hodin d\\xe1š?\",text:\"Stač\\xed půl \\xfavazek, pokud m\\xe1š chuť. Jestli chceš full-time, t\\xedm l\\xedp.\",highlight:false},{icon:\"🏝️\",heading:\"Remote pr\\xe1ce\",text:\"100 % remote - pracuj odkudkoliv (ale můžeš za n\\xe1mi do WeWorku)\",highlight:false},{icon:\"💰\",heading:\"Odměna\",text:\"Odměna dle tv\\xfdch zkušenost\\xed a velikosti \\xfavazku\",highlight:true}]},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#fff\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#111\"},highlightColor:{type:ControlType.Color,title:\"Highlight\",defaultValue:\"#eafbe3\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FeatureTiles\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1100\",\"framerIntrinsicHeight\":\"240\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FeatureTiles.map"],"mappings":"mKASG,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,CAAC,KAAK,KAAK,QAAQ,qBAAwB,KAA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