{"version":3,"file":"HeroSplit.BBwl18rb.mjs","names":[],"sources":["https:/framerusercontent.com/modules/pUbbXdMdXibwQ2bdz5mG/em19WRbB1xtpWtP7QCxA/HeroSplit.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const FONTS=\"https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Ubuntu&display=swap\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function HeroSplit(props){const{eyebrow=\"\",image=\"\",imageAlt=\"\",imagePosition=\"center\",heading=\"Cape Town Airport Transfers Made Easy\",text=\"Use our App to instantly book safe and reliable airport transfers and shuttle services for your Cape Town transport needs.\",buttonLabel=\"Get Your Instant Quote\",buttonUrl=\"https://app.surecape.co.za/\",phoneDisplay=\"+27 64 043 2833\",phoneHref=\"tel:+27640432833\"}=props;const src=w=>image.includes(\"framerusercontent.com\")?`${image}?scale-down-to=${w}`:image;const css=`\n.shs{width:100%;display:grid;grid-template-columns:1fr 1fr;min-height:540px;box-sizing:border-box}\n.shs *{box-sizing:border-box}\n.shs-img{position:relative;overflow:hidden;background:#0B2E2F}\n.shs-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}\n.shs-panel{background:rgb(0,128,128);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:48px clamp(24px,5vw,72px)}\n.shs h1{margin:0 0 18px;font-family:Ubuntu,\"Plus Jakarta Sans\",sans-serif;font-weight:400;font-size:44px;line-height:1.2;color:rgb(255,218,99);max-width:440px}\n.shs-eb{margin:0 0 12px;font-family:\"Open Sans\",arial,sans-serif;font-weight:700;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:#fff;opacity:.85}\n.shs h1.shs-long{font-size:34px;max-width:480px}\n.shs p{margin:0 0 28px;font-family:\"Open Sans\",arial,sans-serif;font-size:22px;line-height:1.5;color:rgb(211,211,211);max-width:440px}\n.shs-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 40px;border-radius:48px;background:#fff;color:rgb(48,48,48);font-family:\"Open Sans\",arial,sans-serif;font-weight:700;font-size:14px;letter-spacing:.063em;text-transform:uppercase;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}\n.shs-btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.18)}\n.shs-tel{margin-top:22px;font-family:\"Open Sans\",arial,sans-serif;font-weight:700;font-size:22px;line-height:1.5;color:rgb(255,218,99);text-decoration:none}\n@media (max-width:767px){\n .shs{grid-template-columns:1fr;min-height:0}\n .shs-img{height:300px}\n .shs-panel{padding:24px 24px 32px}\n .shs h1{font-size:32px;margin-bottom:14px}\n .shs h1.shs-long{font-size:26px}\n .shs-eb{font-size:12px}\n .shs p{font-size:20px;margin-bottom:24px}\n .shs-btn{width:100%;min-height:52px}\n}\n`;return /*#__PURE__*/_jsxs(\"section\",{className:\"shs\",style:{width:\"100%\"},children:[/*#__PURE__*/_jsx(\"link\",{rel:\"stylesheet\",href:FONTS}),/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"div\",{className:\"shs-img\",children:image?/*#__PURE__*/_jsx(\"img\",{src:src(1024),srcSet:image.includes(\"framerusercontent.com\")?`${src(512)} 512w, ${src(1024)} 1024w, ${image} 2048w`:undefined,sizes:\"(max-width: 767px) 100vw, 50vw\",alt:imageAlt,fetchPriority:\"high\",style:{objectPosition:imagePosition}}):null}),/*#__PURE__*/_jsxs(\"div\",{className:\"shs-panel\",children:[eyebrow?/*#__PURE__*/_jsx(\"p\",{className:\"shs-eb\",children:eyebrow}):null,/*#__PURE__*/_jsx(\"h1\",{className:heading.length>55?\"shs-long\":undefined,children:heading}),/*#__PURE__*/_jsx(\"p\",{children:text}),/*#__PURE__*/_jsx(\"a\",{className:\"shs-btn\",href:buttonUrl,children:buttonLabel}),/*#__PURE__*/_jsx(\"a\",{className:\"shs-tel\",href:phoneHref,children:phoneDisplay})]})]});}addPropertyControls(HeroSplit,{eyebrow:{type:ControlType.String,title:\"Label above heading\"},image:{type:ControlType.String,title:\"Image URL\"},imageAlt:{type:ControlType.String,title:\"Image Alt\"},imagePosition:{type:ControlType.String,title:\"Image Position\",defaultValue:\"center\"},heading:{type:ControlType.String,title:\"Heading\"},text:{type:ControlType.String,title:\"Text\",displayTextArea:true},buttonLabel:{type:ControlType.String,title:\"Button Label\"},buttonUrl:{type:ControlType.String,title:\"Button URL\"},phoneDisplay:{type:ControlType.String,title:\"Phone\"},phoneHref:{type:ControlType.String,title:\"Phone Link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroSplit\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroSplit.map"],"mappings":"mKAGG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,UAAQ,GAAG,QAAM,GAAG,WAAS,GAAG,gBAAc,SAAS,UAAQ,wCAAwC,OAAK,6HAA6H,cAAY,yBAAyB,YAAU,8BAA8B,eAAa,kBAAkB,YAAU,oBAAoB,EAAY,EAAI,GAAG,EAAM,SAAS,uBAAuB,EAAE,GAAG,EAAM,iBAAiB,IAAI,EAuB5f,OAAoB,EAAM,UAAU,CAAC,UAAU,MAAM,MAAM,CAAC,MAAM,MAAM,EAAE,SAAS,CAAc,EAAK,OAAO,CAAC,IAAI,aAAa,KAAK,CAAK,CAAC,EAAe,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;CAAG,CAAC,EAAe,EAAK,MAAM,CAAC,UAAU,UAAU,SAAS,EAAmB,EAAK,MAAM,CAAC,IAAI,EAAI,IAAI,EAAE,OAAO,EAAM,SAAS,uBAAuB,EAAE,GAAG,EAAI,GAAG,EAAE,SAAS,EAAI,IAAI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