site/component---src-pages-index-js-4d472eec4a55ad51ad92.js
2020-03-21 20:12:32 +03:00

2 lines
4.1 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{RXBc:function(e,a,t){"use strict";t.r(a);var r=t("q1tI"),n=t.n(r),l=t("kCIJ"),c=t("Bl7J"),m=t("vrFN"),s=t.p+"static/head-c11bff42b70ab099232fee6a9148b18d.png",o=t.p+"static/head_en-f1ca1f306ab8db9ea5abe6a2b4daa66d.png",i=(t("fnl6"),t("GwUf"),t("k1TG")),d=t("8o2o"),u=t("TSYQ"),b=t.n(u),E=t("vUet"),f=n.a.forwardRef((function(e,a){var t,r=e.as,l=void 0===r?"div":r,c=e.className,m=e.fluid,s=e.bsPrefix,o=Object(d.a)(e,["as","className","fluid","bsPrefix"]),u=((t={})[s=Object(E.a)(s,"jumbotron")]=!0,t[s+"-fluid"]=m,t);return n.a.createElement(l,Object(i.a)({ref:a},o,{className:b()(c,u)}))}));f.defaultProps={fluid:!1},f.displayName="Jumbotron";var p=f,v=t("dbZe"),g=n.a.forwardRef((function(e,a){var t=e.bsPrefix,r=e.variant,l=e.size,c=e.active,m=e.className,s=e.block,o=e.type,u=e.as,f=Object(d.a)(e,["bsPrefix","variant","size","active","className","block","type","as"]),p=Object(E.a)(t,"btn"),g=b()(m,p,c&&"active",p+"-"+r,s&&p+"-block",l&&p+"-"+l);if(f.href)return n.a.createElement(v.a,Object(i.a)({},f,{as:u,ref:a,className:b()(g,f.disabled&&"disabled")}));a&&(f.ref=a),u||(f.type=o);var y=u||"button";return n.a.createElement(y,Object(i.a)({},f,{className:g}))}));g.displayName="Button",g.defaultProps={variant:"primary",active:!1,disabled:!1,type:"button"};var y=g;t.d(a,"query",(function(){return j}));a.default=Object(l.injectIntl)((function(e){var a=e.data,t=Object(l.useIntl)(),r=t.locale,i="",d="";return"ru"===r?(i=a.ru_posts.edges,d=s):"en"===r&&(i=a.en_posts.edges,d=o),n.a.createElement(c.a,null,n.a.createElement(m.a,{lang:r,title:t.formatMessage({id:"title"})}),n.a.createElement(p,null,n.a.createElement("img",{src:d,width:"90%",className:"center-block",alt:"head"}),n.a.createElement("hr",null),n.a.createElement("h3",{style:{color:"rgb(18,64,171)"}},n.a.createElement(l.FormattedMessage,{id:"jumbotron.labintro"})),n.a.createElement("p",{id:"lead"},n.a.createElement(l.FormattedMessage,{id:"jumbotron.lead"})),n.a.createElement(l.FormattedHTMLMessage,{id:"jumbotron.list"}),n.a.createElement(y,{variant:"success",id:"jt"},n.a.createElement(l.Link,{to:"/about"},n.a.createElement(l.FormattedMessage,{id:"jumbotron.about"})))),n.a.createElement("div",{className:"row"},n.a.createElement("div",{className:"col-lg-4"},n.a.createElement("h2",null,n.a.createElement(l.FormattedMessage,{id:"more.nuclear_title"})),n.a.createElement("p",null," ",n.a.createElement(l.FormattedMessage,{id:"more.nuclear_body"})," "),n.a.createElement(y,{variant:"primary",id:"more"},n.a.createElement(l.Link,{to:"/projects/physics"},n.a.createElement(l.FormattedMessage,{id:"more.nuclear_more"})))),n.a.createElement("div",{className:"col-lg-4"},n.a.createElement("h2",null,n.a.createElement(l.FormattedMessage,{id:"more.education_title"})),n.a.createElement("p",null," ",n.a.createElement(l.FormattedMessage,{id:"more.education_body"})),n.a.createElement(y,{variant:"primary",id:"more"},n.a.createElement(l.Link,{to:"/projects/education"},n.a.createElement(l.FormattedMessage,{id:"more.education_more"})))),n.a.createElement("div",{className:"col-lg-4"},n.a.createElement("h2",null,n.a.createElement(l.FormattedMessage,{id:"more.software_title"})),n.a.createElement("p",null,n.a.createElement(l.FormattedMessage,{id:"more.software_body"})),n.a.createElement(y,{variant:"primary",id:"more"},n.a.createElement(l.Link,{to:"/projects/software"},n.a.createElement(l.FormattedMessage,{id:"more.software_more"}))))),n.a.createElement("hr",{style:{marginBottom:"50px"}}),n.a.createElement("h1",{style:{textAlign:"center"}},n.a.createElement(l.FormattedMessage,{id:"more.news"})),i.map((function(e){var a=e.node,t=a.frontmatter.title,r=a.frontmatter.date;return n.a.createElement("div",{className:"card",style:{marginBottom:"15px",borderRadius:"0px",boxShadow:"0 2px 2px #A2A2A2"}},n.a.createElement("div",{className:"card-body"},n.a.createElement("h2",{className:"title"},t,n.a.createElement("span",{id:"date"},r)),n.a.createElement("p",{dangerouslySetInnerHTML:{__html:a.frontmatter.description||a.html}})))})))}));var j="2233408715"}}]);
//# sourceMappingURL=component---src-pages-index-js-4d472eec4a55ad51ad92.js.map