-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-category-page-js-86501a757a6f06dff622.js
2 lines (2 loc) · 2.23 KB
/
component---src-templates-category-page-js-86501a757a6f06dff622.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{L6NH:function(e,t,a){"use strict";function n(e){var t=Math.round(e/5);return t>5?new Array(Math.round(t/Math.E)).fill("🍱").join("")+" "+e+" min read":new Array(t||1).fill("☕️").join("")+" "+e+" min read"}a.d(t,"a",(function(){return n}))},dzFB:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n),o=a("Wbzz"),i=a("vOnD"),l=a("p3AD"),c=a("L6NH"),s=Object(i.a)(o.Link).withConfig({displayName:"PostFrontmatter__CategoryLink",componentId:"sc-16zmhqv-0"})(['opacity:0.75;::before{content:" • ";}br{display:none;}@media screen and (max-width:768px){::before{display:none;}br{display:inline;}}']);t.a=function(e){var t=e.date,a=e.timeToRead,n=e.category,o=e.isInPost,i=function(e){var t=e.children;return o?r.a.createElement("p",{style:Object.assign({},Object(l.b)(-.2),{display:"block",marginBottom:Object(l.a)(1)})}," ",t):r.a.createElement("small",null,t)};return r.a.createElement(i,null,t,a&&" • "+Object(c.a)(a),n&&r.a.createElement(s,{to:"/"+n},r.a.createElement("br",null),n))}},kwyN:function(e,t,a){"use strict";a.r(t),a.d(t,"pageQuery",(function(){return d}));var n=a("q1tI"),r=a.n(n),o=a("Wbzz"),i=a("7oih"),l=a("9CUm"),c=a("ooDn"),s=a("dzFB"),m=a("p3AD");t.default=function(e){var t=e.data,a=e.location,n=e.pageContext,d=t.site.siteMetadata.title,u=t.allMarkdownRemark.edges,f=n.category.slice(2,-1);return r.a.createElement(i.a,{location:a,title:d},r.a.createElement(l.a,{title:f}),r.a.createElement(c.a,{title:f}),u.map((function(e){var t=e.node,a=t.frontmatter.title||t.fields.slug;return r.a.createElement("article",{key:t.fields.slug},r.a.createElement("header",null,r.a.createElement("h3",{style:{marginBottom:Object(m.a)(1/4)}},r.a.createElement(o.Link,{style:{boxShadow:"none"},to:t.fields.slug},a)),r.a.createElement(s.a,{date:t.frontmatter.date,timeToRead:t.timeToRead})),r.a.createElement("section",null,r.a.createElement("p",{dangerouslySetInnerHTML:{__html:t.frontmatter.description||t.excerpt}})))})))};var d="2861549404"},ooDn:function(e,t,a){"use strict";var n=a("q1tI"),r=a.n(n);t.a=function(e){var t=e.title;return r.a.createElement("h2",{style:{textTransform:"uppercase",borderBottom:"0"}},t)}}}]);
//# sourceMappingURL=component---src-templates-category-page-js-86501a757a6f06dff622.js.map