-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-604e5528651d3d691790.js.map
1 lines (1 loc) · 3.37 KB
/
component---src-pages-index-js-604e5528651d3d691790.js.map
1
{"version":3,"file":"component---src-pages-index-js-604e5528651d3d691790.js","mappings":"+MAM4C,IAEtCA,EAAS,SAAAC,GAAA,SAAAD,IAAA,OAAAC,EAAAC,MAAA,KAAAC,YAAA,KAmCZ,OAnCYC,EAAAA,EAAAA,GAAAJ,EAAAC,GAAAD,EAAAK,UACbC,OAAA,WACE,MAAM,KAAEC,GAASC,KAAKC,MAChBC,EAAYH,EAAKI,KAAKC,aAAaC,MACnCC,EAAkBP,EAAKI,KAAKC,aAAaG,YACzCC,EAAQT,EAAKU,kBAAkBC,MAErC,OACEC,EAAAA,cAACC,EAAAA,EAAM,CAACC,SAAUb,KAAKC,MAAMY,SAAUR,MAAOH,GAC5CS,EAAAA,cAACG,EAAAA,EAAM,CACLC,eAAgB,CAAEC,KAAM,MACxBC,KAAM,CAAC,CAAEC,KAAM,cAAeC,QAASb,IACvCD,MAAOH,IAETS,EAAAA,cAACS,EAAAA,EAAG,MACHZ,EAAMa,KAAIC,IAAe,IAAd,KAAEC,GAAMD,EAClB,MAAMjB,EAAQkB,EAAKC,YAAYnB,OAASkB,EAAKE,OAAOC,KACpD,OACEf,EAAAA,cAAA,OAAKgB,IAAKJ,EAAKE,OAAOC,MACpBf,EAAAA,cAAA,MACEiB,MAAO,CACLC,cAAcC,EAAAA,EAAAA,IAAO,EAAI,KAG3BnB,EAAAA,cAACoB,EAAAA,GAAI,CAACH,MAAO,CAAEI,UAAW,QAAUC,GAAIV,EAAKE,OAAOC,MACjDrB,IAGLM,EAAAA,cAAA,aAAQY,EAAKC,YAAYU,MACzBvB,EAAAA,cAAA,KAAGwB,wBAAyB,CAAEC,OAAQb,EAAKc,WACvC,IAKhB,EAAC7C,CAAA,CAnCY,CAASmB,EAAAA,WAsCxB,W","sources":["webpack://gatsby-starter-blog/./src/pages/index.js"],"sourcesContent":["import React from 'react'\nimport { Link, graphql } from 'gatsby'\nimport Helmet from 'react-helmet'\n\nimport Bio from '../components/Bio'\nimport Layout from '../components/Layout'\nimport { rhythm } from '../utils/typography'\n\nclass BlogIndex extends React.Component {\n render() {\n const { data } = this.props;\n const siteTitle = data.site.siteMetadata.title\n const siteDescription = data.site.siteMetadata.description\n const posts = data.allMarkdownRemark.edges\n\n return (\n <Layout location={this.props.location} title={siteTitle}>\n <Helmet\n htmlAttributes={{ lang: 'en' }}\n meta={[{ name: 'description', content: siteDescription }]}\n title={siteTitle}\n />\n <Bio />\n {posts.map(({ node }) => {\n const title = node.frontmatter.title || node.fields.slug\n return (\n <div key={node.fields.slug}>\n <h3\n style={{\n marginBottom: rhythm(1 / 4),\n }}\n >\n <Link style={{ boxShadow: 'none' }} to={node.fields.slug}>\n {title}\n </Link>\n </h3>\n <small>{node.frontmatter.date}</small>\n <p dangerouslySetInnerHTML={{ __html: node.excerpt }} />\n </div>\n )\n })}\n </Layout>\n )\n }\n}\n\nexport default BlogIndex\n\nexport const pageQuery = graphql`\n query {\n site {\n siteMetadata {\n title\n description\n }\n }\n allMarkdownRemark(sort: { fields: [frontmatter___date], order: DESC }) {\n edges {\n node {\n excerpt\n fields {\n slug\n }\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n title\n }\n }\n }\n }\n }\n`\n"],"names":["BlogIndex","_React$Component","apply","arguments","_inheritsLoose","prototype","render","data","this","props","siteTitle","site","siteMetadata","title","siteDescription","description","posts","allMarkdownRemark","edges","React","Layout","location","Helmet","htmlAttributes","lang","meta","name","content","Bio","map","_ref","node","frontmatter","fields","slug","key","style","marginBottom","rhythm","Link","boxShadow","to","date","dangerouslySetInnerHTML","__html","excerpt"],"sourceRoot":""}