-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-about-js-9a3fe6e954bb22e55c5f.js.map
1 lines (1 loc) · 1.72 KB
/
component---src-pages-about-js-9a3fe6e954bb22e55c5f.js.map
1
{"version":3,"sources":["webpack:///./src/pages/about.js"],"names":["resume","data","allMarkdownRemark","edges","filter","node","frontmatter","lang","Lang","map","style","marginLeft","marginRight","maxWidth","rhythm","padding","dangerouslySetInnerHTML","__html","html"],"mappings":"6FAAA,wDAMe,sBAAe,IAGtBA,EAHc,EAAJC,KACKC,kBAAkBC,MAGpCC,QAAO,YAAO,SAAJC,KAAgBC,YAAYC,OAASC,OAC/CC,KAAI,YAAO,SAAJJ,QAAiB,GAE3B,OACE,yBACEK,MAAO,CACLC,WAAW,OACXC,YAAY,OACZC,SAAUC,YAAO,IACjBC,QAAYD,YAAO,IAAI,IAAIA,YAAO,EAAI,GAAE,IAAIA,YAAO,KAAI,IAAIA,YACzD,EAAI,KAIR,yBAAKE,wBAAyB,CAAEC,OAAQjB,EAAOkB","file":"component---src-pages-about-js-9a3fe6e954bb22e55c5f.js","sourcesContent":["import React from 'react'\nimport { graphql } from 'gatsby'\n\nimport { rhythm } from '../utils/typography'\nimport * as Lang from '../constants'\n\nexport default ({ data }) => {\n const resumes = data.allMarkdownRemark.edges\n\n const resume = resumes\n .filter(({ node }) => node.frontmatter.lang === Lang.ENGLISH)\n .map(({ node }) => node)[0]\n\n return (\n <div\n style={{\n marginLeft: `auto`,\n marginRight: `auto`,\n maxWidth: rhythm(24),\n padding: `${rhythm(0.5)} ${rhythm(3 / 4)} ${rhythm(1.5)} ${rhythm(\n 3 / 4\n )}`,\n }}\n >\n <div dangerouslySetInnerHTML={{ __html: resume.html }} />\n </div>\n )\n}\n\nexport const pageQuery = graphql`\n query {\n allMarkdownRemark(filter: { frontmatter: { category: { eq: null } } }) {\n edges {\n node {\n id\n excerpt(pruneLength: 160)\n html\n frontmatter {\n title\n date(formatString: \"MMMM DD, YYYY\")\n lang\n }\n }\n }\n }\n }\n`\n"],"sourceRoot":""}