-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-js-41458215cd51ee44d7a7.js.map
1 lines (1 loc) · 10.7 KB
/
component---src-pages-index-js-41458215cd51ee44d7a7.js.map
1
{"version":3,"sources":["webpack:///./src/components/TextLink/TextLink.js","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","props","color","bgColor","TextLink","react_default","createElement","href","children","IndexPage","layout","style","textAlign","components_TextLink_TextLink","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","Consumer","staticQueryData","data","query","render","Error","propTypes","PropTypes","object","string","isRequired","func","Site","div","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","className","activeClassName","node","ProdPageRenderer","location","pageResources","loader","getResourcesForPathnameSync","pathname","InternalPageRenderer","Object","assign","json","shape"],"mappings":"sqBAGA,IAAMA,SAAIC,EAAOC,EAAVC,IAEI,SAAAC,GAAK,OAAIA,EAAMC,OAAS,SAS7B,SAAAD,GAAK,OAAIA,EAAMC,OAAS,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EgB,EAAAvE,EAAAO,cAACkD,EAAD,CAAUwB,GAAG,IAAIC,UAAW,OAAQC,gBAAiB,UAArD,QAGAZ,EAAAvE,EAAAO,cAACkD,EAAD,CACEwB,GAAG,cACHC,UAAW,OACXC,gBAAiB,UAHnB,eASJZ,EAAAvE,EAAAO,cAACqD,EAAD,KAAUnD,GACV8D,EAAAvE,EAAAO,cAAC0D,EAAD,KACEM,EAAAvE,EAAAO,cAAA,KAAGC,KAAK,8BACN+D,EAAAvE,EAAAO,cAAA,OACEmE,IAAKC,qBAAW,WAChBC,IAAI,OACJhE,MAAO,CAAEiE,MAAO,OAAQC,OAAQ,cAO1CV,EAAOvB,UAAY,CACjBpC,SAAUqC,IAAUsC,KAAKnC,YAGZmB,wGCxGTiB,EAAmB,SAAAhB,GAAkB,IAAfiB,EAAejB,EAAfiB,SACpBC,EAAgBC,UAAOC,4BAA4BH,EAASI,UAClE,OAAOrD,IAAM9B,cAAcoF,IAApBC,OAAAC,OAAA,CACLP,WACAC,iBACGA,EAAcO,QAIrBT,EAAiBxC,UAAY,CAC3ByC,SAAUxC,IAAUiD,MAAM,CACxBL,SAAU5C,IAAUE,OAAOC,aAC1BA,YAGUoC","file":"component---src-pages-index-js-41458215cd51ee44d7a7.js","sourcesContent":["import React from 'react'\nimport styled from 'styled-components'\n\nconst A = styled.a`\n letter-spacing: 1px;\n color: ${props => props.color || 'black'};\n text-decoration: none;\n padding: 3px;\n padding-left: 5px;\n padding-right: 5px;\n margin-left: 2px;\n margin-right: 2px;\n background-image: linear-gradient(\n to bottom,\n ${props => props.color || 'black'} 50%,\n ${props => props.bgColor || 'white'} 50%\n );\n background-size: 100% 200%;\n background-position: 0 -95%;\n transition: color 0.5s, background-position 0.5s;\n\n &:hover {\n color: white;\n text-decoration: none;\n background-position: 0 0;\n }\n`\n\nconst TextLink = props => {\n return (\n <A href={props.href} color={props.color} bgColor={props.bgColor}>\n {props.children}\n </A>\n )\n}\n\nexport default TextLink\n","import React from 'react'\n\nimport Layout from '../components/layout'\nimport TextLink from '../components/TextLink/TextLink'\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 <TextLink href=\"mailto:[email protected]\" color=\"#47ad23\">\n [email protected]\n </TextLink>\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":""}