-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-404-js-bebdbad20edb491c1f70.js.map
1 lines (1 loc) · 9.39 KB
/
component---src-pages-404-js-bebdbad20edb491c1f70.js.map
1
{"version":3,"sources":["webpack:///./src/pages/404.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__","NotFoundPage","a","createElement","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__","href","rel","src","withPrefix","alt","style","width","height","marginTop","marginBottom","to","className","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,KAUeO,UAPM,kBACnBH,EAAAI,EAAAC,cAACH,EAAA,EAAD,KACEF,EAA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C,qBAAW,WAChBC,IAAI,OACJC,MAAO,CAAEC,MAAO,OAAQC,OAAQ,cAO1CZ,EAAOzB,UAAY,CACjBF,SAAUG,IAAU0C,KAAKvC,YAGZqB,wGC3GTmB,EAAmB,SAAAlB,GAAkB,IAAfmB,EAAenB,EAAfmB,SACpBC,EAAgBC,UAAOC,4BAA4BH,EAASI,UAClE,OAAO3D,IAAMjB,cAAc6E,IAApBC,OAAAC,OAAA,CACLP,WACAC,iBACGA,EAAcO,QAIrBT,EAAiB5C,UAAY,CAC3B6C,SAAU5C,IAAUqD,MAAM,CACxBL,SAAUhD,IAAUE,OAAOC,aAC1BA,YAGUwC","file":"component---src-pages-404-js-bebdbad20edb491c1f70.js","sourcesContent":["import React from 'react'\nimport Layout from '../components/layout'\n\nconst NotFoundPage = () => (\n <Layout>\n <h1>NOT FOUND</h1>\n <p>You just hit a route that doesn't exist...</p>\n </Layout>\n)\n\nexport default NotFoundPage\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 to=\"/projects/\" className={'link'} activeClassName={'active'}>\n Projects\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":""}