-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomponent---src-layouts-index-js-2682aa96ae940a6ef939.js
2 lines (2 loc) · 5.56 KB
/
component---src-layouts-index-js-2682aa96ae940a6ef939.js
1
2
webpackJsonp([0x67ef26645b2a,60335399758886],{119:function(t,e){t.exports={layoutContext:{}}},257:function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u=n(2),c=(o(u),n(263)),i=o(c),l=n(119),s=o(l);e.default=function(t){return r.createElement(i.default,a({},t,s.default))},t.exports=e.default}).call(e,n(14))},360:function(t,e){},261:function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var i=n(2),l=o(i),s=n(19),f=n(26),p=o(f),d=[["Twitter","https://twitter.com/soska"],["Instagram","https://instagram.com/soska"],["Dribbble","https://dribbble.com/soska"],["Github","https://github.com/soska"]],h=function(t){var e=t.link,n=e[0],o=e[1];return r.createElement("a",{css:{padding:(0,s.rhythm)(.25),margin:(0,s.rhythm)(.25)},href:o},n)},m=function(t){function e(){return a(this,e),u(this,t.apply(this,arguments))}return c(e,t),e.prototype.render=function(){return r.createElement("div",{css:{padding:(0,s.rhythm)(1),display:"flex",justifyContent:"center",borderTop:"1px solid "+(0,p.default)(90),background:"white"}},d.map(function(t){return r.createElement(h,{link:t})}))},e}(l.default.Component);e.default=m,t.exports=e.default}).call(e,n(14))},262:function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var i=n(2),l=o(i),s=(n(19),n(26)),f=o(s),p=n(80),d=o(p),h=function(t){function e(){return a(this,e),u(this,t.apply(this,arguments))}return c(e,t),e.prototype.render=function(){return r.createElement("div",{css:{padding:"22px",textAlign:"center",background:"white",borderBottom:"1px solid "+(0,f.default)(90)}},r.createElement(d.default,{to:"/"},r.createElement("svg",{css:{width:"50px"},viewBox:"0 0 800 800"},r.createElement("defs",null),r.createElement("path",{css:{fill:"tomato"},d:"M799.86,114.54V.25H-.14V343.11h684V459H-.14V800.25h800V228.82H115.31V114.54ZM115.31,686V573.27H683.83V686Z"}))))},e}(l.default.Component);e.default=h,t.exports=e.default}).call(e,n(14))},263:function(t,e,n){(function(r){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}e.__esModule=!0;var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},l=n(2),s=o(l),f=n(80),p=o(f),d=n(261),h=o(d),m=n(262),y=o(m),b=n(26),w=o(b),E=n(19);n(360);var _=function(){return r.createElement("h1",{style:i({},(0,E.scale)(1.5),{marginBottom:(0,E.rhythm)(1.5),marginTop:0})},r.createElement(p.default,{style:{boxShadow:"none",textDecoration:"none",color:"tomato"},to:"/"},"Hola!"))},g=function(t){var e=t.to,n=t.children;return r.createElement(p.default,{css:{fontSize:(0,E.rhythm)(.45),textTransform:"uppercase",letterSpacing:"0.04em",display:"block",padding:(0,E.rhythm)(.5),color:(0,w.default)(40),"&:hover":{color:"tomato"}},to:e},n)},v=function(){return r.createElement("nav",{css:{display:"flex",justifyContent:"center",borderBottom:"1px solid "+(0,w.default)(95)}},r.createElement(g,{to:"/"},"Home"),r.createElement(g,{to:"/about"},"About"),r.createElement(g,{to:"/projects"},"Projects"))},x=function(t){function e(){return a(this,e),u(this,t.apply(this,arguments))}return c(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.children,o="/";return r.createElement("div",null,r.createElement(y.default,null),r.createElement(v,null),r.createElement("div",{style:{marginLeft:"auto",marginRight:"auto",maxWidth:(0,E.rhythm)(28),minHeight:"80vh",padding:(0,E.rhythm)(1.5)+" "+(0,E.rhythm)(.75)}},e.pathname===o&&r.createElement(_,null),n()),r.createElement(h.default,null))},e}(s.default.Component);e.default=x,t.exports=e.default}).call(e,n(14))}});
//# sourceMappingURL=component---src-layouts-index-js-2682aa96ae940a6ef939.js.map