{"version":3,"file":"IntegrationsGrid.C075ArIv.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/U6jj3zUXVNScSZpyXPL0/MmxAvKIuN2Y6PJpTVfFD/IntegrationsGrid.js"],"sourcesContent":["// Integrations Grid — Framer Code Component (light theme)\n//\n// A light section: header (title + description) → a small list label → a grid of\n// integration cards, each with an UPLOADABLE image container, a name and a blurb\n// → a dark CTA pill. Uses the bubblehouse.com visual language (Rethink Sans,\n// 1440 max-width, rounded cards) in its white/light mode.\n//\n// Paste into: Assets > Code > + New Component\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const FONT=\"'Rethink Sans', sans-serif\";/* ── helpers ── */const clampN=(v,a,b)=>Math.max(a,Math.min(b,v));const hrefOf=v=>!v?\"\":typeof v===\"string\"?v:v.href||v.src||\"\";const imgSrc=v=>!v?\"\":typeof v===\"string\"?v:v.src||\"\";/* ── default content (edit here to sync everywhere) ── */const DEFAULT_ITEMS=[{title:\"Shopify POS\",image:\"\",body:\"Fashion brands with physical stores, pop-ups, or showrooms need in-store and online loyalty to feel like one program. Shopify POS makes that seamless — points, tiers, and rewards sync across every location in real time.\"},{title:\"Klaviyo\",image:\"\",body:\"When tier data flows into Klaviyo, fashion brands can send personalized, on-brand communications — early collection access for VIP members, tier upgrade nudges, birthday rewards — that feel premium, not generic.\"},{title:\"Okendo\",image:\"\",body:\"Fashion is visual and social-proof-driven. Connecting Okendo to Bubblehouse lets brands reward customers for leaving ratings, photo reviews, and UGC, turning loyal buyers into brand advocates who drive the next conversion.\"}];/* ── CSS (light theme) ── */const CSS=`\n.ig { position:relative; width:100%; box-sizing:border-box; font-family:${FONT}; background:var(--ig-bg,#f7f7f5); color:#08090a; -webkit-tap-highlight-color:transparent; border-top:1px solid rgba(8,9,10,var(--ig-topline,.06)); }\n.ig-wrap { position:relative; width:100%; max-width:var(--ig-mw,1440px); margin:0 auto; box-sizing:border-box; padding:var(--ig-pt,96px) 64px var(--ig-pb,96px); }\n\n/* header */\n.ig-head { display:flex; flex-direction:column; align-items:flex-start; gap:14px; max-width:760px; }\n.ig-title { font-size:clamp(30px,3.8vw,46px); font-weight:600; letter-spacing:-0.03em; line-height:1.05; margin:0; color:#08090a; }\n.ig-desc { font-size:clamp(14.5px,1.1vw,16px); line-height:1.6; color:rgba(8,9,10,.6); margin:0; max-width:64ch; }\n.ig-label { margin:clamp(34px,4vw,52px) 0 clamp(16px,1.8vw,24px); font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:rgba(8,9,10,.42); }\n\n/* grid */\n.ig-grid { display:grid; grid-template-columns:repeat(var(--ig-cols,3), minmax(0,1fr)); align-items:start; gap:clamp(18px,2vw,28px); }\n.ig-card { display:flex; flex-direction:column; align-items:flex-start; gap:18px; box-sizing:border-box; padding:clamp(22px,2.2vw,30px); border-radius:var(--ig-r,18px); background:#fff; box-shadow:inset 0 0 0 1px rgba(8,9,10,.08); transition:box-shadow .3s ease, transform .3s cubic-bezier(.2,.7,.2,1); }\n.ig-card:hover { box-shadow:inset 0 0 0 1px rgba(8,9,10,.16); transform:translateY(-3px); }\n\n/* uploadable logo — just the image, no box/stroke. Sized by HEIGHT so the full\n   logo always shows at its natural aspect ratio (never cropped). */\n.ig-img { flex:none; display:inline-flex; align-items:center; }\n.ig-img img { height:var(--ig-imgsz,44px); width:auto; max-width:100%; object-fit:contain; display:block; }\n.ig-img span { display:inline-flex; align-items:center; height:var(--ig-imgsz,44px); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:rgba(8,9,10,.35); }\n\n.ig-card-title { font-size:clamp(17px,1.4vw,20px); font-weight:600; letter-spacing:-0.01em; line-height:1.2; margin:0; color:#08090a; }\n.ig-card-body { font-size:14px; line-height:1.6; color:rgba(8,9,10,.58); margin:0; }\n.ig-card-link { margin-top:auto; }\n.ig-card a.ig-cardlink { color:inherit; text-decoration:none; }\n.ig-card a.ig-cardlink:focus-visible { outline:2px solid #08090a; outline-offset:3px; border-radius:6px; }\n\n/* CTA pill — solid dark, subtly lifts on hover */\n.ig-cta { align-self:flex-start; display:inline-flex; align-items:center; min-height:48px; margin-top:clamp(28px,3vw,44px); padding:0 26px; border-radius:999px; background:#08090a; color:#fff; font-family:${FONT}; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; white-space:nowrap; text-decoration:none; cursor:pointer; border:none; transition:background .28s ease; }\n.ig-cta:hover { background:#1b1d22; }\n.ig-cta:focus-visible { outline:2px solid #08090a; outline-offset:3px; }\n\n/* responsive (viewport media — robust inside Framer breakpoints) */\n@media (min-width:810px) and (max-width:1279px) { .ig-wrap { padding-left:40px; padding-right:40px; } }\n@media (max-width:899px) { .ig-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }\n@media (max-width:809px) { .ig-wrap { padding-left:22px; padding-right:22px; padding-top:clamp(48px,10vw,72px); } }\n@media (max-width:600px) { .ig-grid { grid-template-columns:1fr !important; } }\n`;/* ── card ── */function Card({item,showTitles}){const src=imgSrc(item.image);const href=hrefOf(item.link);const inner=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{className:\"ig-img\",children:src?/*#__PURE__*/_jsx(\"img\",{src:src,alt:item.title||\"\"}):/*#__PURE__*/_jsx(\"span\",{children:\"Logo\"})}),showTitles&&item.title?/*#__PURE__*/_jsx(\"h3\",{className:\"ig-card-title\",children:item.title}):null,item.body?/*#__PURE__*/_jsx(\"p\",{className:\"ig-card-body\",children:item.body}):null]});if(href){return /*#__PURE__*/_jsx(\"div\",{className:\"ig-card\",children:/*#__PURE__*/_jsx(\"a\",{className:\"ig-cardlink\",href:href,target:item.newTab?\"_blank\":undefined,rel:item.newTab?\"noopener noreferrer\":undefined,style:{display:\"contents\"},children:inner})});}return /*#__PURE__*/_jsx(\"div\",{className:\"ig-card\",children:inner});}/* ── component ── */// @framerSupportedLayoutWidth any\n// @framerSupportedLayoutHeight any\n// @framerIntrinsicWidth 1360\n// @framerIntrinsicHeight 620\nexport default function IntegrationsGrid(props){const{title=\"Integrations For Fashion Brands\",description=\"Connect Bubblehouse to the tools you already use — in-store, online, and everywhere in between. Loyalty points, tier status, and customer data sync in real time across your entire stack with no custom development required.\",listLabel=\"Top integrations for fashion brands:\",showTitles=true,items=DEFAULT_ITEMS,ctaLabel=\"Check out all integrations\",ctaLink,ctaNewTab=false,card1Logo,card2Logo,card3Logo,columns=3,imageSize=44,maxWidth=1440,roundness=18,paddingTop=96,paddingBottom=96,topLine=6,background=\"#f7f7f5\"}=props;const list=Array.isArray(items)&&items.length?items:DEFAULT_ITEMS;const logoOverrides=[card1Logo,card2Logo,card3Logo];const resolvedList=list.map((item,index)=>{const override=logoOverrides[index];const overrideSrc=imgSrc(override);if(index<3&&overrideSrc){return{...item,image:override};}return item;});const ctaHref=hrefOf(ctaLink);const hostStyle={[\"--ig-bg\"]:background,[\"--ig-mw\"]:`${maxWidth}px`,[\"--ig-r\"]:`${roundness}px`,[\"--ig-pt\"]:`${paddingTop}px`,[\"--ig-pb\"]:`${paddingBottom}px`,[\"--ig-cols\"]:`${clampN(columns,1,4)}`,[\"--ig-imgsz\"]:`${imageSize}px`,[\"--ig-topline\"]:`${clampN(topLine,0,100)/100}`};return /*#__PURE__*/_jsxs(\"section\",{className:\"ig\",style:hostStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"ig-wrap\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"ig-head\",children:[title?/*#__PURE__*/_jsx(\"h2\",{className:\"ig-title\",children:title}):null,description?/*#__PURE__*/_jsx(\"p\",{className:\"ig-desc\",children:description}):null]}),listLabel?/*#__PURE__*/_jsx(\"div\",{className:\"ig-label\",children:listLabel}):null,/*#__PURE__*/_jsx(\"div\",{className:\"ig-grid\",children:resolvedList.map((it,i)=>/*#__PURE__*/_jsx(Card,{item:it,showTitles:showTitles},i))}),ctaLabel?/*#__PURE__*/_jsx(\"a\",{className:\"ig-cta\",href:ctaHref||undefined,target:ctaNewTab?\"_blank\":undefined,rel:ctaNewTab?\"noopener noreferrer\":undefined,onClick:e=>!ctaHref&&e.preventDefault(),children:ctaLabel}):null]})]});}addPropertyControls(IntegrationsGrid,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Integrations For Fashion Brands\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"Connect Bubblehouse to the tools you already use — in-store, online, and everywhere in between. Loyalty points, tier status, and customer data sync in real time across your entire stack with no custom development required.\"},listLabel:{type:ControlType.String,title:\"List Label\",defaultValue:\"Top integrations for fashion brands:\"},showTitles:{type:ControlType.Boolean,title:\"Card Titles\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true},items:{type:ControlType.Array,title:\"Cards\",maxCount:12,control:{type:ControlType.Object,controls:{image:{type:ControlType.Image,title:\"Image\",description:\"Upload an icon/logo (placeholder shown until set).\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Integration\"},body:{type:ControlType.String,title:\"Body\",defaultValue:\"\",displayTextArea:true},link:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:false}}},defaultValue:DEFAULT_ITEMS},card1Logo:{type:ControlType.ResponsiveImage,title:\"Card 1 Logo\"},card2Logo:{type:ControlType.ResponsiveImage,title:\"Card 2 Logo\"},card3Logo:{type:ControlType.ResponsiveImage,title:\"Card 3 Logo\"},columns:{type:ControlType.Number,title:\"Columns\",min:1,max:4,step:1,displayStepper:true,defaultValue:3},imageSize:{type:ControlType.Number,title:\"Logo Size\",min:20,max:160,step:2,unit:\"px\",defaultValue:44,description:\"Logo height (full logo always shown, never cropped).\"},ctaLabel:{type:ControlType.String,title:\"CTA\",defaultValue:\"Check out all integrations\"},ctaLink:{type:ControlType.Link,title:\"CTA Link\"},ctaNewTab:{type:ControlType.Boolean,title:\"CTA New Tab\",defaultValue:false},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#f7f7f5\"},maxWidth:{type:ControlType.Number,title:\"Max Width\",min:960,max:1920,step:20,unit:\"px\",defaultValue:1440},roundness:{type:ControlType.Number,title:\"Roundness\",min:0,max:32,step:1,unit:\"px\",defaultValue:18},paddingTop:{type:ControlType.Number,title:\"Padding Top\",min:0,max:240,step:4,unit:\"px\",defaultValue:96},paddingBottom:{type:ControlType.Number,title:\"Padding Bottom\",min:0,max:240,step:4,unit:\"px\",defaultValue:96},topLine:{type:ControlType.Number,title:\"Top Line\",min:0,max:30,step:1,unit:\"%\",defaultValue:6,description:\"Opacity of the white divider line at the very top.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"IntegrationsGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"\",\"framerIntrinsicWidth\":\"\",\"framerIntrinsicHeight\":\"\",\"framerSupportedLayoutWidth\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IntegrationsGrid.map"],"mappings":"qKA6CkB,SAAS,EAAK,CAAC,OAAK,cAAY,CAAC,IAAM,EAAI,EAAO,EAAK,KAAK,EAAQ,EAAK,EAAO,EAAK,IAAI,EAAQ,EAAmB,EAAMA,EAAU,CAAC,SAAS,CAAc,EAAK,OAAO,CAAC,UAAU,SAAS,SAAS,EAAiB,EAAK,MAAM,CAAK,MAAI,IAAI,EAAK,OAAO,EAAE,CAAC,EAAe,EAAK,OAAO,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,EAAE,GAAY,EAAK,MAAmB,EAAK,KAAK,CAAC,UAAU,gBAAgB,SAAS,EAAK,KAAK,CAAC,EAAE,KAAK,EAAK,KAAkB,EAAK,IAAI,CAAC,UAAU,eAAe,SAAS,EAAK,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,EAAsQ,OAAjQ,EAA0B,EAAK,MAAM,CAAC,UAAU,UAAU,SAAsB,EAAK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