-
Notifications
You must be signed in to change notification settings - Fork 6
/
component---src-components-docs-page-js-e3639732923322971c67.js.map
1 lines (1 loc) · 2.04 KB
/
component---src-components-docs-page-js-e3639732923322971c67.js.map
1
{"version":3,"file":"component---src-components-docs-page-js-e3639732923322971c67.js","mappings":"8JAKA,MAAMA,EAAWC,IAAa,IAAZ,KAACC,GAAKD,EACtB,MAAME,EAAOD,EAAKE,eAEZC,EADWH,EAAKI,KAAKC,aACFC,cAAgB,IAAML,EAAKM,OAAOC,aAC3D,OACEC,EAAAA,cAAA,OAAKC,UAAU,WACbD,EAAAA,cAAA,WACEC,UAAU,eACVC,wBAAyB,CAAEC,OAAQX,EAAKY,QAC1CJ,EAAAA,cAAA,OAAKC,UAAU,mBACbD,EAAAA,cAAA,KAAGK,KAAMX,EAASY,IAAI,sBAAsBC,OAAO,UAAS,6BAE1D,EAkCV,UA7BuBC,GAEnBR,EAAAA,cAACS,EAAAA,EAAM,CAACC,SAAUF,EAAME,UACtBV,EAAAA,cAACX,EAAQ,CAACE,KAAQiB,EAAMjB,O","sources":["webpack://graphql-dotnet-docs/./src/components/docs-page.js"],"sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport { graphql } from 'gatsby'\nimport Layout from './layout'\n\nconst DocsPage = ({data}) => {\n const page = data.markdownRemark\n const metadata = data.site.siteMetadata\n const editUrl = metadata.githubEditUrl + '/' + page.fields.relativePath\n return (\n <div className=\"content\">\n <article\n className=\"content-body\"\n dangerouslySetInnerHTML={{ __html: page.html }} />\n <div className=\"content-toolbar\">\n <a href={editUrl} rel=\"noopener noreferrer\" target=\"_blank\">Edit this page on GitHub</a>\n </div>\n </div>\n )\n}\n\n\nconst LayoutWrapper = (props) => {\n return (\n <Layout location={props.location}>\n <DocsPage data = {props.data}/>\n </Layout>\n )\n}\n\nLayoutWrapper.propTypes = {\n location: PropTypes.object,\n data: PropTypes.object\n}\n\nexport const query = graphql`\n query DocsPage($relativePath: String!) {\n markdownRemark(fields: { relativePath: { eq: $relativePath } }) {\n html\n fields {\n relativePath\n }\n }\n site {\n siteMetadata {\n githubEditUrl\n }\n }\n }\n`\n\nexport default LayoutWrapper\n"],"names":["DocsPage","_ref","data","page","markdownRemark","editUrl","site","siteMetadata","githubEditUrl","fields","relativePath","React","className","dangerouslySetInnerHTML","__html","html","href","rel","target","props","Layout","location"],"sourceRoot":""}