-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-404-js-63fdceb78a7d9f264bb1.js.map
1 lines (1 loc) · 2.35 KB
/
component---src-pages-404-js-63fdceb78a7d9f264bb1.js.map
1
{"version":3,"sources":["webpack:///./src/components/layout.js","webpack:///./src/pages/404.js"],"names":["Layout","location","title","children","data","style","marginLeft","marginRight","maxWidth","rhythm","padding","menuLinks","site","siteMetadata","NotFoundPage","siteTitle","pageQuery"],"mappings":"uMAwCeA,IA/BA,SAAC,GAAmC,IAAjCC,EAAgC,EAAhCA,SAAUC,EAAsB,EAAtBA,MAAOC,EAAe,EAAfA,SAC3BC,EAAI,OAcV,OACE,yBACEC,MAAO,CACLC,WAAW,OACXC,YAAY,OACZC,SAAUC,YAAO,IACjBC,QAAYD,YAAO,KAAZ,IAAoBA,YAAO,EAAI,KAGxC,kBAAC,IAAD,CAAQR,SAAUA,EAAUC,MAAOA,EAAOS,UAAWP,EAAKQ,KAAKC,aAAaF,YAC5E,8BAAOR,GACP,kBAAC,IAAD,S,6MCnCN,kGAkBeW,UAZM,SAAC,GAAwB,IAAtBV,EAAqB,EAArBA,KAAMH,EAAe,EAAfA,SACtBc,EAAYX,EAAKQ,KAAKC,aAAaX,MAEzC,OACE,kBAAC,IAAD,CAAQD,SAAUA,EAAUC,MAAOa,GACjC,kBAAC,IAAD,CAAKb,MAAM,mBACX,yCACA,wFAOC,IAAMc,EAAS","file":"component---src-pages-404-js-63fdceb78a7d9f264bb1.js","sourcesContent":["import React from \"react\"\nimport { useStaticQuery, graphql } from \"gatsby\"\n\nimport { rhythm } from \"../utils/typography\"\nimport Header from \"./header\";\nimport Footer from \"./footer\";\n\nimport './global.css';\n\nconst Layout = ({ location, title, children }) => {\n const data = useStaticQuery(graphql`\n query SiteQuery {\n site {\n siteMetadata {\n title\n menuLinks {\n name\n link\n }\n }\n }\n }\n `)\n\n return (\n <div\n style={{\n marginLeft: `auto`,\n marginRight: `auto`,\n maxWidth: rhythm(28),\n padding: `${rhythm(1.5)} ${rhythm(3 / 4)}`,\n }}\n >\n <Header location={location} title={title} menuLinks={data.site.siteMetadata.menuLinks} />\n <main>{children}</main>\n <Footer />\n </div>\n )\n}\n\nexport default Layout\n","import React from \"react\"\nimport { graphql } from \"gatsby\"\n\nimport Layout from \"../components/layout\"\nimport SEO from \"../components/seo\"\n\nconst NotFoundPage = ({ data, location }) => {\n const siteTitle = data.site.siteMetadata.title\n\n return (\n <Layout location={location} title={siteTitle}>\n <SEO title=\"404: Not Found\" />\n <h1>Not Found</h1>\n <p>You just hit a route that doesn't exist... the sadness.</p>\n </Layout>\n )\n}\n\nexport default NotFoundPage\n\nexport const pageQuery = graphql`\n query {\n site {\n siteMetadata {\n title\n }\n }\n }\n`\n"],"sourceRoot":""}