-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-about-js-d424a54ca0b1aa649a84.js.map
1 lines (1 loc) · 1.74 KB
/
component---src-pages-about-js-d424a54ca0b1aa649a84.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","pageQuery"],"mappings":"6FAAA,kGAMe,sBAAe,IAGtBA,EAHqB,EAAXC,KACKC,kBAAkBC,MAGpCC,QAAO,qBAAGC,KAAgBC,YAAYC,OAASC,OAC/CC,KAAI,qBAAGJ,QAAiB,GAE3B,OACE,yBACEK,MAAO,CACLC,WAAW,OACXC,YAAY,OACZC,SAAUC,YAAO,IACjBC,QAAYD,YAAO,IAAZ,IAAoBA,YAAO,KAA3B,IAAqCA,YAAO,KAA5C,IAAoDA,YACzD,OAIJ,yBAAKE,wBAAyB,CAAEC,OAAQjB,EAAOkB,UAK9C,IAAMC,EAAS","file":"component---src-pages-about-js-d424a54ca0b1aa649a84.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: \"YYYY.MM.DD\")\n lang\n }\n }\n }\n }\n }\n`\n"],"sourceRoot":""}