-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-b792463f8112feba6a29.js.map
1 lines (1 loc) · 1.75 KB
/
component---src-pages-index-js-b792463f8112feba6a29.js.map
1
{"version":3,"sources":["webpack:///./src/pages/index.js"],"names":["allMarkdownRemark","data","className","edges","map","node","key","id","frontmatter","title","date","excerpt","Date","getFullYear","query"],"mappings":"2FAAA,sEAEe,sBAAe,IAClBA,EADiB,EAAXC,KACND,kBACR,OACI,yBAAKE,UAAU,aACX,wBAAIA,UAAU,iBAAd,mBACA,wGACI,6BADJ,oCAECF,EAAkBG,MAAMC,KAAI,gBAAGC,EAAH,EAAGA,KAAH,OAAc,6BAASC,IAAKD,EAAKE,IAC1D,4BAAKF,EAAKG,YAAYC,OACtB,2BAAIJ,EAAKG,YAAYE,MACrB,2BAAIL,EAAKM,aAGb,wEAAyD,IAAIC,MAAOC,iBAKzE,IAAMC,EAAK","file":"component---src-pages-index-js-b792463f8112feba6a29.js","sourcesContent":["import React from \"react\"\n\nexport default ({ data }) => {\n const { allMarkdownRemark } = data;\n return (\n <div className=\"container\">\n <h1 className=\"the-big-title\">Trung Do's Blog</h1>\n <p>I'm a curious person who loves [web] engineering and building cool stuffs.\n <br /> A bit more details about myself</p>\n {allMarkdownRemark.edges.map(({ node }) => <article key={node.id}>\n <h2>{node.frontmatter.title}</h2>\n <i>{node.frontmatter.date}</i>\n <p>{node.excerpt}</p>\n </article>)}\n\n <footer>Crafted with ♥ and powered Gatsby © {new Date().getFullYear()}</footer>\n </div>\n )\n}\n\nexport const query = graphql`\n query {\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 excerpt\n }\n }\n }\n }\n`"],"sourceRoot":""}