text: (window.webpackJsonp=window.webpackJsonp||[]).push([[14],{"9euD":function(e,t,a){e.exports=a.p+"static/para3-6e89272e0f9d0771732ca525b2c0066d.png"},B4IH:function(e,t,a){e.exports=a.p+"static/para4-b6a5c93ca4471036d47d848e91f22b93.png"},DM8k:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a("q1tI"),r=a.n(n),o=a("vOnD");function l(e){var t=e.title,a=e.styleClass;return r.a.createElement(i,{className:"row"},r.a.createElement("div",{className:"col text-center py-4"},r.a.createElement("h1",{className:a},t)))}l.defaultProps={title:"default title",styleClass:"display-4 text-capitalize main-page-title"};var i=o.a.div.withConfig({displayName:"Title__TitleContainer",componentId:"sc-1ofbjab-0"})(["background:var(--main1);"])},Ee1y:function(e,t,a){e.exports=a.p+"static/para1-70f93178672778b059c596bc6f92ea9f.png"},HbP6:function(e,t,a){(function(a){var n,r,o;"undefined"!=typeof window&&window,r=[],void 0===(o="function"==typeof(n=function(){return function e(t,a){"use strict";var n=Object.create(e.prototype),r=0,o=0,l=0,i=0,s=[],c=!0,p=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},m=null,d=!1;try{var u=Object.defineProperty({},"passive",{get:function(){d=!0}});window.addEventListener("testPassive",null,u),window.removeEventListener("testPassive",null,u)}catch(O){}var f=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,v=window.transformProp||function(){var e=document.createElement("div");if(null===e.style.transform){var t=["Webkit","Moz","ms"];for(var a in t)if(void 0!==e.style[t[a]+"Transform"])return t[a]+"Transform"}return"transform"}();n.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,breakpoints:[576,768,1201],center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}},a&&Object.keys(a).forEach((function(e){n.options[e]=a[e]})),a&&a.breakpoints&&function(){if(3===n.options.breakpoints.length&&Array.isArray(n.options.breakpoints)){var e,t=!0,a=!0;if(n.options.breakpoints.forEach((function(n){"number"!=typeof n&&(a=!1),null!==e&&n<e&&(t=!1),e=n})),t&&a)return}n.options.breakpoints=[576,768,1201],console.warn("Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted")}(),t||(t=".rellax");var b="string"==typeof t?document.querySelectorAll(t):[t];if(b.length>0){if(n.elems=b,n.options.wrapper&&!n.options.wrapper.nodeType){var x=document.querySelector(n.options.wrapper);if(!x)return void console.warn("Rellax: The wrapper you're trying to use doesn't exist.");n.options.wrapper=x}var w,y=function e(){for(var t=0;t<s.length;t++)n.elems[t].style.cssText=s[t].style;var a,r;s=[],o=window.innerHeight,i=window.innerWidth,a=i,r=n.options.breakpoints,w=a<r[0]?"xs":a>=r[0]&&a<r[1]?"sm":a>=r[1]&&a<r[2]?"md":"lg",h(),function(){for(var e=0;e<n.elems.length;e++){var t=g(n.elems[e]);s.push(t)}}(),z(),c&&(window.addEventListener("resize",e),c=!1,k())},g=function(e){var t,a=e.getAttribute("data-rellax-percentage"),r=e.getAttribute("data-rellax-speed"),l=e.getAttribute("data-rellax-xs-speed"),s=e.getAttribute("data-rellax-mobile-speed"),c=e.getAttribute("data-rellax-tablet-speed"),p=e.getAttribute("data-rellax-desktop-speed"),m=e.getAttribute("data-rellax-vertical-speed"),d=e.getAttribute("data-rellax-horizontal-speed"),u=e.getAttribute("data-rellax-vertical-scroll-axis"),f=e.getAttribute("data-rellax-horizontal-scroll-axis"),v=e.getAttribute("data-rellax-zindex")||0,b=e.getAttribute("data-rellax-min"),x=e.getAttribute("data-rellax-max"),y=e.getAttribute("data-rellax-min-x"),g=e.getAttribute("data-rellax-max-x"),h=e.getAttribute("data-rellax-min-y"),N=e.getAttribute("data-rellax-max-y"),k=!0;l||s||c||p?t={xs:l,sm:s,md:c,lg:p}:k=!1;var z=n.options.wrapper?n.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;n.options.relativeToWrapper&&(z=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)-n.options.wrapper.offsetTop);var O=n.options.vertical&&(a||n.options.center)?z:0,A=n.options.horizontal&&(a||n.options.center)?n.options.wrapper?n.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0,S=O+e.getBoundingClientRect().top,T=e.clientHeight||e.offsetHeight||e.scrollHeight,L=A+e.getBoundingClientRect().left,j=e.clientWidth||e.offsetWidth||e.scrollWidth,P=a||(O-S+o)/(T+o),M=a||(A-L+i)/(j+i);n.options.center&&(M=.5,P=.5);var _=k&&null!==t[w]?Number(t[w]):r||n.options.speed,C=m||n.options.verticalSpeed,I=d||n.options.horizontalSpeed,X=u||n.options.verticalScrollAxis,Y=f||n.options.horizontalScrollAxis,H=E(M,P,_,C,I),q=e.style.cssText,F="",D=/transform\s*:/i.exec(q);if(D){var R=D.index,W=q.slice(R),B=W.indexOf(";");F=B?" "+W.slice(11,B).replace(/\s/g,""):" "+W.slice(11).replace(/\s/g,"")}return{baseX:H.x,baseY:H.y,top:S,left:L,height:T,width:j,speed:_,verticalSpeed:C,horizontalSpeed:I,verticalScrollAxis:X,horizontalScrollAxis:Y,style:q,transform:F,zindex:v,min:b,max:x,minX:y,maxX:g,minY:h,maxY:N}},h=function(){var e=r,t=l;if(r=n.options.wrapper?n.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset,l=n.options.wrapper?n.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||document.body).scrollLeft||window.pageXOffset,n.options.relativeToWrapper){var a=(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset;r=a-n.options.wrapper.offsetTop}return!(e==r||!n.options.vertical)||!(t==l||!n.options.horizontal)},E=function(e,t,a,r,o){var l={},i=(o||a)*(100*(1-e)),s=(r||a)*(100*(1-t));return l.x=n.options.round?Math.round(i):Math.round(100*i)/100,l.y=n.options.round?Math.round(s):Math.round(100*s)/100,l},N=function e(){window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e),(n.options.wrapper?n.options.wrapper:window).removeEventListener("scroll",e),(n.options.wrapper?n.options.wrapper:document).removeEventListener("touchmove",e),m=p(k)},k=function e(){h()&&!1===c?(z(),m=p(e)):(m=null,window.addEventListener("resize",N),window.addEventListener("orientationchange",N),(n.options.wrapper?n.options.wrapper:window).addEventListener("scroll",N,!!d&&{passive:!0}),(n.options.wrapper?n.options.wrapper:document).addEventListener("touchmove",N,!!d&&{passive:!0}))},z=function(){for(var e,t=0;t<n.elems.length;t++){var a=s[t].verticalScrollAxis.toLowerCase(),c=s[t].horizontalScrollAxis.toLowerCase(),p=-1!=a.indexOf("x")?r:0,m=-1!=a.indexOf("y")?r:0,d=-1!=c.indexOf("x")?l:0,u=(m+(-1!=c.indexOf("y")?l:0)-s[t].top+o)/(s[t].height+o),f=(p+d-s[t].left+i)/(s[t].width+i),b=(e=E(f,u,s[t].speed,s[t].verticalSpeed,s[t].horizontalSpeed)).y-s[t].baseY,x=e.x-s[t].baseX;null!==s[t].min&&(n.options.vertical&&!n.options.horizontal&&(b=b<=s[t].min?s[t].min:b),n.options.horizontal&&!n.options.vertical&&(x=x<=s[t].min?s[t].min:x)),null!=s[t].minY&&(b=b<=s[t].minY?s[t].minY:b),null!=s[t].minX&&(x=x<=s[t].minX?s[t].minX:x),null!==s[t].max&&(n.options.vertical&&!n.options.horizontal&&(b=b>=s[t].max?s[t].max:b),n.options.horizontal&&!n.options.vertical&&(x=x>=s[t].max?s[t].max:x)),null!=s[t].maxY&&(b=b>=s[t].maxY?s[t].maxY:b),null!=s[t].maxX&&(x=x>=s[t].maxX?s[t].maxX:x);var w=s[t].zindex,y="translate3d("+(n.options.horizontal?x:"0")+"px,"+(n.options.vertical?b:"0")+"px,"+w+"px) "+s[t].transform;n.elems[t].style[v]=y}n.options.callback(e)};return n.destroy=function(){for(var e=0;e<n.elems.length;e++)n.elems[e].style.cssText=s[e].style;c||(window.removeEventListener("resize",y),c=!0),f(m),m=null},y(),n.refresh=y,n}console.warn("Rellax: The elements you're trying to select don't exist.")}})?n.apply(t,r):n)||(e.exports=o)}).call(this,a("yLpj"))},RXBc:function(e,t,a){"use strict";a.r(t),a.d(t,"query",(function(){return A}));var n=a("q1tI"),r=a.n(n),o=a("Wbzz"),l=a("UlxH"),i=a.n(l),s=a("Bl7J"),c=a("DM8k"),p=a("9eSz"),m=a.n(p);function d(e){var t=e.data,a=t.edges.slice(0,4);return 0===t.edges.length?r.a.createElement("div",{className:"text-muted"},"Nothing to display"):r.a.createElement("section",{className:"portfolio-preview py-5"},r.a.createElement(o.Link,{to:"/blog",className:"gatsby-link"},r.a.createElement(c.a,{title:"news"})),r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"row"},a.map((function(e){var t=e.node;return r.a.createElement("div",{key:t.id,className:"col-11 col-md-10 my-3 d-flex mx-auto card"},r.a.createElement("div",{className:"row no-gutters"},r.a.createElement("div",{className:"col-md-4 col-sm-6 card-img"},r.a.createElement(o.Link,{to:"/blog/"+t.slug},r.a.createElement(m.a,{fixed:t.image.fixed}))),r.a.createElement("div",{className:"col-md-8 col-sm-6"},r.a.createElement("div",{className:"card-body"},r.a.createElement(o.Link,{to:"/blog/"+t.slug,className:"card-title news-card-title gatsby-link"},r.a.createElement("h4",{className:"mb-0"},t.title)),r.a.createElement("div",{className:"card-text"},r.a.createElement("p",{className:"mb-0 text-muted"},t.createdAt),r.a.createElement("p",{className:"text-muted"},t.description.description))))))})))))}function u(){return r.a.createElement("section",{className:"py-4"},r.a.createElement("div",{className:"container"},r.a.createElement(o.Link,{to:"/about",className:"gatsby-link"},r.a.createElement(c.a,{title:"My Story"})),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-10 col-sm-8 mx-auto text-center"},r.a.createElement("p",{className:"lead text-muted"},"Freelance illustrator and comic artist. I’ve worked on projects whilst abroad in China for two and a half years, working on cover art for up and coming electronic bands based in Hangzhou. In this time I’ve also been working on my comic book/illustrated novel project.")))))}function f(e){var t=e.data,a=t.edges.slice(0,6);return 0===t.edges.length?r.a.createElement("div",null):r.a.createElement("section",{className:"portfolio-preview"},r.a.createElement(o.Link,{to:"/portfolio",className:"gatsby-link"},r.a.createElement(c.a,{title:"portfolio"})),r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"row"},a.map((function(e){var t=e.node;return r.a.createElement("div",{className:"col-10 col-sm-8 col-md-6 col-lg-4 mx-auto my-3",key:t.id},r.a.createElement("div",{className:"card"},r.a.createElement(o.Link,{to:"/portfolio/"+t.slug},r.a.createElement(m.a,{fixed:t.image.fixed,className:"card-img-top"})),r.a.createElement("div",{className:"card-body text-center"},r.a.createElement("h6",{className:"mb-0"},t.title))))})))))}var v=a("uX36"),b=a("vrFN"),x=a("Ee1y"),w=a.n(x),y=a("xfcH"),g=a.n(y),h=a("9euD"),E=a.n(h),N=a("B4IH"),k=a.n(N),z=a("13J2"),O=a.n(z),A="88543000";t.default=function(e){var t=e.data;return r.a.createElement(s.a,null,r.a.createElement(b.a,{title:"Home"}),r.a.createElement("div",{className:"parallax-container"},r.a.createElement(i.a,{speed:-5,centered:!0},r.a.createElement("img",{className:"parallax para1",src:w.a,alt:"part of the parallax graphic"})),r.a.createElement(i.a,{speed:-5,centered:!0},r.a.createElement("img",{className:"parallax para4",src:k.a,alt:"part of the parallax graphic"})),r.a.createElement(i.a,{speed:-3,centered:!0},r.a.createElement("img",{className:"parallax para3",src:E.a,alt:"part of the parallax graphic"})),r.a.createElement(i.a,{speed:-7,centered:!0},r.a.createElement("img",{className:"parallax para5",src:O.a,alt:"part of the parallax graphic"})),r.a.createElement(i.a,{speed:3,centered:!0},r.a.createElement("img",{className:"parallax para2",src:g.a,alt:"part of the parallax graphic"}))),r.a.createElement(d,{data:t.blog}),r.a.createElement(f,{data:t.portfolio}),r.a.createElement("div",{className:"about-btn-container"},r.a.createElement(o.Link,{to:"/portfolio"},r.a.createElement("button",{className:"btn text-uppercase btn-purple"},"see more"))),r.a.createElement(u,null),r.a.createElement("div",{className:"about-btn-container"},r.a.createElement(o.Link,{to:"/about/"},r.a.createElement("button",{className:"btn text-uppercase btn-purple"},"read more"))),r.a.createElement(v.a,null))}},UlxH:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,a):{};n.get||n.set?Object.defineProperty(t,a,n):t[a]=e[a]}return t.default=e,t}(a("q1tI")),r=l(a("17x9")),o=l(a("HbP6"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.getPrototypeOf||function(e){return e.__proto__})(e)}var f=function(e){function t(){return c(this,t),d(this,u(t).apply(this,arguments))}var a,r,l;return a=t,(r=[{key:"componentDidMount",value:function(){if(this.el){var e=this.props,t=e.centered,a=e.horizontal,n=e.onMove,r=e.wrapper,l={};t&&(l.centered=!0),a&&(l.horizontal=!0),r&&(l.wrapper=r),"function"==typeof n&&(l.callback=n.bind(this)),this.rellax=new o.default(this.el,l)}}},{key:"componentWillUnmount",value:function(){this.rellax&&this.rellax.destroy()}},{key:"render",value:function(){var e=this,t=this.props,a=t.as,r=(t.centered,t.horizontal,t.onMove,t.percentage),o=t.speed,l=t.zIndex,i=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}(t,["as","centered","horizontal","onMove","percentage","speed","zIndex"]),c=a;return n.default.createElement(c,s({ref:function(t){e.el=t},"data-rellax-percentage":r,"data-rellax-speed":o,"data-rellax-zindex":l},i))}}])&&m(a.prototype,r),l&&m(a,l),function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");p(e.prototype,t&&t.prototype),t&&p(e,t)}(t,e),t}(n.PureComponent);t.default=f,f.propTypes={as:r.default.string,centered:r.default.bool,horizontal:r.default.bool,onMove:r.default.func,percentage:r.default.number,speed:r.default.number,zIndex:r.default.number},f.defaultProps={as:"div"}},uX36:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a("q1tI"),r=a.n(n),o=a("DM8k");function l(){return r.a.createElement("section",{className:"contact py-5"},r.a.createElement(o.a,{title:"Contact me"}),r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-10 col-sm-8 col-md-6 mx-auto"},r.a.createElement("form",{action:"https://formspree.io/mknrpjpl",method:"POST"},r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:"name"},"Name"),r.a.createElement("input",{type:"text",className:"form-control",name:"name",id:"name",placeholder:"Name"})),r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:"name"},"Email"),r.a.createElement("input",{type:"text",className:"form-control",name:"email",id:"email",placeholder:"Email"})),r.a.createElement("div",{className:"form-group"},r.a.createElement("label",{htmlFor:"message"},"Message"),r.a.createElement("textarea",{name:"message",id:"message",rows:"5",placeholder:"Message",className:"form-control"})),r.a.createElement(i,{type:"submit",className:"btn btn-purple btn-block text-capitalize my-5"},"Submit")))))}var i=a("vOnD").a.button.withConfig({displayName:"Contact__Button",componentId:"jxhwqf-0"})(["max-width:80%;margin:auto;@media(min-width:700px){max-width:50%;}"])},xfcH:function(e,t,a){e.exports=a.p+"static/para2-e17b82f973883222445974b2ed3e1129.png"}}]);
  //# sourceMappingURL=component---src-pages-index-js-e592efa3b636154fcdb7.js.map