1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{1382:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return a(1721)}])},4213:function(e,t,a){"use strict";a.d(t,{t:function(){return c},$0:function(){return d},t6:function(){return x},HE:function(){return h.Z},EK:function(){return g}});var s=a(5893);let n=async(e,t,a)=>{let s={method:t,headers:{accept:"application/json"}};"POST"===t&&(s.body=JSON.stringify(a));let n=await fetch(e,s),l=await n.json();return{response:n,json:l}};var l=a(1492),r=a(7294);let i=()=>{let[e,t]=(0,r.useState)(""),[a,i]=(0,r.useState)(""),[c,o]=(0,r.useState)(""),m=async t=>{t.preventDefault();let{response:s}=await n(l.cY,"POST",{name:e,email:a,message:c});200===s.status&&alert("Thank you for contacting me! I will get back in touch with you soon.")},d=e=>{let{value:a}=e.target;t(a)},u=e=>{let{value:t}=e.target;i(t)},x=e=>{let{value:t}=e.target;o(t)};return(0,s.jsxs)("form",{className:"text-gray-700",onSubmit:m,children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"uppercase font-sm font-medium tracking-wider text-gray-500",children:"Name"}),(0,s.jsx)("input",{type:"text",value:e,onChange:d,placeholder:"Enter your name",className:"mt-2",required:!0})]}),(0,s.jsxs)("div",{className:"mt-7",children:[(0,s.jsx)("label",{className:"uppercase font-sm font-medium tracking-wider text-gray-500",children:"Email Address"}),(0,s.jsx)("input",{type:"email",value:a,onChange:u,placeholder:"Enter your email address",className:"mt-2",required:!0})]}),(0,s.jsxs)("div",{className:"mt-7",children:[(0,s.jsx)("label",{className:"uppercase font-sm font-medium tracking-wider text-gray-500",children:"Message"}),(0,s.jsx)("textarea",{value:c,onChange:x,className:"mt-2 block w-full px-2 h-36",required:!0}),(0,s.jsx)("small",{className:"text-gray-500 text-sm",children:"Any non-business related submissions will be ignored."})]}),(0,s.jsx)("div",{className:"text-center",children:(0,s.jsx)("button",{className:"button mt-8",type:"submit",children:"Send message"})})]})};var c=i,o=a(1285);let m=e=>{let{id:t,title:a,titleClassName:n="",className:l="",bodyClassName:r="",children:i}=e,c={opacity:0},m={opacity:1};return(0,s.jsxs)("section",{className:"mt-10 md:mt-20 ".concat(l),id:t,children:[a&&(0,s.jsx)(o.m.h1,{initial:c,whileInView:m,viewport:{once:!0},className:"".concat(n," uppercase text-4xl tracking-wider mb-8 text-gray-800 font-semibold"),children:a}),(0,s.jsx)(o.m.div,{initial:c,whileInView:{...m,transition:{delay:.25}},viewport:{once:!0},className:r,children:i})]})};var d=m;let u=e=>{let{title:t,description:a}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"font-semibold text-2xl mb-3 tracking-wide text-gray-600",children:t}),(0,s.jsx)("p",{className:"text-gray-500",children:a})]})};var x=u,h=a(8167),p=a(2546),f=a(2544);a(4950);let j=e=>{let{quote:t,author:a,company:n}=e;return(0,s.jsx)(p.o5,{children:(0,s.jsx)("div",{className:"container m-auto px-4 py-10 md:py-20",children:(0,s.jsxs)("blockquote",{children:[(0,s.jsxs)("p",{className:"font-extralight leading-relaxed text-3xl mb-5",children:["â ",t," â"]}),(0,s.jsxs)("footer",{className:"text-xl text-right",children:[(0,s.jsx)("strong",{children:a}),(0,s.jsx)("span",{className:"mr-2",children:","}),(0,s.jsx)("em",{className:"font-light",children:n})]})]})})},a)},N=()=>(0,s.jsx)(p.tq,{spaceBetween:30,centeredSlides:!0,grabCursor:!0,loop:!0,autoplay:{delay:5e3,pauseOnMouseEnter:!0,disableOnInteraction:!1},modules:[f.pt],children:l.aP.map(e=>j(e))});var g=N},1721:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return c}});var s=a(5893),n=a(1664),l=a.n(n),r=a(4213),i=a(1492);function c(){return(0,s.jsx)("div",{className:"min-h-screen max-w-screen-xl mx-auto px-5 flex flex-col justify-center",children:(0,s.jsxs)(r.$0,{title:"Get in Touch",className:"mt-0",children:[(0,s.jsx)("p",{className:"text-xl ",children:"I am available for both contract and freelance projects."}),(0,s.jsxs)("p",{className:"text-lg mb-10",children:["Have a question or need help on a project? You can send me an email at"," ",(0,s.jsx)(l(),{className:"link",href:"mailto:".concat(i.WY.email),children:i.WY.email})," ","or simply use the form below to get in touch."]}),(0,s.jsx)(r.t,{}),(0,s.jsx)(r.HE,{className:"my-20 justify-center"})]})})}}},function(e){e.O(0,[105,774,888,179],function(){return e(e.s=1382)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.