-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-contact-js-27f458987275308cbddf.js
2 lines (2 loc) · 8.84 KB
/
component---src-pages-contact-js-27f458987275308cbddf.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{148:function(n,t,e){"use strict";e.r(t);var r=e(0),o=e.n(r),i=e(151),a=e(156),c=e(153),u=e(159),s=e(154),l=e(149),f=e.n(l);function m(){var n=f()(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n border-bottom: ",";\n"]);return m=function(){return n},n}var d=e(150).c.div(m(),function(n){var t=n.bordered,e=n.theme.colors;return t?"2px solid "+e.secondary:"none"}),p=[{icon:"svg/email.svg",text:"E-mail: scheffchukk@gmail.com"},{icon:"svg/phone-call.svg",text:"Phone: +48 793-208-003"},{icon:"svg/github.svg",text:"Github: scheffchukk",hyperlink:"https://github.com/scheffchukk"}];t.default=function(){return o.a.createElement(o.a.Fragment,null,o.a.createElement(a.a,null,o.a.createElement(d,{className:"animated bounceInDown"},p.map(function(n){return o.a.createElement(s.a,{href:n.hyperlink,target:"_blank",key:n.text},o.a.createElement(d,{bordered:!0},o.a.createElement(u.a,{src:Object(i.b)(n.icon),alt:""}),o.a.createElement(c.a,null,n.text)))}))))}},151:function(n,t,e){"use strict";var r=e(0),o=e.n(r),i=e(4),a=e.n(i),c=e(33),u=e.n(c);e.d(t,"a",function(){return u.a}),e.d(t,"b",function(){return c.withPrefix});e(152),o.a.createContext({});a.a.object,a.a.string.isRequired,a.a.func,a.a.func},152:function(n,t,e){var r;n.exports=(r=e(155))&&r.default||r},153:function(n,t,e){"use strict";var r=e(149),o=e.n(r);function i(){var n=o()(["\n padding: 0;\n margin: 0;\n\n color: ",";\n font-family: ",";\n\n font-size: ",";\n\n @media (min-width: ",") {\n font-size: ",";\n }\n"]);return i=function(){return n},n}var a=e(150).c.p(i(),function(n){var t=n.reversed,e=n.theme.colors;return t?e.primary:e.secondary},function(n){return n.theme.font.family},function(n){var t=n.size;return t?t+"px":"22px"},function(n){return n.theme.sizes.desktop},function(n){var t=n.size;return t?t+"px":"28px"});t.a=a},154:function(n,t,e){"use strict";var r=e(149),o=e.n(r);function i(){var n=o()(["\n color: inherit;\n text-decoration: none;\n"]);return i=function(){return n},n}var a=e(150).c.a(i());t.a=a},155:function(n,t,e){"use strict";e.r(t);e(34);var r=e(0),o=e.n(r),i=e(4),a=e.n(i),c=e(55),u=e(2),s=function(n){var t=n.location,e=u.default.getResourcesForPathnameSync(t.pathname);return o.a.createElement(c.a,Object.assign({location:t,pageResources:e},e.json))};s.propTypes={location:a.a.shape({pathname:a.a.string.isRequired}).isRequired},t.default=s},156:function(n,t,e){"use strict";var r=e(7),o=e.n(r),i=e(149),a=e.n(i),c=e(0),u=e.n(c),s=e(150);e(158);function l(){var n=a()(["\n width: 25px;\n height: 17px;\n background: ",';\n\n position: relative;\n\n cursor: pointer;\n\n ::after,\n ::before {\n content: "";\n\n position: absolute;\n top: 3px;\n left: 0;\n\n width: inherit;\n height: 4px;\n background: ',";\n }\n\n ::after {\n top: 10px;\n }\n\n @media (min-width: ",") {\n width: 36px;\n height: 24px;\n\n ::before,\n ::after {\n height: 6px;\n top: 4px;\n }\n\n ::after {\n top: 14px;\n }\n }\n"]);return l=function(){return n},n}var f=s.c.div(l(),function(n){var t=n.reverse,e=n.theme.colors;return t?e.primary:e.secondary},function(n){var t=n.reverse,e=n.theme.colors;return t?e.secondary:e.primary},function(n){return n.theme.sizes.desktop});function m(){var n=a()(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n padding: 10px;\n background: ",";\n border-bottom: 2px solid ",";\n\n position: sticky;\n top: 0;\n\n z-index: 1;\n\n @media (min-width: ",") {\n padding: 15px;\n border-bottom: 3px solid ",";\n }\n"]);return m=function(){return n},n}var d=s.c.header(m(),function(n){return n.theme.colors.primary},function(n){return n.theme.colors.secondary},function(n){return n.theme.sizes.desktop},function(n){return n.theme.colors.secondary});function p(){var n=a()(["\n margin: 0;\n color: ",";\n font-family: ",";\n text-align: center;\n letter-spacing: 1.5px;\n\n font-size: 32px;\n @media (min-width: ",") {\n font-size: 38px;\n }\n"]);return p=function(){return n},n}var h=s.c.h1(p(),function(n){return n.theme.colors.secondary},function(n){return n.theme.font.family},function(n){return n.theme.sizes.desktop}),g=function(n){var t=n.onClick;return u.a.createElement(u.a.Fragment,null,u.a.createElement(d,null,u.a.createElement(h,null,"scheffchukk"),u.a.createElement("div",{onClick:t},u.a.createElement(f,null))))};function v(){var n=a()(["\n background: ",";\n\n position: absolute;\n top: 0;\n left: 0;\n\n width: 100vw;\n height: 100vh;\n\n background: ",";\n color: ",";\n\n display: ",";\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n\n z-index: 1;\n\n padding: 30px;\n"]);return v=function(){return n},n}var x=s.c.nav(v(),function(n){return n.theme.colors.secondary},function(n){return n.theme.colors.secondary},function(n){return n.theme.colors.primary},function(n){return n.navigationToggled?"flex":"none"});function y(){var n=a()(["\n width: 100%;\n height: 100%;\n\n list-style: none;\n\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n\n padding: 0;\n"]);return y=function(){return n},n}var b=s.c.ul(y());function w(){var n=a()(["\n color: ",";\n text-align: center;\n\n @media (min-width: ",") {\n margin-bottom: 20px;\n }\n"]);return w=function(){return n},n}var k=s.c.li(w(),function(n){return n.theme.colors.primary},function(n){return n.theme.sizes.desktop}),E=e(151);function z(){var n=a()(["\n color: ",";\n font-family: ",";\n text-decoration: none;\n\n font-size: 26px;\n\n @media (min-width: ",") {\n font-size: 32px;\n }\n"]);return z=function(){return n},n}var j=Object(s.c)(E.a)(z(),function(n){return n.theme.colors.primary},function(n){return n.theme.font.family},function(n){return n.theme.sizes.desktop}),C=e(153),T=e(154),N=[{text:"Main",to:"/"},{text:"About",to:"/about/"},{text:"Offer",to:"/offer/"},{text:"Advantages",to:"/advantages/"},{text:"Projects",to:"/projects/"},{text:"Contact",to:"/contact/"}],O=function(n){var t=n.navigationToggled,e=n.onClick;return u.a.createElement(x,{navigationToggled:t},u.a.createElement("div",{className:"animated bounceInDown",onClick:e},u.a.createElement(f,{reverse:!0})),u.a.createElement(b,{className:"animated bounceInDown delay-1s"},N.map(function(n){return u.a.createElement(k,{key:n.text},u.a.createElement(j,{to:n.to},n.text))})),u.a.createElement(u.a.Fragment,null,u.a.createElement(C.a,{size:"12",reversed:!0,style:{position:"absolute",top:"calc(100vh - 22px)",left:"10px"}},"Icons made by"," ",u.a.createElement(T.a,{href:"https://www.flaticon.com/authors/",title:""},"Users of www.flaticon.com")," ","from"," ",u.a.createElement(T.a,{href:"https://www.flaticon.com/",title:"Flaticon"},"www.flaticon.com")," ","is licensed by"," ",u.a.createElement(T.a,{href:"http://creativecommons.org/licenses/by/3.0/",title:"Creative Commons BY 3.0",target:"_blank"},"CC 3.0 BY"))))},F=(e(34),{font:{family:"Titillium Web"},sizes:{desktop:"1270px"}}),R=Object.assign({},F,{colors:{primary:"#ff0031",secondary:"#ffffff"}}),I=Object.assign({},F,{colors:{primary:"#ffffff",secondary:"#ff0031"}});function P(){var n=a()(["\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n\n padding: 10px;\n\n min-height: calc(100vh - 70px);\n\n background: ",";\n\n @media (min-width: ",") {\n min-height: calc(100vh - 91px);\n }\n"]);return P=function(){return n},n}function q(){var n=a()(["\n @import url('https://fonts.googleapis.com/css?family=Titillium+Web');\n\n\t\t*, *::before, *::after {\n\t\t\tbox-sizing: border-box;\n\t\t}\n\t\t\n\t\tbody {\n\t\t\tmargin: 0;\n\t\t}\n "]);return q=function(){return n},n}e.d(t,"a",function(){return B});var A=Object(s.b)(q()),D=s.c.div(P(),function(n){return n.theme.colors.primary},function(n){return n.theme.sizes.desktop}),B=function(n){function t(){for(var t,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(t=n.call.apply(n,[this].concat(r))||this).state={navigationToggled:!1},t}o()(t,n);var e=t.prototype;return e.toggleNavigation=function(){this.setState(function(n){return{navigationToggled:!n.navigationToggled}})},e.render=function(){var n=this,t=this.props,e=t.isRed,r=t.children;return u.a.createElement(s.a,{theme:e?R:I},u.a.createElement(u.a.Fragment,null,u.a.createElement(A,null),u.a.createElement(g,{onClick:function(){return n.toggleNavigation()}}),u.a.createElement(O,{navigationToggled:this.state.navigationToggled,onClick:function(){return n.toggleNavigation()}}),u.a.createElement(D,{className:e?"animated fadeInLeft":""},r)))},t}(c.Component)},159:function(n,t,e){"use strict";var r=e(149),o=e.n(r);function i(){var n=o()(["\n width: ",";\n height: auto;\n\n margin: 10px;\n"]);return i=function(){return n},n}var a=e(150).c.img(i(),function(n){var t=n.size;return t?t+"px":"64px"});t.a=a}}]);
//# sourceMappingURL=component---src-pages-contact-js-27f458987275308cbddf.js.map