-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-contact-dark-index-js-3532a833b8b3de5b4122.js
2 lines (2 loc) · 2.81 KB
/
component---src-pages-contact-dark-index-js-3532a833b8b3de5b4122.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{ClQh:function(e,a,t){"use strict";t.r(a);var l=t("q1tI"),r=t.n(l),n=t("wFql"),s=t("hRte"),m=t("fAol"),c=t("HeB2"),i=t.n(c);a.default=function(){return r.a.createElement(s.a,{activeTab:"3",lState:!0},r.a.createElement("div",{className:"flex flex-col items-center"},r.a.createElement(n.a.Title,{className:"text-primary-color"},"I'm looking for work!"),r.a.createElement(n.a.Title,{level:4,className:"text-gray-600"},"I have experience in embedded software engineering, software validation and test driven design. I am proficient in Python, C++, Java, Android and React.JS and I'm learning new skills every day."),r.a.createElement("div",{type:"submit",className:"col-md-12 mt-5"},r.a.createElement("a",{href:i.a,download:"Basel Saleh Resume.pdf"},r.a.createElement("button",{type:"button",className:"btn btn-dark"},"Download my resume"))),r.a.createElement(m.a,null)))}},HeB2:function(e,a,t){e.exports=t.p+"static/Basel Saleh Resume-adc4930d423b5500b8a1c3d1cf927fac.pdf"},fAol:function(e,a,t){"use strict";var l=t("q1tI"),r=t.n(l),n=t("vDqi"),s=t.n(n),m=(t("Wbzz"),t("Bl7J"),t("wFql"));a.a=function(){var e=Object(l.useState)({submitting:!1,status:null}),a=e[0],t=e[1],n=function(e,a,l){t({submitting:!1,status:{ok:e,msg:a}}),e&&l.reset()};return r.a.createElement("div",{type:"submit",className:"col-md-12 mt-5"},r.a.createElement("h3",{className:"text-primary-color"}," Contact Me! "),r.a.createElement("form",{onSubmit:function(e){e.preventDefault();var a=e.target;t({submitting:!0}),s()({method:"post",url:"https://getform.io/f/2385bd8d-e1db-4320-a546-55b77024cc88",data:new FormData(a)}).then((function(e){n(!0,"Thanks!",a)})).catch((function(e){n(!1,e.response.data.error,a)}))}},r.a.createElement("div",{className:"form-group"},r.a.createElement(m.a.Title,{level:4,className:"text-gray-600"},"Email Address"),r.a.createElement("input",{type:"email",name:"email",className:"form-control",id:"exampleInputEmail1","aria-describedby":"emailHelp",placeholder:"Your Email"})),r.a.createElement("div",{className:"form-group"},r.a.createElement(m.a.Title,{level:4,className:"text-gray-600"},"Name"),r.a.createElement("input",{type:"text",name:"name",className:"form-control",id:"exampleInputName",placeholder:"Your Name",required:"required"})),r.a.createElement("div",{className:"form-group"},r.a.createElement(m.a.Title,{level:4,className:"text-gray-600"},"Message"),r.a.createElement("textarea",{type:"text",name:"message",className:"form-control",id:"exampleInputName",placeholder:"Your Message",rows:"5",required:"required"})),r.a.createElement("button",{type:"submit",className:"btn btn-dark",disabled:a.submitting},"Submit"),a.status&&r.a.createElement("p",{className:a.status.ok?"":"errorMsg"},a.status.msg)))}}}]);
//# sourceMappingURL=component---src-pages-contact-dark-index-js-3532a833b8b3de5b4122.js.map