{"version":3,"sources":["webpack:///./src/pages/contact.tsx","webpack:///./src/components/PageHeader/styles/index.ts","webpack:///./src/components/PageHeader/PageHeader.tsx","webpack:///./src/components/InfoBox/styles/index.ts","webpack:///./src/components/InfoBox/index.tsx"],"names":["Contact","useState","preferredContactType","setPreferredContactType","lang","name","content","title","description","className","id","method","action","data-netlify","netlify-honeypot","style","display","type","value","htmlFor","required","background","color","defaultValue","placeholder","onChange","e","target","disabled","ContactFooter","contactForm","styled","div","Heading","header","PageHeading","h1","PageDescription","p","PageHeader","props","IBox","InfoBox","children"],"mappings":"6FAAA,qKASe,SAASA,IAAU,MACwBC,mBAAS,IAA1DC,EADyB,KACHC,EADG,KAwBhC,OACE,kBAAC,IAAD,KACE,kBAAC,IAAD,KACE,0BAAMC,KAAK,OACX,+DACA,0BACEC,KAAK,cACLC,QAAQ,kJAKZ,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAYC,MAAM,UAAUC,YAAY,iBAExC,kBAAC,IAAD,KACE,yBAAKC,UAAU,aACb,yBAAKA,UAAU,OACb,yBAAKA,UAAU,gBACb,kBAAC,IAAD,KACE,kBAAC,IAAD,KACE,+HAON,yBAAKA,UAAU,gBACb,kBAAC,IAAD,KACE,kBAAC,IAAD,CACEC,GAAG,cACHL,KAAK,UACLM,OAAO,OACPC,OAAO,WACPC,eAAa,OACbC,mBAAiB,aAEjB,uBAAGC,MAAO,CAAEC,QAAS,SACnB,sEACuC,IACrC,2BAAOX,KAAK,gBAGhB,2BAAOY,KAAK,SAASZ,KAAK,YAAYa,MAAM,YAC5C,2BAAOD,KAAK,SAASZ,KAAK,QAAQa,MAAM,KACxC,2BAAOD,KAAK,SAASZ,KAAK,QAAQa,MAAM,KAExC,8BAAUT,UAAU,cAClB,2BAAOU,QAAQ,QAAf,QACA,2BACEF,KAAK,OACLZ,KAAK,OACLI,UAAU,eACVC,GAAG,OACHU,UAAQ,KAGZ,kCACE,4BACEL,MAAO,CAAEM,WAAY,UAAWC,MAAO,WACvCC,aAAa,2BACbd,UAAU,eACVe,YAAY,+BACZnB,KAAK,cACLoB,SAAU,SAACC,GAAD,OACRvB,EAAwBuB,EAAEC,OAAOT,SAGnC,4BAAQU,UAAU,GAAlB,4BAGA,4BAAQV,MAAM,SAAd,SACA,4BAAQA,MAAM,SAAd,WAGJ,kCAhGd,oCACE,2BACEM,YAAY,QACZnB,KAAK,QACLY,KAAK,QACLR,UAAU,eACVC,GAAG,eACHU,SAAmC,UAAzBlB,IAEZ,2BACEsB,YAAY,QACZnB,KAAK,QACLY,KAAK,OACLR,UAAU,eACVC,GAAG,QACHU,SAAmC,UAAzBlB,MAkFA,kCACE,2BAAOiB,QAAQ,SAAf,mBACA,8BACEd,KAAK,QACLI,UAAU,eACVC,GAAG,QACHU,UAAQ,KAGZ,kBAACS,EAAD,KACE,4BAAQZ,KAAK,UAAb,sBAOZ,yBAAKF,MAAO,CAAEM,WAAY,oBACxB,kBAAC,IAAD,CAAQS,aAAa,QAQjC,IAAMD,EAAgBE,IAAOC,IAAV,6EAAGD,CAAH,+D,yGCtINE,EAAUF,IAAOG,OAAV,qEAAGH,CAAH,iQAqBPI,EAAcJ,IAAOK,GAAV,yEAAGL,CAAH,uQAiCXM,EAAkBN,IAAOO,EAAV,6EAAGP,CAAH,qCCrDb,SAASQ,EAAWC,GACjC,OACE,kBAACP,EAAD,KACE,kBAACE,EAAD,KAAcK,EAAMjC,OACpB,kBAAC8B,EAAD,KAAkBG,EAAMhC,gB,6FCLjBiC,E,UAAOV,EAAOC,IAAV,mEAAGD,CAAH,onBCCF,SAASW,EAAQF,GAC9B,OAAO,kBAACC,EAAD,KAAOD,EAAMG","file":"component---src-pages-contact-tsx-8270c4a8ce1f4558d029.js","sourcesContent":["import React, { useState } from \"react\";\nimport Layout from \"../components/layout\";\nimport InfoBox from \"../components/InfoBox\";\nimport PageHeader from \"../components/PageHeader/PageHeader\";\nimport { PageContainer, PageContent, Section, SectionForm } from \"../styles\";\nimport styled from \"styled-components\";\nimport Footer from \"../components/Footer\";\nimport Helmet from \"react-helmet\";\n\nexport default function Contact() {\n const [preferredContactType, setPreferredContactType] = useState(\"\");\n function renderPrefferedContactField() {\n return (\n <>\n \n \n >\n );\n }\n return (\n \n \n \n Contact - Peace By Piece CBT\n \n \n \n \n\n \n \n \n \n \n \n \n I can be contacted using the contact form on this page. I\n will usually reply within 24 hours.\n \n \n \n \n \n \n \n \n \n Don’t fill this out if you’re human:{\" \"}\n \n \n \n \n \n \n\n \n Name\n \n \n \n \n setPreferredContactType(e.target.value)\n }\n >\n \n Preferred Contact Method\n \n Phone\n Email\n \n \n {renderPrefferedContactField()}\n \n Enquiry Details\n \n \n \n Send Enquiry\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nconst ContactFooter = styled.div`\n display: flex;\n justify-content: flex-end;\n margin: 0 0 1rem 0;\n`;\n","import styled from \"styled-components\";\n\nexport const Heading = styled.header`\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n @media (max-width: 1024px) {\n margin: 1.5rem 0 1.5rem;\n }\n\n &:after {\n content: \"\";\n display: block;\n border-bottom: 5px solid #11d6f0;\n width: 57px;\n margin-left: auto;\n margin-right: auto;\n padding-top: 10px;\n }\n`;\n\nexport const PageHeading = styled.h1`\n font-size: 3rem;\n text-transform: uppercase;\n color: #444444;\n font-weight: 700;\n\n &:before {\n content: \"\";\n\n display: inline-block;\n\n width: 60px;\n\n height: 15px;\n\n border-color: #11d6f0;\n\n border-style: solid;\n\n border-width: 5px 5px 0 5px;\n\n position: absolute;\n\n top: -20px;\n\n left: 0;\n\n right: 0;\n\n margin: auto;\n }\n`;\n\nexport const PageDescription = styled.p`\n font-size: 1.3rem;\n color: #444444;\n`;\n","import React from \"react\";\nimport { Heading, PageHeading, PageDescription } from \"./styles\";\n\nexport default function PageHeader(props) {\n return (\n \n {props.title}\n {props.description}\n \n );\n}\n","import styled from \"styled-components\";\n\nexport const IBox = styled.div`\n position: relative;\n display: flex;\n flex-direction: column;\n padding: 40px 30px;\n margin: 0 0 20px;\n background: #fbfbfb;\n :before {\n border-color: #11d6f0 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #11d6f0;\n left: 0;\n top: 0;\n }\n :after {\n border-color: rgba(0, 0, 0, 0) #11d6f0 #11d6f0 rgba(0, 0, 0, 0);\n right: 0;\n bottom: 0;\n }\n :before,\n :after {\n border-style: solid;\n border-width: 2px;\n content: \"\";\n display: block;\n height: 50px;\n position: absolute;\n width: 50px;\n }\n\n h2 {\n margin: 0 0 15px 0;\n }\n\n ul {\n display: block;\n text-align: center;\n }\n\n li {\n display: inline-block;\n min-width: 160px;\n font-size: 1.6rem;\n padding: 10px 20px;\n margin: 10px;\n color: #ffffff;\n background: rgb(67, 173, 218) none repeat scroll 0% 0%;\n }\n strong {\n font-weight: bold;\n }\n`;\n","import React from \"react\";\nimport { IBox } from \"./styles\";\n\nexport default function InfoBox(props) {\n return {props.children};\n}\n"],"sourceRoot":""}
\n I can be contacted using the contact form on this page. I\n will usually reply within 24 hours.\n
\n \n Don’t fill this out if you’re human:{\" \"}\n \n \n