-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-index-js-107204db1574a55684ad.js.map
1 lines (1 loc) · 9.56 KB
/
component---src-pages-index-js-107204db1574a55684ad.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":["__webpack_require__","r","__webpack_exports__","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","n","_components_layout__WEBPACK_IMPORTED_MODULE_1__","IndexPage","a","createElement","style","textAlign","href","className","m","module","exports","require","default","d","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","data","query","render","children","Error","propTypes","PropTypes","object","string","isRequired","func","Site","styled","div","_templateObject","Nav","_templateObject2","Menu","_templateObject3","MenuItem","Link","_templateObject4","Content","_templateObject5","Title","h1","_templateObject6","Footer","footer","_templateObject7","Layout","_ref","siteName","react__WEBPACK_IMPORTED_MODULE_1___default","react_helmet__WEBPACK_IMPORTED_MODULE_5__","rel","src","withPrefix","alt","width","height","marginTop","marginBottom","to","activeClassName","node","ProdPageRenderer","location","pageResources","loader","getResourcesForPathnameSync","pathname","InternalPageRenderer","Object","assign","json","shape"],"mappings":"0FAAAA,EAAAC,EAAAC,GAAA,IAAAC,EAAAH,EAAA,GAAAI,EAAAJ,EAAAK,EAAAF,GAAAG,EAAAN,EAAA,KAkBeO,UAdG,kBAChBH,EAAAI,EAAAC,cAACH,EAAA,EAAD,KACEF,EAAAI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,cAACqD,EAAD,KACEM,EAAA5D,EAAAC,cAAA,KAAGG,KAAK,8BACNwD,EAAA5D,EAAAC,cAAA,OACE8D,IAAKC,qBAAW,WAChBC,IAAI,OACJ/D,MAAO,CAAEgE,MAAO,OAAQC,OAAQ,cAO1CV,EAAOzB,UAAY,CACjBF,SAAUG,IAAUuC,KAAKpC,YAGZqB,wGCxGTgB,EAAmB,SAAAf,GAAkB,IAAfgB,EAAehB,EAAfgB,SACpBC,EAAgBC,UAAOC,4BAA4BH,EAASI,UAClE,OAAOxD,IAAMrB,cAAc8E,IAApBC,OAAAC,OAAA,CACLP,WACAC,iBACGA,EAAcO,QAIrBT,EAAiBzC,UAAY,CAC3B0C,SAAUzC,IAAUkD,MAAM,CACxBL,SAAU7C,IAAUE,OAAOC,aAC1BA,YAGUqC","file":"component---src-pages-index-js-107204db1574a55684ad.js","sourcesContent":["import React from 'react'\n\nimport Layout from '../components/layout'\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:biuro.tkgf@gmail.com\" className={'text-link'}>\n biuro .tkgf@gmail.com\n </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, Link } from 'gatsby'\nimport { Helmet } from 'react-helmet'\n\nimport './layout.css'\n\nconst Site = styled.div`\n display: flex;\n min-height: 100vh;\n font-size: 20px;\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 overflow: hidden;\n`\n\nconst Menu = styled.div`\n display: flex;\n flex-direction: row;\n`\n\nconst MenuItem = styled(Link)`\n margin: 10px;\n color: #2fad1f;\n\n &:before {\n background-color: #2fad1f;\n }\n`\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: 25px;\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{siteName ? ' - ' + siteName : ''}</title>\n </Helmet>\n <Nav>\n <img\n src={withPrefix('/PRDev-big.png')}\n alt=\"Logo\"\n style={{\n width: '100px',\n height: '100px',\n marginTop: '1vmin',\n marginBottom: '1vmin',\n }}\n />\n <Title>PRDev</Title>\n <Menu>\n <MenuItem to=\"/\" className={'link'} activeClassName={'active'}>\n Home\n </MenuItem>\n <MenuItem\n to=\"/resources/\"\n className={'link'}\n activeClassName={'active'}\n >\n Resources\n </MenuItem>\n </Menu>\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":""}