-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1-1c95505d80a2dfa4aaa4.js
2 lines (2 loc) · 7.45 KB
/
1-1c95505d80a2dfa4aaa4.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{145:function(t,n,e){"use strict";var r=e(8);e(0);n.a=function(t){var n=t.children;return Object(r.b)("span",{css:a},n)};var a={name:"1wp8nno",styles:"padding:10px;max-width:35em;"}},148:function(t,n,e){"use strict";e.r(n),e.d(n,"graphql",function(){return h}),e.d(n,"StaticQueryContext",function(){return p}),e.d(n,"StaticQuery",function(){return b});var r=e(8),a=e(0),i=e.n(a),o=e(4),s=e.n(o),c=e(144),u=e.n(c);e.d(n,"Link",function(){return u.a}),e.d(n,"withPrefix",function(){return c.withPrefix}),e.d(n,"navigate",function(){return c.navigate}),e.d(n,"push",function(){return c.push}),e.d(n,"replace",function(){return c.replace}),e.d(n,"navigateTo",function(){return c.navigateTo});var f=e(149),m=e.n(f);e.d(n,"PageRenderer",function(){return m.a});var l=e(50);e.d(n,"parsePath",function(){return l.a});var p=i.a.createContext({}),b=function(t){return Object(r.b)(p.Consumer,null,function(n){return t.data||n[t.query]&&n[t.query].data?(t.render||t.children)(t.data?t.data.data:n[t.query].data):Object(r.b)("div",null,"Loading (StaticQuery)")})};function h(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away,. Unfortunately, something went wrong and the query was left in the compiled code.\n\n.Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}b.propTypes={data:s.a.object,query:s.a.string.isRequired,render:s.a.func,children:s.a.func}},149:function(t,n,e){var r;t.exports=(r=e(160))&&r.default||r},150:function(t,n,e){"use strict";var r=e(146),a=e.n(r),i=e(26),o=e(7),s=e.n(o),c=e(8),u=e(0),f=e.n(u),m=e(151),l=e(148),p=function(){return Object(c.b)("nav",{css:b},Object(c.b)(l.Link,{to:"/"},Object(c.b)("span",{css:h},"home")," "),Object(c.b)(l.Link,{to:"/meta"},Object(c.b)("span",{css:h}," meta ")," "))},b={name:"xlau0o",styles:"display:flex;justify-content:space-between;background-color:#ffffff85;width:100vw;"},h={name:"1b0u7gm",styles:"height:1em;font-size:0.8em;padding:0.2em 1em;&:hover{color:white;}"},d=function(t){var n=t.photographer;return Object(c.b)("a",{css:g,href:"https://unsplash.com/"+n+"?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge",target:"_blank",rel:"noopener noreferrer",title:"Download free do whatever you want high-resolution photos from "+n},"Photo by ",n)},g={name:"1ak299u",styles:"position:fixed;bottom:10px;right:20px;font-size:0.5rem;"};function w(){var t=a()(["\n 0% {\n -webkit-transform: scale(1) translateY(0);\n transform: scale(1) translateY(0);\n -webkit-transform-origin: 50% 16%;\n transform-origin: 50% 16%;\n }\n 100% {\n -webkit-transform: scale(1.25) translateY(-15px);\n transform: scale(1.25) translateY(-15px);\n -webkit-transform-origin: top;\n transform-origin: top;\n }\n"]);return w=function(){return t},t}function y(){var t=a()(["\n 0% {\n opacity: 1\n }\n\n 12% {\n opacity: 0\n }\n\n 85% {\n opacity: 0 \n }\n\n 100% {\n opacity: 1\n }\n"]);return y=function(){return t},t}var v=function(t){function n(n,e){var r,a,i;return(r=t.call(this,n,e)||this).setNextImage=function(){r.setState(function(t){var n=t.currentImage;return{currentImage:n+1<=r.props.images.length-1?n+1:0}})},r.state={currentImage:(a=0,i=n.images.length,Math.floor(Math.random()*(i-a)+a))},r}s()(n,t);var e=n.prototype;return e.componentDidMount=function(){setInterval(this.setNextImage,15e3)},e.currentImage=function(){return this.props.images[this.state.currentImage]},e.render=function(){return Object(c.b)("div",{css:q},Object(c.b)("div",{css:k}),Object(c.b)("div",{css:Object(i.a)([x,Object(c.a)({backgroundImage:"url("+this.currentImage().src+")"},"")],"")}),Object(c.b)(d,{photographer:this.currentImage().photographer}),this.props.images.map(function(t){return Object(c.b)("link",{key:t.src,rel:"prefetch",href:t.src})}))},n}(f.a.PureComponent);v.defaultProps={images:[{src:"https://images.unsplash.com/photo-1482977036925-e8fcaa643657?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1234&q=80",photographer:"@anchorlee"},{src:"https://images.unsplash.com/photo-1484291470158-b8f8d608850d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2000&q=80",photographer:"@christoffere"},{src:"https://images.unsplash.com/photo-1523002010469-ea85cb48674b?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80",photographer:"@alessandracaretto"},{src:"https://images.unsplash.com/photo-1526635229611-9a2482c8427b?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80",photographer:"@rawpixel"}]};var j=Object(c.c)(y()),O=Object(c.c)(w()),x=Object(c.a)({width:"100vw",height:"100vh",position:"fixed",zIndex:-1,overflow:"hidden",backgroundSize:"cover",animation:O+" 15s cubic-bezier(0.445, 0.050, 0.550, 0.950) infinite both;"},""),k=Object(c.a)({width:"100vw",height:"100vh",overflow:"hidden",position:"absolute",backgroundColor:"white",animation:j+" 15s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both"},""),q=Object(c.a)({position:"fixed",zIndex:-1},"");function I(){var t=a()([" \n from {\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n -webkit-animation-timing-function: ease-out;\n animation-timing-function: ease-out;\n }\n 10% {\n -webkit-transform: scale(0.91);\n transform: scale(0.91);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n 17% {\n -webkit-transform: scale(0.98);\n transform: scale(0.98);\n -webkit-animation-timing-function: ease-out;\n animation-timing-function: ease-out;\n }\n 33% {\n -webkit-transform: scale(0.87);\n transform: scale(0.87);\n -webkit-animation-timing-function: ease-in;\n animation-timing-function: ease-in;\n }\n 45% {\n -webkit-transform: scale(1);\n transform: scale(1);\n -webkit-animation-timing-function: ease-out;\n animation-timing-function: ease-out;\n }\n"]);return I=function(){return t},t}e.d(n,"a",function(){return z});var P={name:"1vp8jwk",styles:"display:flex;flex-direction:row;justify-content:center;"},z=function(t){function n(){return t.apply(this,arguments)||this}return s()(n,t),n.prototype.render=function(){var t=this.props,n=t.title,e=t.children;return Object(c.b)("div",{css:R},Object(c.b)(m.Helmet,null,Object(c.b)("meta",{charSet:"utf-8"}),Object(c.b)("title",null,n," | AaronDeRuvo.com "),Object(c.b)("style",{type:"text/css"},"body {margin: 0;}")),Object(c.b)(p,null),e,Object(c.b)("div",{css:P},Object(c.b)("small",null,Object(c.b)("a",{css:C,href:""},"@aaronmgdr"))),Object(c.b)(v,null))},n}(f.a.PureComponent),R={name:"10b9fxk",styles:"display:flex;flex-direction:column;justify-content:space-between;height:100vh;width:100vw;margin:0;@media (min-device-width : 768px){display:grid;align-items:start;justify-items:center;justify-content:center;}"},S=Object(c.c)(I()),C=Object(c.a)({"&:hover":{animation:S+" 1s ease-in-out infinite both"}},"")},160:function(t,n,e){"use strict";e.r(n);e(56);var r=e(0),a=e.n(r),i=e(4),o=e.n(i),s=e(72),c=e(2),u=function(t){var n=t.location,e=c.default.getResourcesForPathnameSync(n.pathname);return a.a.createElement(s.a,Object.assign({location:n,pageResources:e},e.json))};u.propTypes={location:o.a.shape({pathname:o.a.string.isRequired}).isRequired},n.default=u}}]);
//# sourceMappingURL=1-1c95505d80a2dfa4aaa4.js.map