This repository has been archived by the owner on Aug 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-components-blog-post-js-b3d2396ee8405d28b8b1.js.map
1 lines (1 loc) · 13.7 KB
/
component---src-components-blog-post-js-b3d2396ee8405d28b8b1.js.map
1
{"version":3,"sources":["webpack:///./src/components/blog-post.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./.cache/public-page-renderer.js","webpack:///./.cache/public-page-renderer-prod.js","webpack:///./src/components/seo.js","webpack:///./src/components/header.js","webpack:///./src/components/layout.js"],"names":["__webpack_require__","r","__webpack_exports__","d","Template","pageQuery","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_layout__WEBPACK_IMPORTED_MODULE_1__","_components_seo__WEBPACK_IMPORTED_MODULE_2__","_ref","post","data","markdownRemark","a","createElement","singlePost","title","frontmatter","keywords","className","fields","date","dangerouslySetInnerHTML","__html","html","graphql","StaticQueryContext","StaticQuery","prop_types__WEBPACK_IMPORTED_MODULE_1__","prop_types__WEBPACK_IMPORTED_MODULE_1___default","gatsby_link__WEBPACK_IMPORTED_MODULE_2__","gatsby_link__WEBPACK_IMPORTED_MODULE_2___default","_public_page_renderer__WEBPACK_IMPORTED_MODULE_3__","_public_page_renderer__WEBPACK_IMPORTED_MODULE_3___default","_parse_path__WEBPACK_IMPORTED_MODULE_4__","React","createContext","props","Consumer","staticQueryData","query","render","children","Error","propTypes","PropTypes","object","string","isRequired","func","m","module","exports","require","default","ProdPageRenderer","location","pageResources","loader","getResourcesForPathnameSync","pathname","InternalPageRenderer","Object","assign","json","shape","SEO","description","lang","meta","react__WEBPACK_IMPORTED_MODULE_1___default","gatsby__WEBPACK_IMPORTED_MODULE_4__","detailsQuery","metaDescription","site","siteMetadata","react_helmet__WEBPACK_IMPORTED_MODULE_3___default","htmlAttributes","titleTemplate","name","content","property","author","concat","length","join","_public_static_d_1025518380_json__WEBPACK_IMPORTED_MODULE_0__","defaultProps","array","arrayOf","Header","siteTitle","react_default","style","background","margin","maxWidth","padding","gatsby_browser_entry","to","color","textDecoration","Layout","Fragment","header","paddingTop","Date","getFullYear","href","border","marginLeft","_755544856","node"],"mappings":"0FAAAA,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,4BAAAE,IAAAJ,EAAAG,EAAAD,EAAA,8BAAAG,IAAA,IAAAC,EAAAN,EAAA,GAAAO,EAAAP,EAAAQ,EAAAF,GAAAG,EAAAT,EAAA,KAAAU,EAAAV,EAAA,KAMe,SAASI,EAATO,GAA4B,IACjBC,EADiBD,EAARE,KACzBC,eACR,OACEP,EAAAQ,EAAAC,cAACP,EAAA,EAAD,CAAQQ,YAAY,GACpBV,EAAAQ,EAAAC,cAACN,EAAA,EAAD,CAAKQ,MAAK,GAAKN,EAAKO,YAAYD,MAASE,SAAU,mCACnDb,EAAAQ,EAAAC,cAAA,OAAKK,UAAU,uBACbd,EAAAQ,EAAAC,cAAA,OAAKK,UAAU,aACLd,EAAAQ,EAAAC,cAAA,QAAMK,UAAU,kBAAkBT,EAAKU,OAAOC,MACtDhB,EAAAQ,EAAAC,cAAA,UAAKJ,EAAKO,YAAYD,OACtBX,EAAAQ,EAAAC,cAAA,OACEK,UAAU,oBACVG,wBAAyB,CAAEC,OAAQb,EAAKc,WAQ3C,IAAMrB,EAAS,8CCzBtBL,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,4BAAAyB,IAAA3B,EAAAG,EAAAD,EAAA,uCAAA0B,IAAA5B,EAAAG,EAAAD,EAAA,gCAAA2B,IAAA,IAAAvB,EAAAN,EAAA,GAAAO,EAAAP,EAAAQ,EAAAF,GAAAwB,EAAA9B,EAAA,GAAA+B,EAAA/B,EAAAQ,EAAAsB,GAAAE,EAAAhC,EAAA,KAAAiC,EAAAjC,EAAAQ,EAAAwB,GAAAhC,EAAAG,EAAAD,EAAA,yBAAA+B,EAAAlB,IAAAf,EAAAG,EAAAD,EAAA,+BAAA8B,EAAA,aAAAhC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/E,EAAAC,cAAA,MAAI+E,MAAO,CAAEE,OAAQ,IACnBH,EAAA/E,EAAAC,cAACoF,EAAA,KAAD,CACEC,GAAG,IACHN,MAAO,CACLO,MAAK,QACLC,eAAc,SAGfV,OAOXD,EAAO9C,UAAY,CACjB+C,UAAW9C,IAAUE,QAGvB2C,EAAOH,aAAe,CACpBI,UAAS,IAGID,QClCTY,UAAS,SAAA7F,GAAA,IAAGiC,EAAHjC,EAAGiC,SAAU3B,EAAbN,EAAaM,WAAb,OACb6E,EAAA/E,EAAAC,cAACoF,EAAA,YAAD,CACE1D,MAAK,YASLC,OAAQ,SAAA9B,GAAI,OACViF,EAAA/E,EAAAC,cAAA8E,EAAA/E,EAAA0F,SAAA,KACEX,EAAA/E,EAAAC,cAAC0F,EAAD,CAAQb,UAAWhF,EAAK+D,KAAKC,aAAa3D,QAC1C4E,EAAA/E,EAAAC,cAAA,OACE+E,MAAO,CACLE,OAAM,SACNC,SAAU,IACVC,QAAO,wBACPQ,WAAY,KAGdb,EAAA/E,EAAAC,cAAA,YAAO4B,GACPkD,EAAA/E,EAAAC,cAAA,oBACK,IAAI4F,MAAOC,cADhB,gBAC2Cf,EAAA/E,EAAAC,cAAA,KAAG8F,KAAK,4BAAR,UACnD7F,GAAc6E,EAAA/E,EAAAC,cAACoF,EAAA,KAAD,CAAML,MAAO,CAC3BgB,OAAM,kBACNZ,QAAS,WACTa,WAAY,IACXX,GAAG,KAJU,qBAxBdxF,KAAAoG,MAoCFT,EAAO1D,UAAY,CACjBF,SAAUG,IAAUmE,KAAKhE,YAGZsD","file":"component---src-components-blog-post-js-b3d2396ee8405d28b8b1.js","sourcesContent":["import React from \"react\"\nimport { graphql } from \"gatsby\"\nimport Layout from \"./layout\";\nimport SEO from \"../components/seo\"\n// import '../css/blog-post.css';\n\nexport default function Template({ data }) {\n const { markdownRemark: post } = data\n return (\n <Layout singlePost={true}>\n <SEO title={`${post.frontmatter.title}`} keywords={[`gatsby`, `application`, `react`]} />\n <div className=\"blog-post-container\">\n <div className=\"blog-post\">\n <span className=\"blog-post-date\">{post.fields.date}</span>\n <h1>{post.frontmatter.title}</h1>\n <div\n className=\"blog-post-content\"\n dangerouslySetInnerHTML={{ __html: post.html }}\n />\n </div>\n </div>\n</Layout>\n )\n}\n\nexport const pageQuery = graphql`\n query BlogPostByPath($path: String!) {\n markdownRemark(fields: { slug: { eq: $path } }) {\n html\n fields {\n slug\n date\n }\n frontmatter {\n title\n }\n }\n }\n`","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Link, {\n withPrefix,\n navigate,\n push,\n replace,\n navigateTo,\n} from \"gatsby-link\"\nimport PageRenderer from \"./public-page-renderer\"\nimport parsePath from \"./parse-path\"\n\nconst StaticQueryContext = React.createContext({})\n\nconst StaticQuery = props => (\n <StaticQueryContext.Consumer>\n {staticQueryData => {\n if (\n props.data ||\n (staticQueryData[props.query] && staticQueryData[props.query].data)\n ) {\n return (props.render || props.children)(\n props.data ? props.data.data : staticQueryData[props.query].data\n )\n } else {\n return <div>Loading (StaticQuery)</div>\n }\n }}\n </StaticQueryContext.Consumer>\n)\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away,. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n.` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport {\n Link,\n withPrefix,\n graphql,\n parsePath,\n navigate,\n push, // TODO replace for v3\n replace, // TODO remove replace for v3\n navigateTo, // TODO: remove navigateTo for v3\n StaticQueryContext,\n StaticQuery,\n PageRenderer,\n}\n","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport InternalPageRenderer from \"./page-renderer\"\nimport loader from \"./loader\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.getResourcesForPathnameSync(location.pathname)\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport Helmet from \"react-helmet\"\nimport { StaticQuery, graphql } from \"gatsby\"\n\nfunction SEO({ description, lang, meta, keywords, title }) {\n return (\n <StaticQuery\n query={detailsQuery}\n render={data => {\n const metaDescription =\n description || data.site.siteMetadata.description\n return (\n <Helmet\n htmlAttributes={{\n lang,\n }}\n title={title}\n titleTemplate={`%s | ${data.site.siteMetadata.title}`}\n meta={[\n {\n name: `description`,\n content: metaDescription,\n },\n {\n property: `og:title`,\n content: title,\n },\n {\n property: `og:description`,\n content: metaDescription,\n },\n {\n property: `og:type`,\n content: `website`,\n },\n {\n name: `twitter:card`,\n content: `summary`,\n },\n {\n name: `twitter:creator`,\n content: data.site.siteMetadata.author,\n },\n {\n name: `twitter:title`,\n content: title,\n },\n {\n name: `twitter:description`,\n content: metaDescription,\n },\n ]\n .concat(\n keywords.length > 0\n ? {\n name: `keywords`,\n content: keywords.join(`, `),\n }\n : []\n )\n .concat(meta)}\n />\n )\n }}\n />\n )\n}\n\nSEO.defaultProps = {\n lang: `en`,\n meta: [],\n keywords: [],\n}\n\nSEO.propTypes = {\n description: PropTypes.string,\n lang: PropTypes.string,\n meta: PropTypes.array,\n keywords: PropTypes.arrayOf(PropTypes.string),\n title: PropTypes.string.isRequired,\n}\n\nexport default SEO\n\nconst detailsQuery = graphql`\n query DefaultSEOQuery {\n site {\n siteMetadata {\n title\n description\n author\n }\n }\n }\n`\n","import { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\nimport React from \"react\"\n\nconst Header = ({ siteTitle }) => (\n <header\n style={{\n background: `black`\n }}\n >\n <div\n style={{\n margin: `0 auto`,\n maxWidth: 960,\n padding: `1.45rem 1.0875rem`,\n }}\n >\n <h1 style={{ margin: 0 }}>\n <Link\n to=\"/\"\n style={{\n color: `white`,\n textDecoration: `none`,\n }}\n >\n {siteTitle}\n </Link>\n </h1>\n </div>\n </header>\n)\n\nHeader.propTypes = {\n siteTitle: PropTypes.string,\n}\n\nHeader.defaultProps = {\n siteTitle: ``,\n}\n\nexport default Header\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { StaticQuery, graphql, Link } from \"gatsby\"\nimport Header from \"./header\"\nimport \"./layout.css\"\n\nconst Layout = ({ children, singlePost }) => (\n <StaticQuery\n query={graphql`\n query SiteTitleQuery {\n site {\n siteMetadata {\n title\n }\n }\n }\n `}\n render={data => (\n <>\n <Header siteTitle={data.site.siteMetadata.title} />\n <div\n style={{\n margin: `0 auto`,\n maxWidth: 960,\n padding: `0px 1.0875rem 1.45rem`,\n paddingTop: 50,\n }}\n >\n <main>{children}</main>\n <footer>\n © {new Date().getFullYear()}, Built with <a href=\"https://www.gatsbyjs.org\">Gatsby</a>\n{ singlePost && <Link style={{\n border: `1px solid black`,\n padding: '5px 10px',\n marginLeft: 25\n}} to=\"/\">Back to index</Link> }\n </footer>\n </div>\n </>\n )}\n />\n)\n\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n}\n\nexport default Layout\n"],"sourceRoot":""}