-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-blog-list-template-js-c5bc5b18d5b9f210a3e2.js
2 lines (2 loc) · 2.54 KB
/
component---src-templates-blog-list-template-js-c5bc5b18d5b9f210a3e2.js
1
2
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[659],{12242:function(e,t,a){a.r(t),a.d(t,{default:function(){return o}});var n=a(91436),l=a(98810),s=a(33073),r=a(85799),i=a(37658),m=a(40652),o=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.Z)(t,e),t.prototype.render=function(){var e=this.props.data.allMarkdownRemark.edges,t=this.props.pageContext,a=t.currentPage,n=t.numPages,o=1===a,c=a===n,u=a-1==1?"https://blog.biodynamo.org/":("https://blog.biodynamo.org/"+(a-1)).toString(),d=("https://blog.biodynamo.org/"+(a+1)).toString();return l.createElement(r.A,{mainClass:"bg-whitegrey-l2 pb-vw3",bodyClass:"bg-white"},l.createElement("div",{className:"bg-concepts"},l.createElement("div",{className:i.O.page.l+" pt12 pb4 pt-vw1-ns pb-vw1-ns white pl10 pl0-ns"},l.createElement("h1",{className:i.O.h4+" gh-integration-header-shadow"},l.createElement(s.Link,{to:"https://blog.biodynamo.org/",className:"link dim white"},"Blogs")))),l.createElement("div",{className:i.O.page.l+" mt-vw3"},e.map((function(e){var t=e.node,a=t.frontmatter.title||t.fields.slug;return l.createElement("span",{key:t.id},l.createElement(m.xu,{radius:"4",className:"news-box"},l.createElement(s.Link,{to:t.fields.slug,className:"midgrey home-faq-question link dib pt1 pb5"},l.createElement("h3",{className:i.O.h4+" blue dib"},a," »"),l.createElement("h5",{className:i.O.h5+" "},t.frontmatter.date," "),l.createElement("p",{className:i.O.small+" mt0"},t.excerpt)),l.createElement("br",null)),l.createElement("br",null))})),l.createElement("div",{className:"mt5"}),l.createElement("section",{className:"news-grid"},l.createElement("div",null,!o&&l.createElement(m.xu,{radius:"4",className:"news-grid-box-left"},l.createElement(s.Link,{className:"blue home-faq-question link dib",to:u,rel:"prev"},l.createElement("h4",{className:i.O.h5+" blue dib"},"« Previous Page")))),l.createElement(m.xu,{radius:"4",className:"news-grid-box-center"},Array.from({length:n},(function(e,t){return l.createElement(s.Link,{className:"blue home-faq-question link dib",key:"pagination-number"+(t+1),to:"https://blog.biodynamo.org/"+(0===t?"":t+1)},l.createElement("h4",{className:i.O.h5+" blue dib"},t+1,t+1==n?"":"-"))}))),l.createElement("div",null,!c&&l.createElement(m.xu,{radius:"4",className:"news-grid-box-right"},l.createElement(s.Link,{className:"blue home-faq-question link dib",to:d,rel:"next"},l.createElement("h4",{className:i.O.h5+" blue dib"},"Next Page »")))))))},t}(l.Component)}}]);
//# sourceMappingURL=component---src-templates-blog-list-template-js-c5bc5b18d5b9f210a3e2.js.map