-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomponent---src-templates-blog-post-js-34d331e4d31b68a2e715.js
2 lines (2 loc) · 2.18 KB
/
component---src-templates-blog-post-js-34d331e4d31b68a2e715.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{L2L3:function(e,t,a){e.exports={articleTD:"blog-post-module--articleTD--3WVNl",imgCont:"blog-post-module--imgCont--17dwl",sectionCont:"blog-post-module--sectionCont--1UD4c",imageCont:"blog-post-module--imageCont--3fGXY",nav:"blog-post-module--nav--2W5fW",previousArticle:"blog-post-module--previousArticle--37SvQ",nextArticle:"blog-post-module--nextArticle--owCPA"}},yZlL:function(e,t,a){"use strict";a.r(t);var l=a("dI71"),n=a("q1tI"),r=a.n(n),o=a("Wbzz"),m=a("+e4l"),i=a("hIod"),c=a("9eSz"),s=a.n(c),u=a("L2L3"),d=a.n(u),p=function(e){function t(){return e.apply(this,arguments)||this}return Object(l.a)(t,e),t.prototype.render=function(){var e=this.props.data.markdownRemark,t=this.props.pageContext,a=t.previous,l=t.next;return r.a.createElement(m.a,null,r.a.createElement(i.a,{title:e.frontmatter.title,description:e.frontmatter.description||e.excerpt}),r.a.createElement("article",null,r.a.createElement("div",{className:d.a.articleTD},r.a.createElement("h2",null,e.frontmatter.title),r.a.createElement("h4",null,e.frontmatter.description),r.a.createElement("p",null," ",e.frontmatter.duration," | ",e.frontmatter.date," "),r.a.createElement("div",{className:d.a.imageCont},e.frontmatter.featuredImage&&e.frontmatter.featuredImage.childImageSharp?r.a.createElement(s.a,{fluid:e.frontmatter.featuredImage.childImageSharp.fluid,alt:"Featured"}):r.a.createElement("img",{src:e.frontmatter.featuredImage,alt:"Featured"}),r.a.createElement("p",null,e.frontmatter.caption))),r.a.createElement("section",{className:d.a.sectionCont,dangerouslySetInnerHTML:{__html:e.html}})),r.a.createElement("div",{className:d.a.nav},r.a.createElement("ul",null,r.a.createElement("li",{className:d.a.previousArticle},a&&r.a.createElement("div",null,r.a.createElement("p",null," ← "),r.a.createElement(o.Link,{to:a.fields.slug,rel:"prev"},a.frontmatter.title))),r.a.createElement("li",{className:d.a.nextArticle},l&&r.a.createElement("div",null,r.a.createElement("p",null," → "),r.a.createElement(o.Link,{to:l.fields.slug,rel:"next"},l.frontmatter.title))))))},t}(r.a.Component);t.default=p}}]);
//# sourceMappingURL=component---src-templates-blog-post-js-34d331e4d31b68a2e715.js.map