-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-about-me-js-0ac53bf349ffc375afb7.js
2 lines (2 loc) · 13.7 KB
/
component---src-pages-about-me-js-0ac53bf349ffc375afb7.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{147:function(e,t,a){"use strict";a.r(t),a.d(t,"query",function(){return p});var r=a(0),n=a.n(r),i=a(155),s=a(184),l=a.n(s),o=a(161),c=a(163),d=a(206),u=a.n(d),f=a(180),m=a.n(f),p="449202208";t.default=function(e){var t=e.data;return n.a.createElement(o.a,null,n.a.createElement(c.a,{title:"About Me"}),n.a.createElement("h1",null,"About Me"),n.a.createElement("hr",null),n.a.createElement(l.a,{className:u.a.introImg,fluid:t.placeholderImage.childImageSharp.fluid}),n.a.createElement("p",{className:u.a.intro},"A recent graduate (2018) from University of California, Irvine (UCI) with a degree in Computer Science. I am currently a Systems Engineer in the Orange County area at a company called Unisys. I really enjoy traveling, making music, playing multiplayer video games, and dancing!"),n.a.createElement("br",null),n.a.createElement("br",null),n.a.createElement("p",null,"While at UCI, I learned about creating video games. I believe it really helped me understand core concepts of programming and how to apply it in event-driven software."),n.a.createElement("br",null),n.a.createElement("br",null),n.a.createElement("div",{className:m.a.center},n.a.createElement(i.a,{to:"/"},"Go back to the homepage")))}},155:function(e,t,a){"use strict";a.d(t,"b",function(){return d});var r=a(0),n=a.n(r),i=a(4),s=a.n(i),l=a(33),o=a.n(l);a.d(t,"a",function(){return o.a});a(156);var c=n.a.createContext({}),d=function(e){return n.a.createElement(c.Consumer,null,function(t){return e.data||t[e.query]&&t[e.query].data?(e.render||e.children)(e.data?e.data.data:t[e.query].data):n.a.createElement("div",null,"Loading (StaticQuery)")})};d.propTypes={data:s.a.object,query:s.a.string.isRequired,render:s.a.func,children:s.a.func}},156:function(e,t,a){var r;e.exports=(r=a(158))&&r.default||r},158:function(e,t,a){"use strict";a.r(t);a(36);var r=a(0),n=a.n(r),i=a(4),s=a.n(i),l=a(55),o=a(2),c=function(e){var t=e.location,a=o.default.getResourcesForPathnameSync(t.pathname);return a?n.a.createElement(l.a,Object.assign({location:t,pageResources:a},a.json)):null};c.propTypes={location:s.a.shape({pathname:s.a.string.isRequired}).isRequired},t.default=c},159:function(e,t,a){"use strict";var r=a(0),n=a.n(r),i={color:"white",display:"inline-block",margin:"0 0.5rem",padding:"0.25rem",textDecoration:"none",textAlign:"center"},s=function(e){var t=e.children,a=e.href,r=e.title;return n.a.createElement("a",{href:a,style:i,title:r,target:"_blank",rel:"noopener noreferrer"},t)},l=a(157);t.a=function(e){var t=e.siteAuthor;return n.a.createElement("footer",{style:{textAlign:"center"}},n.a.createElement("div",{style:{background:"#333",marginTop:"1.45rem",marginBottom:"1.45rem",margin:"0 auto",maxWidth:2e3,padding:"1.45rem 1.0875rem"}},n.a.createElement(s,{href:"https://www.linkedin.com/in/rickytham",title:"LinkedIn"},n.a.createElement(l.f,{size:28})),n.a.createElement(s,{href:"https://github.com/TheRamik/",title:"Github"},n.a.createElement(l.c,{size:28}))),n.a.createElement("div",{style:{marginTop:"1.45rem",marginBottom:"1.45rem"}},"Built with"," ",n.a.createElement("a",{href:"https://www.gatsbyjs.org",title:"GatsbyJS",target:"_blank",rel:"noopener noreferrer"},"Gatsby"),n.a.createElement("p",null,"Created by ",t," © ",(new Date).getFullYear()," ")))}},160:function(e,t,a){"use strict";var r=a(155),n=a(4),i=a.n(n),s=a(0),l=a.n(s),o=a(171),c=a.n(o),d={color:"white",display:"inline-block",margin:"0 0.5rem",padding:"0.25rem",textDecoration:"none"},u=function(e){var t=e.children,a=e.to;return l.a.createElement(r.a,{to:a,style:d},t)},f=a(157),m=function(e){var t=e.siteTitle;return l.a.createElement("header",{style:{background:"#333",textAlign:"center"}},l.a.createElement("div",{style:{margin:"0 auto",padding:"1.45rem 1.0875rem"}},l.a.createElement("h1",null,l.a.createElement(r.a,{to:"/",style:{color:"white",textDecoration:"none"}},t)),l.a.createElement(c.a,{pinStart:90,style:{webkitTransition:"all .5s ease-in-out",mozTransition:"all .5s ease-in-out",oTransition:"all .5s ease-in-out",transition:"all .5s ease-in-out",background:"#333",marginBottom:"1.45rem",textAlign:"center"}},l.a.createElement(u,{to:"/about-me/"},l.a.createElement(f.d,null)," ABOUT ME"),l.a.createElement(u,{to:"/blog/"},l.a.createElement(f.g,null)," BLOG"),l.a.createElement(u,{to:"/projects/"},l.a.createElement(f.e,null)," PROJECTS"),l.a.createElement(u,{to:"/hobbies/"},l.a.createElement(f.b,null)," HOBBIES"),l.a.createElement(u,{to:"/resume/"},l.a.createElement(f.a,null)," RESUME"))))};m.propTypes={siteTitle:i.a.string},m.defaultProps={siteTitle:""};t.a=m},161:function(e,t,a){"use strict";var r=a(162),n=a(0),i=a.n(n),s=a(4),l=a.n(s),o=a(155),c=a(160),d=a(159),u=(a(172),function(e){var t=e.children;return i.a.createElement(o.b,{query:"4293929885",render:function(e){return i.a.createElement(i.a.Fragment,null,i.a.createElement(c.a,{siteTitle:e.site.siteMetadata.title}),i.a.createElement("div",{style:{margin:"0 auto",maxWidth:960,padding:"0px 1.0875rem 1.45rem",paddingTop:"1.45rem",marginBottom:"1.45rem"}},i.a.createElement("main",null,t)),i.a.createElement(d.a,{siteAuthor:e.site.siteMetadata.author}))},data:r})});u.propTypes={children:l.a.node.isRequired},t.a=u},162:function(e){e.exports={data:{site:{siteMetadata:{title:"RICKY THAM",author:"Ricky Tham"}}}}},163:function(e,t,a){"use strict";var r=a(164),n=a(0),i=a.n(n),s=a(4),l=a.n(s),o=a(175),c=a.n(o);function d(e){var t=e.description,a=e.lang,n=e.meta,s=e.keywords,l=e.title,o=r.data.site,d=t||o.siteMetadata.description;return i.a.createElement(c.a,{htmlAttributes:{lang:a},title:l,titleTemplate:"%s | "+o.siteMetadata.title,meta:[{name:"description",content:d},{property:"og:title",content:l},{property:"og:description",content:d},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:o.siteMetadata.author},{name:"twitter:title",content:l},{name:"twitter:description",content:d}].concat(s.length>0?{name:"keywords",content:s.join(", ")}:[]).concat(n)})}d.defaultProps={lang:"en",meta:[],keywords:[],description:""},d.propTypes={description:l.a.string,lang:l.a.string,meta:l.a.arrayOf(l.a.object),keywords:l.a.arrayOf(l.a.string),title:l.a.string.isRequired},t.a=d},164:function(e){e.exports={data:{site:{siteMetadata:{title:"RICKY THAM",description:"Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.",author:"Ricky Tham"}}}}},184:function(e,t,a){"use strict";var r=a(8);t.__esModule=!0,t.default=void 0;var n,i=r(a(7)),s=r(a(34)),l=r(a(76)),o=r(a(74)),c=r(a(0)),d=r(a(4)),u=function(e){var t=(0,o.default)({},e);return t.resolutions&&(t.fixed=t.resolutions,delete t.resolutions),t.sizes&&(t.fluid=t.sizes,delete t.sizes),t},f=Object.create({}),m=function(e){var t=u(e),a=t.fluid?t.fluid.src:t.fixed.src;return f[a]||!1},p=new WeakMap;var h=function(e,t){var a=(void 0===n&&"undefined"!=typeof window&&window.IntersectionObserver&&(n=new window.IntersectionObserver(function(e){e.forEach(function(e){if(p.has(e.target)){var t=p.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(n.unobserve(e.target),p.delete(e.target),t())}})},{rootMargin:"200px"})),n);return a&&(a.observe(e),p.set(e,t)),function(){a.unobserve(e),p.delete(e)}},g=function(e){var t=e.src?'src="'+e.src+'" ':'src="" ',a=e.sizes?'sizes="'+e.sizes+'" ':"",r=e.srcSetWebp?"<source type='image/webp' srcset=\""+e.srcSetWebp+'" '+a+"/>":"",n=e.srcSet?'srcset="'+e.srcSet+'" ':"",i=e.title?'title="'+e.title+'" ':"",s=e.alt?'alt="'+e.alt+'" ':'alt="" ';return"<picture>"+r+"<img "+(e.width?'width="'+e.width+'" ':"")+(e.height?'height="'+e.height+'" ':"")+a+n+t+s+i+(e.crossOrigin?'crossorigin="'+e.crossOrigin+'" ':"")+'style="position:absolute;top:0;left:0;opacity:1;width:100%;height:100%;object-fit:cover;object-position:center"/></picture>'},y=c.default.forwardRef(function(e,t){var a=e.sizes,r=e.srcSet,n=e.src,i=e.style,s=e.onLoad,d=e.onError,u=(0,l.default)(e,["sizes","srcSet","src","style","onLoad","onError"]);return c.default.createElement("img",(0,o.default)({sizes:a,srcSet:r,src:n},u,{onLoad:s,onError:d,ref:t,style:(0,o.default)({position:"absolute",top:0,left:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},i)}))});y.propTypes={style:d.default.object,onError:d.default.func,onLoad:d.default.func};var b=function(e){function t(t){var a;a=e.call(this,t)||this;var r=!0,n=!1,i=t.fadeIn,l=m(t);!l&&"undefined"!=typeof window&&window.IntersectionObserver&&(r=!1,n=!0),"undefined"==typeof window&&(r=!1),t.critical&&(r=!0,n=!1);var o=!(t.critical&&!t.fadeIn);return a.state={isVisible:r,imgLoaded:!1,imgCached:!1,IOSupported:n,fadeIn:i,hasNoScript:o,seenBefore:l},a.imageRef=c.default.createRef(),a.handleImageLoaded=a.handleImageLoaded.bind((0,s.default)((0,s.default)(a))),a.handleRef=a.handleRef.bind((0,s.default)((0,s.default)(a))),a}(0,i.default)(t,e);var a=t.prototype;return a.componentDidMount=function(){if(this.state.isVisible&&"function"==typeof this.props.onStartLoad&&this.props.onStartLoad({wasCached:m(this.props)}),this.props.critical){var e=this.imageRef.current;e&&e.complete&&this.handleImageLoaded()}},a.componentWillUnmount=function(){this.cleanUpListeners&&this.cleanUpListeners()},a.handleRef=function(e){var t=this;this.state.IOSupported&&e&&(this.cleanUpListeners=h(e,function(){var e=m(t.props);t.state.isVisible||"function"!=typeof t.props.onStartLoad||t.props.onStartLoad({wasCached:e}),t.setState({isVisible:!0},function(){return t.setState({imgLoaded:e,imgCached:!!t.imageRef.current.currentSrc})})}))},a.handleImageLoaded=function(){var e,t,a;e=this.props,t=u(e),a=t.fluid?t.fluid.src:t.fixed.src,f[a]=!0,this.setState({imgLoaded:!0}),this.state.seenBefore&&this.setState({fadeIn:!1}),this.props.onLoad&&this.props.onLoad()},a.render=function(){var e=u(this.props),t=e.title,a=e.alt,r=e.className,n=e.style,i=void 0===n?{}:n,s=e.imgStyle,l=void 0===s?{}:s,d=e.placeholderStyle,f=void 0===d?{}:d,m=e.placeholderClassName,p=e.fluid,h=e.fixed,b=e.backgroundColor,E=e.Tag,v=e.itemProp,w=this.state.imgLoaded||!1===this.state.fadeIn,S=!0===this.state.fadeIn&&!this.state.imgCached,R=(0,o.default)({opacity:w?1:0,transition:S?"opacity 0.5s":"none"},l),I="boolean"==typeof b?"lightgray":b,L={transitionDelay:"0.5s"},T=(0,o.default)({opacity:this.state.imgLoaded?0:1},S&&L,l,f),k={title:t,alt:this.state.isVisible?"":a,style:T,className:m};if(p){var O=p;return c.default.createElement(E,{className:(r||"")+" gatsby-image-wrapper",style:(0,o.default)({position:"relative",overflow:"hidden"},i),ref:this.handleRef,key:"fluid-"+JSON.stringify(O.srcSet)},c.default.createElement(E,{style:{width:"100%",paddingBottom:100/O.aspectRatio+"%"}}),I&&c.default.createElement(E,{title:t,style:(0,o.default)({backgroundColor:I,position:"absolute",top:0,bottom:0,opacity:this.state.imgLoaded?0:1,right:0,left:0},S&&L)}),O.base64&&c.default.createElement(y,(0,o.default)({src:O.base64},k)),O.tracedSVG&&c.default.createElement(y,(0,o.default)({src:O.tracedSVG},k)),this.state.isVisible&&c.default.createElement("picture",null,O.srcSetWebp&&c.default.createElement("source",{type:"image/webp",srcSet:O.srcSetWebp,sizes:O.sizes}),c.default.createElement(y,{alt:a,title:t,sizes:O.sizes,src:O.src,crossOrigin:this.props.crossOrigin,srcSet:O.srcSet,style:R,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:v})),this.state.hasNoScript&&c.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:g((0,o.default)({alt:a,title:t},O))}}))}if(h){var C=h,x=(0,o.default)({position:"relative",overflow:"hidden",display:"inline-block",width:C.width,height:C.height},i);return"inherit"===i.display&&delete x.display,c.default.createElement(E,{className:(r||"")+" gatsby-image-wrapper",style:x,ref:this.handleRef,key:"fixed-"+JSON.stringify(C.srcSet)},I&&c.default.createElement(E,{title:t,style:(0,o.default)({backgroundColor:I,width:C.width,opacity:this.state.imgLoaded?0:1,height:C.height},S&&L)}),C.base64&&c.default.createElement(y,(0,o.default)({src:C.base64},k)),C.tracedSVG&&c.default.createElement(y,(0,o.default)({src:C.tracedSVG},k)),this.state.isVisible&&c.default.createElement("picture",null,C.srcSetWebp&&c.default.createElement("source",{type:"image/webp",srcSet:C.srcSetWebp,sizes:C.sizes}),c.default.createElement(y,{alt:a,title:t,width:C.width,height:C.height,sizes:C.sizes,src:C.src,crossOrigin:this.props.crossOrigin,srcSet:C.srcSet,style:R,ref:this.imageRef,onLoad:this.handleImageLoaded,onError:this.props.onError,itemProp:v})),this.state.hasNoScript&&c.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:g((0,o.default)({alt:a,title:t},C))}}))}return null},t}(c.default.Component);b.defaultProps={critical:!1,fadeIn:!0,alt:"",Tag:"div"};var E=d.default.shape({width:d.default.number.isRequired,height:d.default.number.isRequired,src:d.default.string.isRequired,srcSet:d.default.string.isRequired,base64:d.default.string,tracedSVG:d.default.string,srcWebp:d.default.string,srcSetWebp:d.default.string}),v=d.default.shape({aspectRatio:d.default.number.isRequired,src:d.default.string.isRequired,srcSet:d.default.string.isRequired,sizes:d.default.string.isRequired,base64:d.default.string,tracedSVG:d.default.string,srcWebp:d.default.string,srcSetWebp:d.default.string});b.propTypes={resolutions:E,sizes:v,fixed:E,fluid:v,fadeIn:d.default.bool,title:d.default.string,alt:d.default.string,className:d.default.oneOfType([d.default.string,d.default.object]),critical:d.default.bool,crossOrigin:d.default.oneOfType([d.default.string,d.default.bool]),style:d.default.object,imgStyle:d.default.object,placeholderStyle:d.default.object,placeholderClassName:d.default.string,backgroundColor:d.default.oneOfType([d.default.string,d.default.bool]),onLoad:d.default.func,onError:d.default.func,onStartLoad:d.default.func,Tag:d.default.string,itemProp:d.default.string};var w=b;t.default=w}}]);
//# sourceMappingURL=component---src-pages-about-me-js-0ac53bf349ffc375afb7.js.map