{"version":3,"file":"LeadSentExample.Dcq3yO5K.mjs","names":[],"sources":["https:/framerusercontent.com/modules/ANdjnbJ915XQfU7WjeRn/G4DJOJqrNiJR3k5GDYOX/LeadSentExample.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const FONT='\"Geist\", \"Inter\", system-ui, -apple-system, sans-serif';/**\n * Three example hand-offs after a call: the email to the owner, the text to the\n * customer, and the row logged to a sheet. Defaults are the Ryans Turf sample call.\n * Change the row labels and values to suit each trade.\n * Stacks into one column based on its own width, not the viewport.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function LeadSentExample(props){const{businessName=\"Alex\",customer=\"Matt\",orderLabel=\"Order\",order=\"About 60 m2 PetPro Buffalo\",placeLabel=\"Delivery\",delivery=\"Delivery, postcode 2540\",action=\"Quote and call back\",smsText=\"Thanks Matt, it's Ryans Turf. We've got your quote request for about 60 m2 of PetPro Buffalo, delivered to 2540. Someone from the team will be in touch shortly.\",sheetStatus=\"Lead saved\",accentColor,cardColor,cardBorderColor,inkColor,paperColor,mutedColor,subtleColor,hairlineColor,tintColor,style}=props;const tile={background:cardColor,border:`1px solid ${cardBorderColor}`,borderRadius:16,padding:24,display:\"flex\",flexDirection:\"column\",gap:18,minWidth:0};const eyebrow={fontSize:12,fontWeight:500,letterSpacing:\"0.14em\",textTransform:\"uppercase\",color:accentColor};const rows=[{label:\"Customer\",value:customer},{label:orderLabel,value:order},{label:placeLabel,value:delivery},{label:\"Action\",value:action}];return /*#__PURE__*/_jsxs(\"div\",{className:\"aux-lead\",style:{...style,width:\"100%\",minWidth:0,boxSizing:\"border-box\",fontFamily:FONT,color:inkColor,containerType:\"inline-size\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .aux-lead, .aux-lead * { box-sizing: border-box; }\n                .aux-lead .lead-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; width:100%; }\n                @container (max-width: 899px) { .aux-lead .lead-grid { grid-template-columns:minmax(0,1fr); } }\n                @media (max-width: 899px) { .aux-lead .lead-grid { grid-template-columns:minmax(0,1fr); } }\n            `}),/*#__PURE__*/_jsxs(\"div\",{className:\"lead-grid\",children:[/*#__PURE__*/_jsxs(\"div\",{style:tile,children:[/*#__PURE__*/_jsx(\"div\",{style:eyebrow,children:\"Email to you\"}),/*#__PURE__*/_jsxs(\"div\",{style:{background:paperColor,borderRadius:12,padding:16},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:13,color:subtleColor},children:[\"From \",businessName]}),/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:17,fontWeight:500,letterSpacing:\"-0.01em\",margin:\"4px 0 12px\"},children:[\"New lead from \",businessName]}),rows.map(r=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"80px 1fr\",gap:8,padding:\"7px 0\",borderTop:`1px solid ${hairlineColor}`,fontSize:14},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:subtleColor},children:r.label}),/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:500},children:r.value})]},r.label))]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:15,lineHeight:1.5,color:mutedColor},children:\"Lands in your inbox the moment the call ends.\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:tile,children:[/*#__PURE__*/_jsx(\"div\",{style:eyebrow,children:\"Text to your customer\"}),/*#__PURE__*/_jsx(\"div\",{style:{background:paperColor,borderRadius:12,padding:16,flex:1},children:/*#__PURE__*/_jsx(\"div\",{style:{background:accentColor,color:\"#fff\",borderRadius:\"16px 16px 16px 4px\",padding:\"12px 14px\",fontSize:15,lineHeight:1.45},children:smsText})}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:15,lineHeight:1.5,color:mutedColor},children:\"They get a confirmation straight away, so they know it went through.\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:tile,children:[/*#__PURE__*/_jsx(\"div\",{style:eyebrow,children:\"Logged for you\"}),/*#__PURE__*/_jsxs(\"div\",{style:{background:paperColor,borderRadius:12,padding:16,flex:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"inline-block\",background:tintColor,color:accentColor,borderRadius:999,padding:\"5px 12px\",fontSize:12,fontWeight:500,letterSpacing:\"0.1em\",textTransform:\"uppercase\",marginBottom:12},children:sheetStatus}),rows.map(r=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"80px 1fr\",gap:8,padding:\"7px 0\",borderTop:`1px solid ${hairlineColor}`,fontSize:14},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:subtleColor},children:r.label}),/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:500},children:r.value})]},r.label))]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:15,lineHeight:1.5,color:mutedColor},children:\"Every lead is saved to a sheet, so nothing gets lost.\"})]})]})]});}LeadSentExample.defaultProps={businessName:\"Alex\",customer:\"Matt\",orderLabel:\"Order\",order:\"About 60 m2 PetPro Buffalo\",placeLabel:\"Delivery\",delivery:\"Delivery, postcode 2540\",action:\"Quote and call back\",smsText:\"Thanks Matt, it's Ryans Turf. We've got your quote request for about 60 m2 of PetPro Buffalo, delivered to 2540. Someone from the team will be in touch shortly.\",sheetStatus:\"Lead saved\",accentColor:\"rgb(240, 122, 71)\",cardColor:\"rgb(255, 255, 255)\",cardBorderColor:\"rgb(232, 224, 211)\",inkColor:\"rgb(42, 30, 21)\",paperColor:\"rgb(247, 243, 236)\",mutedColor:\"rgb(92, 74, 60)\",subtleColor:\"rgb(138, 122, 108)\",hairlineColor:\"rgb(216, 207, 192)\",tintColor:\"rgb(251, 228, 213)\"};addPropertyControls(LeadSentExample,{businessName:{type:ControlType.String,title:\"Agent name\",defaultValue:\"Alex\"},customer:{type:ControlType.String,title:\"Customer\",defaultValue:\"Matt\"},orderLabel:{type:ControlType.String,title:\"Order label\",defaultValue:\"Order\"},order:{type:ControlType.String,title:\"Order\",defaultValue:\"About 60 m2 PetPro Buffalo\"},placeLabel:{type:ControlType.String,title:\"Place label\",defaultValue:\"Delivery\"},delivery:{type:ControlType.String,title:\"Place\",defaultValue:\"Delivery, postcode 2540\"},action:{type:ControlType.String,title:\"Action\",defaultValue:\"Quote and call back\"},smsText:{type:ControlType.String,title:\"Text message\",displayTextArea:true,defaultValue:\"Thanks Matt, it's Ryans Turf. We've got your quote request for about 60 m2 of PetPro Buffalo, delivered to 2540. Someone from the team will be in touch shortly.\"},sheetStatus:{type:ControlType.String,title:\"Sheet label\",defaultValue:\"Lead saved\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"rgb(240, 122, 71)\"},cardColor:{type:ControlType.Color,title:\"Card\",defaultValue:\"rgb(255, 255, 255)\"},cardBorderColor:{type:ControlType.Color,title:\"Card border\",defaultValue:\"rgb(232, 224, 211)\"},inkColor:{type:ControlType.Color,title:\"Ink\",defaultValue:\"rgb(42, 30, 21)\"},paperColor:{type:ControlType.Color,title:\"Paper\",defaultValue:\"rgb(247, 243, 236)\"},mutedColor:{type:ControlType.Color,title:\"Muted\",defaultValue:\"rgb(92, 74, 60)\"},subtleColor:{type:ControlType.Color,title:\"Subtle\",defaultValue:\"rgb(138, 122, 108)\"},hairlineColor:{type:ControlType.Color,title:\"Hairline\",defaultValue:\"rgb(216, 207, 192)\"},tintColor:{type:ControlType.Color,title:\"Orange tint\",defaultValue:\"rgb(251, 228, 213)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LeadSentExample\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LeadSentExample.map"],"mappings":"mKAQG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,eAAa,OAAO,WAAS,OAAO,aAAW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