2 lines
1.4 KiB
JavaScript
2 lines
1.4 KiB
JavaScript
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"2VzG":function(e,t,a){"use strict";a.r(t),a.d(t,"CourseQuery",(function(){return i}));var r=a("q1tI"),n=a.n(r),c=a("kCIJ"),l=a("vrFN"),s=a("Bl7J");t.default=Object(c.injectIntl)((function(e){var t=Object(c.useIntl)(),a=t.locale,r=e.data.course;console.log(r);var i="Физика";if("ru"===a)switch(r.frontmatter.parent){case"education":i="Образование";break;case"math":i="Математика";break;case"software":i="Программное обеспечение";break;default:i="Физика"}else switch(r.frontmatter.parent){case"education":i="Education";break;case"math":i="Maths";break;case"software":i="Software";break;default:i="Physics"}return n.a.createElement(s.a,null,n.a.createElement(l.a,{lang:a,title:t.formatMessage({id:"title"})}),n.a.createElement("nav",{"aria-label":"breadcrumb"},n.a.createElement("ol",{className:"breadcrumb",style:{margin:0}},n.a.createElement("li",{className:"breadcrumb-item"},n.a.createElement(c.Link,{to:"/projects/"+r.frontmatter.parent},i)),n.a.createElement("li",{className:"breadcrumb-item active","aria-current":"page"},r.frontmatter.shortTitle))),n.a.createElement("h1",{style:{marginTop:"15px",textAlign:"center"}},r.frontmatter.title),n.a.createElement("div",{dangerouslySetInnerHTML:{__html:r.html}}))}));var i="2677607180"}}]);
|
||
|
//# sourceMappingURL=component---src-components-templates-course-template-js-3c9a701a382d0aae6105.js.map
|