-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-jsx-6c38fc1ad9979dc9d50f.js
2 lines (2 loc) · 3.36 KB
/
component---src-pages-index-jsx-6c38fc1ad9979dc9d50f.js
1
2
webpackJsonp([0xc23565d713b7],{43:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=a(1),u=n(s),c=a(15),i=n(c),f=a(75),p=n(f);a(52);var d=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return l(t,e),t.prototype.render=function(){var e=this.props.data.node.frontmatter,t=e.title,a=e.date,n=e.category,r=e.description,o=this.props.data.node.fields,l=o.slug,s=o.categorySlug;return u.default.createElement("div",{className:"post"},u.default.createElement("div",{className:"post__meta"},u.default.createElement("time",{className:"post__meta-time",dateTime:(0,p.default)(a).format("MMMM D, YYYY")},(0,p.default)(a).format("MMMM YYYY")),u.default.createElement("span",{className:"post__meta-divider"}),u.default.createElement("span",{className:"post__meta-category",key:s},u.default.createElement(i.default,{to:s,className:"post__meta-category-link"},n))),u.default.createElement("h2",{className:"post__title"},u.default.createElement(i.default,{className:"post__title-link",to:l},t)),u.default.createElement("p",{className:"post__description"},r),u.default.createElement(i.default,{className:"post__readmore",to:l},"Read"))},t}(u.default.Component);t.default=d,e.exports=t.default},52:function(e,t){},231:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.pageQuery=void 0;var s=a(1),u=n(s),c=a(22),i=n(c),f=a(43),p=n(f),d=a(23),m=n(d),_=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return l(t,e),t.prototype.render=function(){var e=[],t=this.props.data.site.siteMetadata,a=t.title,n=t.subtitle,r=this.props.data.allMarkdownRemark.edges;return r.forEach(function(t){e.push(u.default.createElement(p.default,{data:t,key:t.node.fields.slug}))}),u.default.createElement("div",null,u.default.createElement(i.default,null,u.default.createElement("title",null,a),u.default.createElement("meta",{name:"description",content:n})),u.default.createElement(m.default,this.props),u.default.createElement("div",{className:"content"},u.default.createElement("div",{className:"content__inner"},e)))},t}(u.default.Component);t.default=_;t.pageQuery="** extracted graphql fragment **"}});
//# sourceMappingURL=component---src-pages-index-jsx-6c38fc1ad9979dc9d50f.js.map