-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-6c3081937803788a979f.js.map
1 lines (1 loc) · 2.06 KB
/
component---src-pages-index-js-6c3081937803788a979f.js.map
1
{"version":3,"sources":["webpack:///./src/pages/index.js"],"names":["data","allMarkdownRemark","edges","map","node","key","id","to","fields","slug","css","rhythm","frontmatter","title","date","excerpt","query"],"mappings":"2FAAA,2G,sGAOe,0BAAGA,EAAH,EAAGA,KAAH,OACX,YAAC,IAAD,KACKA,EAAKC,kBAAkBC,MAAMC,KAAI,gBAAGC,EAAH,EAAGA,KAAH,OAChC,mBAAKC,IAAKD,EAAKE,IACb,YAAC,IAAD,CACEC,GAAIH,EAAKI,OAAOC,KAChBC,IAAG,GAKL,kBACEA,IAAKA,YAAF,iBACgBC,YAAO,KADvB,MAIFP,EAAKQ,YAAYC,MAAO,IACzB,oBACEH,IAAG,GADL,KAKKN,EAAKQ,YAAYE,OAGxB,qBAAIV,EAAKW,gBAOd,IAAMC,EAAK","file":"component---src-pages-index-js-6c3081937803788a979f.js","sourcesContent":["import React from \"react\"\nimport { Link, graphql } from \"gatsby\"\nimport { css } from \"@emotion/core\"\nimport Layout from \"../components/layout\"\n\nimport { rhythm } from \"../utils/typography\"\n\nexport default ({ data }) => (\n <Layout>\n {data.allMarkdownRemark.edges.map(({ node }) => (\n <div key={node.id}>\n <Link\n to={node.fields.slug}\n css={css`\n text-decoration: none;\n color: inherit;\n `}\n >\n <h3\n css={css`\n margin-bottom: ${rhythm(1 / 4)};\n `}\n >\n {node.frontmatter.title}{\" \"}\n <span\n css={css`\n color: #bbb;\n `}\n >\n — {node.frontmatter.date}\n </span>\n </h3>\n <p>{node.excerpt}</p>\n </Link>\n </div>\n ))}\n </Layout>\n)\n\nexport const query = graphql`\n query {\n site {\n siteMetadata {\n title\n }\n }\n allMarkdownRemark (sort: {fields: frontmatter___date, order: DESC}) {\n edges {\n node {\n id\n frontmatter {\n title\n date(formatString: \"DD MMMM, YYYY\")\n }\n fields{\n slug\n }\n excerpt\n }\n }\n }\n }\n`\n "],"sourceRoot":""}