{"version":3,"file":"StoreButtons.CVceuHzj.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Xe9geq7HLNIvfYb0Uknl/TMmivaudxr2jpKgooOGg/StoreButtons.js"],"sourcesContent":["// Wonderland: Google Play + App Store buttons as a block in the page flow, centred. Used on phones\n// between the hero heading and the banner video (the NavBar's own buttons are hidden on phones).\n// Show on: all / desktop only / phone only (pure CSS, breakpoint 760px).\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const APPLE_ICON=\"https://framerusercontent.com/images/caZkXLl6Ju2aFJ52ZRqbel1eo.svg\";const PLAY_ICON=\"https://framerusercontent.com/images/3dIyI6SX3uVgwuJvmBYwxU3jwI.svg\";function StoreButton({href,icon,label}){return /*#__PURE__*/_jsxs(\"a\",{href:href,target:\"_blank\",rel:\"noopener\",style:{display:\"inline-flex\",alignItems:\"center\",gap:8,padding:\"12px 18px\",borderRadius:12,background:\"#fff\",color:\"#000\",textDecoration:\"none\",fontFamily:'\"Inter Tight\", \"Inter\", sans-serif',fontWeight:700,fontSize:15,letterSpacing:\"-0.02em\",lineHeight:1.2,whiteSpace:\"nowrap\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"img\",{src:icon,alt:\"\",width:16,height:16,style:{display:\"block\"}}),label]});}/**\n * @framerIntrinsicWidth 390\n * @framerIntrinsicHeight 46\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function StoreButtons(props){const{appStoreUrl,playStoreUrl,showOn=\"phone\",topGap=40,style}=props;return /*#__PURE__*/_jsxs(\"div\",{\"data-sb-show\":showOn,style:{width:\"100%\",display:\"flex\",gap:10,justifyContent:\"center\",flexWrap:\"wrap\",paddingTop:topGap,boxSizing:\"border-box\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`@media (max-width: 759px){[data-sb-show=\"desktop\"]{display:none !important}} @media (min-width: 760px){[data-sb-show=\"phone\"]{display:none !important}}`}),/*#__PURE__*/_jsx(StoreButton,{href:playStoreUrl,icon:PLAY_ICON,label:\"Google Play\"}),/*#__PURE__*/_jsx(StoreButton,{href:appStoreUrl,icon:APPLE_ICON,label:\"App Store\"})]});}addPropertyControls(StoreButtons,{appStoreUrl:{type:ControlType.String,title:\"App Store\",defaultValue:\"https://apps.apple.com/app/sleep-sounds-by-wonderland/id6748259963\"},playStoreUrl:{type:ControlType.String,title:\"Google Play\",defaultValue:\"https://play.google.com/store/apps/details?id=com.sleepdj.app\"},showOn:{type:ControlType.Enum,title:\"Show on\",options:[\"all\",\"desktop\",\"phone\"],optionTitles:[\"All\",\"Desktop only\",\"Phone only\"],defaultValue:\"phone\"},topGap:{type:ControlType.Number,title:\"Gap above\",min:0,max:200,defaultValue:40,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StoreButtons\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"46\",\"framerIntrinsicWidth\":\"390\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StoreButtons.map"],"mappings":"mKAGyR,SAAS,EAAY,CAAC,OAAK,OAAK,SAAO,CAAC,OAAoB,EAAM,IAAI,CAAM,OAAK,OAAO,SAAS,IAAI,WAAW,MAAM,CAAC,QAAQ,cAAc,WAAW,SAAS,IAAI,EAAE,QAAQ,YAAY,aAAa,GAAG,WAAW,OAAO,MAAM,OAAO,eAAe,OAAO,WAAW,qCAAqC,WAAW,IAAI,SAAS,GAAG,cAAc,UAAU,WAAW,IAAI,WAAW,SAAS,WAAW,CAAC,EAAE,SAAS,CAAc,EAAK,MAAM,CAAC,IAAI,EAAK,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC,QAAQ,OAAO,CAAC,CAAC,EAAE,CAAK,CAAC,CAAC,CAAE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