forked from lwz7512/kanjian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-blog-post-js-e91703d046643551f6ae.js
2 lines (2 loc) · 7.89 KB
/
component---src-templates-blog-post-js-e91703d046643551f6ae.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{144:function(t,e,a){"use strict";a.r(e),a.d(e,"pageQuery",function(){return p});a(32);var n=a(7),r=a.n(n),A=a(0),i=a.n(A),o=a(149),c=a(160),l=a(154),s=a(155),u=a(151),d=(a(209),a(210)),m=function(t){function e(){return t.apply(this,arguments)||this}return r()(e,t),e.prototype.render=function(){var t=this.props.data.markdownRemark,e=this.props.data.site.siteMetadata.title,a=this.props.pageContext,n=a.previous,r=a.next;return i.a.createElement(l.a,{location:this.props.location,title:e},i.a.createElement(s.a,{title:t.frontmatter.title,description:t.excerpt}),i.a.createElement("h1",null,t.frontmatter.title),i.a.createElement("p",{style:Object.assign({},Object(u.b)(-.2),{display:"block",marginBottom:Object(u.a)(1),marginTop:Object(u.a)(-1)})},t.frontmatter.date),t.frontmatter.video&&i.a.createElement(d.Player,{poster:t.frontmatter.cover,src:t.frontmatter.video}),i.a.createElement("p",null),i.a.createElement("div",{dangerouslySetInnerHTML:{__html:t.html}}),i.a.createElement("hr",{style:{marginBottom:Object(u.a)(1)}}),i.a.createElement(c.a,null),i.a.createElement("ul",{style:{display:"flex",flexWrap:"wrap",justifyContent:"space-between",listStyle:"none",padding:0}},i.a.createElement("li",null,n&&i.a.createElement(o.Link,{to:n.fields.slug,rel:"prev"},"← ",n.frontmatter.title)),i.a.createElement("li",null,r&&i.a.createElement(o.Link,{to:r.fields.slug,rel:"next"},r.frontmatter.title," →"))))},e}(i.a.Component);e.default=m;var p="3294172028"},149:function(t,e,a){"use strict";a.r(e),a.d(e,"graphql",function(){return p}),a.d(e,"StaticQueryContext",function(){return d}),a.d(e,"StaticQuery",function(){return m});var n=a(0),r=a.n(n),A=a(4),i=a.n(A),o=a(148),c=a.n(o);a.d(e,"Link",function(){return c.a}),a.d(e,"withPrefix",function(){return o.withPrefix}),a.d(e,"navigate",function(){return o.navigate}),a.d(e,"push",function(){return o.push}),a.d(e,"replace",function(){return o.replace}),a.d(e,"navigateTo",function(){return o.navigateTo});var l=a(152),s=a.n(l);a.d(e,"PageRenderer",function(){return s.a});var u=a(33);a.d(e,"parsePath",function(){return u.a});var d=r.a.createContext({}),m=function(t){return r.a.createElement(d.Consumer,null,function(e){return t.data||e[t.query]&&e[t.query].data?(t.render||t.children)(t.data?t.data.data:e[t.query].data):r.a.createElement("div",null,"Loading (StaticQuery)")})};function p(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away,. Unfortunately, something went wrong and the query was left in the compiled code.\n\n.Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}m.propTypes={data:i.a.object,query:i.a.string.isRequired,render:i.a.func,children:i.a.func}},151:function(t,e,a){"use strict";a.d(e,"a",function(){return c}),a.d(e,"b",function(){return l});var n=a(165),r=a.n(n),A=a(166),i=a.n(A);i.a.overrideThemeStyles=function(){return{"a.gatsby-resp-image-link":{boxShadow:"none"}}},delete i.a.googleFonts;var o=new r.a(i.a);var c=o.rhythm,l=o.scale},152:function(t,e,a){var n;t.exports=(n=a(153))&&n.default||n},153:function(t,e,a){"use strict";a.r(e);a(32);var n=a(0),r=a.n(n),A=a(4),i=a.n(A),o=a(52),c=a(2),l=function(t){var e=t.location,a=c.default.getResourcesForPathnameSync(e.pathname);return r.a.createElement(o.a,Object.assign({location:e,pageResources:a},a.json))};l.propTypes={location:i.a.shape({pathname:i.a.string.isRequired}).isRequired},e.default=l},154:function(t,e,a){"use strict";a(32);var n=a(7),r=a.n(n),A=a(0),i=a.n(A),o=a(149),c=a(151),l=function(t){function e(){return t.apply(this,arguments)||this}return r()(e,t),e.prototype.render=function(){var t,e=this.props,a=e.location,n=e.title,r=e.children;return t="/kanjian/"===a.pathname?i.a.createElement("h1",{style:Object.assign({},Object(c.b)(1.5),{marginBottom:Object(c.a)(1.5),marginTop:0})},i.a.createElement(o.Link,{style:{boxShadow:"none",textDecoration:"none",color:"inherit"},to:"/"},n)):i.a.createElement("h3",{style:{fontFamily:"Montserrat, sans-serif",marginTop:0}},i.a.createElement(o.Link,{style:{boxShadow:"none",textDecoration:"none",color:"inherit"},to:"/"},i.a.createElement("img",{src:"/kanjian/home.png",className:"home-icon"}),n)),i.a.createElement("div",{style:{marginLeft:"auto",marginRight:"auto",maxWidth:Object(c.a)(24),padding:Object(c.a)(1.5)+" "+Object(c.a)(.75)}},t,r,i.a.createElement("footer",{style:{textAlign:"center"}},"© ",(new Date).getFullYear(),", Built with"," ",i.a.createElement("a",{href:"https://www.gatsbyjs.org"},"Gatsby")))},e}(i.a.Component);e.a=l},155:function(t,e,a){"use strict";var n=a(156),r=a(0),A=a.n(r),i=a(4),o=a.n(i),c=a(167),l=a.n(c),s=a(149);function u(t){var e=t.description,a=t.lang,r=t.meta,i=t.keywords,o=t.title;return A.a.createElement(s.StaticQuery,{query:d,render:function(t){var n=e||t.site.siteMetadata.description;return A.a.createElement(l.a,{htmlAttributes:{lang:a},title:o,titleTemplate:"%s | "+t.site.siteMetadata.title,meta:[{name:"description",content:n},{property:"og:title",content:o},{property:"og:description",content:n},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:t.site.siteMetadata.author},{name:"twitter:title",content:o},{name:"twitter:description",content:n}].concat(i.length>0?{name:"keywords",content:i.join(", ")}:[]).concat(r)})},data:n})}u.defaultProps={lang:"en",meta:[],keywords:[]},u.propTypes={description:o.a.string,lang:o.a.string,meta:o.a.array,keywords:o.a.arrayOf(o.a.string),title:o.a.string.isRequired},e.a=u;var d="1025518380"},156:function(t){t.exports={data:{site:{siteMetadata:{title:"看见",description:"见证国人的生活状态而无力改变它",author:"liwenzhi"}}}}},160:function(t,e,a){"use strict";a(161);var n=a(163),r=a(0),A=a.n(r),i=a(149),o=a(164),c=a.n(o),l=a(151);var s="2959523346";e.a=function(){return A.a.createElement(i.StaticQuery,{query:s,render:function(t){var e=t.site.siteMetadata,a=e.author,n=e.social;return A.a.createElement("div",{style:{display:"flex",marginBottom:Object(l.a)(2.5)}},A.a.createElement(c.a,{fixed:t.avatar.childImageSharp.fixed,alt:a,style:{marginRight:Object(l.a)(.5),marginBottom:0,minWidth:50,borderRadius:"100%"}}),A.a.createElement("p",null,"Written by ",A.a.createElement("strong",null,a)," who lives and works abroad."," ",A.a.createElement("br",null),A.a.createElement("a",{href:"https://twitter.com/"+n.twitter},"Follow him on Twitter")))},data:n})}},163:function(t){t.exports={data:{avatar:{childImageSharp:{fixed:{base64:"data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAUABQDASIAAhEBAxEB/8QAGAABAAMBAAAAAAAAAAAAAAAAAAECBAP/xAAXAQADAQAAAAAAAAAAAAAAAAABAgMA/9oADAMBAAIQAxAAAAHDaLStDCM56h2UOv8A/8QAHRAAAgIBBQAAAAAAAAAAAAAAAQIAAyEREhMiMf/aAAgBAQABBQIdmdEES7QIy7n44ckYaz2f/8QAGBEAAgMAAAAAAAAAAAAAAAAAADEBEBH/2gAIAQMBAT8BZpCr/8QAGBEAAgMAAAAAAAAAAAAAAAAAAAEQEkH/2gAIAQIBAT8BKo2P/8QAGhAAAgIDAAAAAAAAAAAAAAAAAAERMSAhUf/aAAgBAQAGPwKG4RZD2OxLg8P/xAAcEAEAAgMAAwAAAAAAAAAAAAABABEhMUEQYYH/2gAIAQEAAT8hAHUrM8EOVFu7DuUzIr7KnIU5KK9xafN//9oADAMBAAIAAwAAABDTKPz/xAAYEQEAAwEAAAAAAAAAAAAAAAABABARMf/aAAgBAwEBPxAAbNTpX//EABcRAAMBAAAAAAAAAAAAAAAAAAEQITH/2gAIAQIBAT8QoiDhf//EABsQAQEAAwEBAQAAAAAAAAAAAAERACExQWFR/9oACAEBAAE/ENUUf1Thld4OlV+YrVCK6eZotck1V8xUkEem/cQDQqYxuscEEe4sWZ//2Q==",width:50,height:50,src:"/kanjian/static/2f555968b4a0f182ae40b816a37a409c/d2d31/me_160.jpg",srcSet:"/kanjian/static/2f555968b4a0f182ae40b816a37a409c/d2d31/me_160.jpg 1x,\n/kanjian/static/2f555968b4a0f182ae40b816a37a409c/0b804/me_160.jpg 1.5x,\n/kanjian/static/2f555968b4a0f182ae40b816a37a409c/753c3/me_160.jpg 2x,\n/kanjian/static/2f555968b4a0f182ae40b816a37a409c/31ca8/me_160.jpg 3x"}}},site:{siteMetadata:{author:"liwenzhi",social:{twitter:"lwz75121"}}}}}}}]);
//# sourceMappingURL=component---src-templates-blog-post-js-e91703d046643551f6ae.js.map