{"version":3,"file":"Groet.9JBC9UG1.mjs","names":[],"sources":["https:/framerusercontent.com/modules/xdedpkE40V83hR7Er0QD/LiU8sdyyTQRHLHBDMREB/Open_button.js","https:/framerusercontent.com/modules/uCOh8DMbTNfznjVftIBT/gRT63wd5q2i5y2klC1PF/Groet.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function ZenchefButton({label}){return /*#__PURE__*/_jsx(\"a\",{href:\"#zc-action-open\",style:styles.button,children:label});}ZenchefButton.defaultProps={label:\"Reserveren\"};addPropertyControls(ZenchefButton,{label:{type:ControlType.String,title:\"Knoptekst\"}});const styles={button:{display:\"inline-block\",padding:\"0\",backgroundColor:\"#000\",color:\"#fff\",textDecoration:\"none\",borderRadius:\"8px\",fontWeight:\"500\",fontSize:\"0px\",cursor:\"pointer\",transition:\"background 0.2s\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"ZenchefButton\":{\"type\":\"reactComponent\",\"name\":\"ZenchefButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Open_button.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function Groet({fontWeight=400,fontSize=16,color=\"#000000\"}){const now=new Date;const hour=now.getHours();let groetText=\"\";if(hour>=4&&hour<12){groetText=\"Goedemorgen\";}else if(hour>=12&&hour<18){groetText=\"Goedemiddag\";}else if(hour>=18&&hour<24){groetText=\"Goedenavond\";}else{groetText=\"Goedenacht\";}return /*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"Merriweather, serif\",fontWeight:fontWeight,fontSize:fontSize,color:color},children:groetText});}addPropertyControls(Groet,{fontWeight:{type:ControlType.Enum,title:\"Font Weight\",options:[100,200,300,400,500,600,700,800,900,\"normal\",\"bold\",\"bolder\",\"lighter\"],optionTitles:[\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\",\"normal\",\"bold\",\"bolder\",\"lighter\"],defaultValue:400},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:72,unit:\"px\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"Groet\":{\"type\":\"reactComponent\",\"name\":\"Groet\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Groet.map"],"mappings":"iOAA+F,SAAgB,EAAc,CAAC,SAAO,CAAC,OAAoB,EAAK,IAAI,CAAC,KAAK,kBAAkB,MAAM,EAAO,OAAO,SAAS,EAAM,CAAC,oBAApL,IAAoD,CAAkI,EAAc,aAAa,CAAC,MAAM,aAAa,CAAC,EAAoB,EAAc,CAAC,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,CAAC,CAAC,CAAO,EAAO,CAAC,OAAO,CAAC,QAAQ,eAAe,QAAQ,IAAI,gBAAgB,OAAO,MAAM,OAAO,eAAe,OAAO,aAAa,MAAM,WAAW,MAAM,SAAS,MAAM,OAAO,UAAU,WAAW,kBAAkB,CAAC,ICA9d,SAAgB,EAAM,CAAC,aAAW,IAAI,WAAS,GAAG,QAAM,WAAW,CAAoB,IAAM,EAAf,IAAI,MAAI,CAAgB,UAAU,CAAK,EAAU,GAAsL,MAAnL,CAA2J,EAAxJ,GAAM,GAAG,EAAK,GAAc,cAAuB,GAAM,IAAI,EAAK,GAAc,cAAuB,GAAM,IAAI,EAAK,GAAc,cAA8B,aAAkC,EAAK,MAAM,CAAC,MAAM,CAAC,WAAW,sBAAiC,aAAoB,WAAe,QAAM,CAAC,SAAS,EAAU,CAAC,kBAA1f,IAAoD,CAAwc,EAAoB,EAAM,CAAC,WAAW,CAAC,KAAK,EAAY,KAAK,MAAM,cAAc,QAAQ,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IA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