-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-404-js-200665dce87da6c278cc.js.map
1 lines (1 loc) · 7.39 KB
/
component---src-pages-404-js-200665dce87da6c278cc.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","Nav","styled","div","_templateObject","Content","_templateObject2","Title","h1","_templateObject3","Layout","_ref","siteName","react__WEBPACK_IMPORTED_MODULE_1___default","Fragment","react_helmet__WEBPACK_IMPORTED_MODULE_5__","href","rel","src","withPrefix","alt","style","width","height","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,EAAAI,EAAAC,cAAA,uBACAL,EAAAI,EAAAC,cAAA,8ECNJ,IAAsBC,EAKpBC,EAAOC,SALaF,EA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AUI,giBC3BtB,IAAMC,EAAMC,IAAOC,IAAVC,KAMHC,EAAUH,IAAOC,IAAVG,KAQPC,EAAQL,IAAOM,GAAVC,KAKLC,EAAS,SAAAC,GAAA,IAAGlB,EAAHkB,EAAGlB,SAAHkB,EAAaC,SAAb,OACbC,EAAA9C,EAAAC,cAAA6C,EAAA9C,EAAA+C,SAAA,KACED,EAAA9C,EAAAC,cAAC+C,EAAA,OAAD,KACEF,EAAA9C,EAAAC,cAAA,QACEgD,KAAK,qDACLC,IAAI,eAENJ,EAAA9C,EAAAC,cAAA,uBAEF6C,EAAA9C,EAAAC,cAACiC,EAAD,KACEY,EAAA9C,EAAAC,cAAA,OACEkD,IAAKC,qBAAW,kBAChBC,IAAI,OACJC,MAAO,CAAEC,MAAO,QAASC,OAAQ,WAEnCV,EAAA9C,EAAAC,cAACuC,EAAD,eAEFM,EAAA9C,EAAAC,cAACqC,EAAD,KAAUZ,KAIdiB,EAAOf,UAAY,CACjBF,SAAUG,IAAU4B,KAAKzB,YAGZW,wGC9CTe,EAAmB,SAAAd,GAAkB,IAAfe,EAAef,EAAfe,SACpBC,EAAgBC,UAAOC,4BAA4BH,EAASI,UAClE,OAAO7C,IAAMjB,cAAc+D,IAApBC,OAAAC,OAAA,CACLP,WACAC,iBACGA,EAAcO,QAIrBT,EAAiB9B,UAAY,CAC3B+B,SAAU9B,IAAUuC,MAAM,CACxBL,SAAUlC,IAAUE,OAAOC,aAC1BA,YAGU0B","file":"component---src-pages-404-js-200665dce87da6c278cc.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 } from 'gatsby'\nimport { Helmet } from 'react-helmet'\n\nimport './layout.css'\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`\n\nconst Title = styled.h1`\n font-size: 5rem;\n margin: 0;\n`\n\nconst Layout = ({ children, siteName }) => (\n <>\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 </>\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":""}