{"version":3,"file":"ContactForm.qTMNJMSM.mjs","names":[],"sources":["https:/framerusercontent.com/modules/0fTva5VbxkpbRR1S3vC1/JRPXPxawwmg1D8VnFeYy/ContactForm.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/docs/guides/\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import styled from\"styled-components\";// Always Design for Mobile First\nconst device={desktop:`(min-width: 1200px)`,tablet:`(min-width: 810px)`};/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function ContactForm(props){const onClick=()=>{if(props.redirect){window.location.href=props.redirect;}};return /*#__PURE__*/_jsxs(Form,{id:props.id,children:[/*#__PURE__*/_jsx(InputField,{type:\"text\",id:\"companyName\",placeholder:props.companyName}),/*#__PURE__*/_jsx(InputField,{type:\"text\",id:\"name\",placeholder:props.name}),/*#__PURE__*/_jsx(InputField,{type:\"email\",id:\"email\",placeholder:props.email}),/*#__PURE__*/_jsx(TextArea,{type:\"text\",id:\"message\",placeholder:props.message}),/*#__PURE__*/_jsx(SubmitButton,{type:\"submit\",value:props.submitButtonTitle,onClick:onClick})]});}// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst Form=styled.form`\n    display: flex;\n    \n    flex-wrap: wrap;\n    flex-direction: column;\n    align-items: start;\n    gap: 16px;\n`;const InputField=styled.input`\n    width: 100%;\n\n    border: 0;\n    border-radius: 16px;\n    background-color: #FFFFFF;\n    padding: 20px 24px 20px 24px;\n\n    color: rgba(49, 49, 57, 0.8);\n    font-family: \"Poppins\";\n    font-size: 14px;\n    line-height: 140%;\n    outline-width: 0;\n\n    ::placeholder { \n        color: rgba(49, 49, 57, 0.3);\n    }\n\n    @media ${device.tablet} {\n        font-size: 16px;\n    }\n`;const TextArea=styled.textarea`\n    width: 100%;\n    min-height: 200px;\n\n    border: 0;\n    border-radius: 16px;\n    background-color: #FFFFFF;\n    padding: 20px 24px 20px 24px;\n\n    color: rgba(49, 49, 57, 0.8);\n    font-family: \"Poppins\";\n    font-size: 14px;\n    line-height: 140%;\n    outline-width: 0;\n\n    ::placeholder { \n        color: rgba(49, 49, 57, 0.3);\n    }\n    \n    @media ${device.tablet} {\n        font-size: 16px;\n    }\n`;const SubmitButton=styled.input`\n    width: 100%;\n\n    padding: 20px 24px 20px 24px;\n    border: 0;\n    border-radius: 16px;\n    background-color: #ff5525;\n\n    font-family: \"Poppins\";\n    font-size: 20px;\n    color: #FFFFFF;\n    font-weight: 400;\n    line-height: 140%;\n\n    cursor:pointer;\n    \n    :hover {\n        background-color: #5115F1;\n    }\n\n    @media ${device.tablet} {\n        font-size: 16px;\n    }\n`;ContactForm.defaultProps={companyName:\"Company name\",name:\"Name\",email:\"Email\",message:\"Describe your project - including the number of offices, users, assets to manage, and your specific requirements.\",submitButtonTitle:\"Submit\"};// Component properties exosed to Framer interface\naddPropertyControls(ContactForm,{id:{title:\"Form ID\",type:ControlType.String,placeholder:\"page-feature-lang\",description:\"Use clear and descriptive format e.g. `main-book-a-demo-en` so it will be consistent with HubSpot and easily identifiable\"},companyName:{title:\"companyName\",type:ControlType.String,placeholder:\"Company name\"},name:{title:\"Name\",type:ControlType.String,placeholder:\"Name\"},email:{title:\"Email\",type:ControlType.String,placeholder:\"Email\"},message:{title:\"Message\",type:ControlType.String,placeholder:\"Describe your project - including the number of offices, users, assets to manage, and your specific requirements.\"},submitButtonTitle:{title:\"Submit\",type:ControlType.String},redirect:{title:\"Redirect\",type:ControlType.Link}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ContactForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL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