-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---node-modules-nehalist-gatsby-theme-nehalem-src-pages-404-tsx-7c60f8995aafae9af341.js.map
1 lines (1 loc) · 2.07 KB
/
component---node-modules-nehalist-gatsby-theme-nehalem-src-pages-404-tsx-7c60f8995aafae9af341.js.map
1
{"version":3,"sources":["webpack:///./node_modules/@nehalist/gatsby-theme-nehalem/src/pages/404.tsx"],"names":["Error","styled","section","ErrorTitle","h1","ErrorDescription","h2","BackLink","Link","Theme","layout","primaryColor","NotFoundPage","location","bigHeader","title","to"],"mappings":"6FAAA,4FAWMA,EAAQC,UAAOC,QAAV,oEAAGD,CAAH,4GASLE,EAAaF,UAAOG,GAAV,yEAAGH,CAAH,0FASVI,EAAmBJ,UAAOK,GAAV,+EAAGL,CAAH,kEAOhBM,EAAWN,kBAAOO,QAAV,uEAAGP,CAAH,kDACHQ,IAAMC,OAAOC,cAqBTC,UAdqC,SAAC,GAAD,IAAEC,EAAF,EAAEA,SAAF,OAClD,kBAAC,IAAD,CAAQC,WAAW,GACjB,kBAAC,IAAD,CACED,SAAUA,EACVE,MAAK,mBAEP,kBAACf,EAAD,KACE,kBAACG,EAAD,YACA,kBAACE,EAAD,uBACA,kBAACE,EAAD,CAAUS,GAAE,KAAZ","file":"component---node-modules-nehalist-gatsby-theme-nehalem-src-pages-404-tsx-7c60f8995aafae9af341.js","sourcesContent":["import React, {FunctionComponent} from \"react\";\nimport Layout from \"../components/layout\";\nimport {Link} from \"gatsby\";\nimport styled from \"styled-components\";\nimport Theme from \"../styles/theme\";\nimport SEO from \"../components/seo\";\n\ninterface ErrorProps {\n location: Location;\n}\n\nconst Error = styled.section`\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-content: center;\n height: 75vh;\n text-align: center;\n`;\n\nconst ErrorTitle = styled.h1`\n display: block;\n font-size: 8em;\n font-weight: bold;\n opacity: .45;\n width: 100%;\n margin: 0 0 15px;\n`;\n\nconst ErrorDescription = styled.h2`\n font-size: 1.8em;\n display: block;\n width: 100%;\n margin-bottom: 15px;\n`;\n\nconst BackLink = styled(Link)`\n color: ${Theme.layout.primaryColor};\n\n &:hover {\n text-decoration: underline;\n }\n`;\n\nconst NotFoundPage: FunctionComponent<ErrorProps> = ({location}) => (\n <Layout bigHeader={false}>\n <SEO\n location={location}\n title={`Page not found`}\n />\n <Error>\n <ErrorTitle>404</ErrorTitle>\n <ErrorDescription>Page not found</ErrorDescription>\n <BackLink to={`/`}>{/* Country roads... */} Take me home!</BackLink>\n </Error>\n </Layout>\n);\n\nexport default NotFoundPage;\n"],"sourceRoot":""}