-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-50ed8a7dcc686a85648c.js.map
1 lines (1 loc) · 8.43 KB
/
component---src-pages-index-js-50ed8a7dcc686a85648c.js.map
1
{"version":3,"sources":["webpack:///./src/pages/index.js","webpack:///./.cache/public-page-renderer.js","webpack:///./.cache/gatsby-browser-entry.js","webpack:///./src/components/layout.js","webpack:///./.cache/public-page-renderer-prod.js"],"names":["A","styled","a","_templateObject","IndexPage","react__WEBPACK_IMPORTED_MODULE_1___default","createElement","_components_layout__WEBPACK_IMPORTED_MODULE_3__","style","textAlign","href","m","module","exports","require","default","__webpack_require__","r","__webpack_exports__","d","graphql","StaticQueryContext","StaticQuery","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","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","data","query","render","children","Error","propTypes","PropTypes","object","string","isRequired","func","Site","div","Nav","_templateObject2","Content","_templateObject3","Title","h1","_templateObject4","Footer","footer","_templateObject5","Layout","_ref","siteName","react_helmet__WEBPACK_IMPORTED_MODULE_5__","rel","src","withPrefix","alt","width","height","node","ProdPageRenderer","location","pageResources","loader","getResourcesForPathnameSync","pathname","InternalPageRenderer","Object","assign","json","shape"],"mappings":"kPAOA,IAAMA,EAAIC,IAAOC,EAAVC,KAgBQC,UAZG,kBAChBC,EAAAH,EAAAI,cAACC,EAAA,EAAD,KACEF,EAAAH,EAAAI,cAAA,MAAIE,MAAO,CAAEC,UAAW,WAAxB,wCAGAJ,EAAAH,EAAAI,cAAA,MAAIE,MAAO,CAAEC,U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BA,YAGUyB","file":"component---src-pages-index-js-50ed8a7dcc686a85648c.js","sourcesContent":["import React from 'react'\nimport styled from 'styled-components'\n\nimport Layout from '../components/layout'\n\nimport './index.css'\n\nconst A = styled.a`\n color: #47ad23;\n`\n\nconst IndexPage = () => (\n <Layout>\n <h2 style={{ textAlign: 'center' }}>\n Let's build something great together\n </h2>\n <h3 style={{ textAlign: 'center' }}>\n Napisz do nas:{' '}\n <A href=\"mailto:[email protected]\">[email protected]</A>\n </h3>\n </Layout>\n)\n\nexport default IndexPage\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\"\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","import React from 'react'\nimport PropTypes from 'prop-types'\nimport styled from 'styled-components'\nimport { withPrefix } from 'gatsby'\nimport { Helmet } from 'react-helmet'\n\nimport './layout.css'\n\nconst Site = styled.div`\n display: flex;\n min-height: 100vh;\n flex-direction: column;\n`\n\nconst Nav = styled.div`\n padding: 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`\nconst Content = styled.div`\n margin: 5vmin;\n color: #47ad23;\n display: flex;\n align-items: center;\n flex-direction: column;\n flex: 1;\n`\n\nconst Title = styled.h1`\n font-size: 5rem;\n margin: 0;\n`\n\nconst Footer = styled.footer`\n margin-bottom: 50px;\n margin-top: 50px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`\n\nconst Layout = ({ children, siteName }) => (\n <Site>\n <Helmet>\n <link\n href=\"https://fonts.googleapis.com/css?family=Advent+Pro\"\n rel=\"stylesheet\"\n />\n <title>PRDev</title>\n </Helmet>\n <Nav>\n <img\n src={withPrefix('/PRDev-big.png')}\n alt=\"Logo\"\n style={{ width: '300px', height: '300px' }}\n />\n <Title>PRDev</Title>\n </Nav>\n <Content>{children}</Content>\n <Footer>\n <a href=\"https://github.com/prd-ev/\">\n <img\n src={withPrefix('/gh.png')}\n alt=\"Logo\"\n style={{ width: '50px', height: '50px' }}\n />\n </a>\n </Footer>\n </Site>\n)\n\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n}\n\nexport default Layout\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"],"sourceRoot":""}