-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-post-jsx-60452a776a765683db5c.js
2 lines (2 loc) · 3.09 KB
/
component---src-templates-post-jsx-60452a776a765683db5c.js
1
2
webpackJsonp([0xc1d74b0851a0],{220:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 u=n(1),i=r(u),c=n(29),f=r(c),p={tech:"技術",biz:"創業"},s=function(e){function t(){return o(this,t),a(this,e.apply(this,arguments))}return l(t,e),t.prototype.render=function(){var e=this.props.category;return i.default.createElement(f.default,{className:"nav-link",to:"/categories/"+e+"/"},"返回",p[e],"文章")},t}(u.Component);t.default=s,e.exports=t.default},323:function(e,t){},232:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return e.raw=t,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 u(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 i=o(["\n padding: 20px;\n max-width: 900px;\n margin: 0 auto;\n"],["\n padding: 20px;\n max-width: 900px;\n margin: 0 auto;\n"]),c=n(1),f=r(c),p=n(31),s=r(p),d=n(18),y=r(d),h=n(63),m=r(h),b=n(26),g=r(b);n(323);var w=n(62),E=r(w),_=n(220),v=r(_),x=function(e){function t(){return a(this,t),l(this,e.apply(this,arguments))}return u(t,e),t.prototype.render=function(){var e=this.props.pathContext.slug,t=this.props.data.markdownRemark,n=t.frontmatter;return console.log(n),n.id||(n.id=e),n.id||(n.category_id=g.default.postDefaultCategoryID),f.default.createElement("div",null,f.default.createElement(s.default,null,f.default.createElement("title",null,n.title+" | "+g.default.siteTitle)),f.default.createElement(m.default,{postPath:e,postNode:t,postSEO:!0}),f.default.createElement("div",null,f.default.createElement(E.default,{location:this.props.location}),f.default.createElement(O,null,f.default.createElement(v.default,{category:n.category}),f.default.createElement("h1",{style:{margin:0}},n.title),f.default.createElement("div",{style:{color:"#bbb"}},n.date),f.default.createElement("div",{dangerouslySetInnerHTML:{__html:t.html}}))))},t}(f.default.Component);t.default=x;var O=y.default.div(i);t.pageQuery="** extracted graphql fragment **"}});
//# sourceMappingURL=component---src-templates-post-jsx-60452a776a765683db5c.js.map