diff --git a/src/pages/404.js b/src/pages/404.js index 053ae0e..244f8e0 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -1,28 +1,28 @@ -import * as React from "react" -import { Link } from "gatsby" +import * as React from 'react'; +import { Link } from 'gatsby'; // styles const pageStyles = { - color: "#232129", - padding: "96px", - fontFamily: "-apple-system, Roboto, sans-serif, serif", -} + color: '#232129', + padding: '96px', + fontFamily: '-apple-system, Roboto, sans-serif, serif', +}; const headingStyles = { marginTop: 0, marginBottom: 64, maxWidth: 320, -} +}; const paragraphStyles = { marginBottom: 48, -} +}; const codeStyles = { - color: "#8A6534", + color: '#8A6534', padding: 4, - backgroundColor: "#FFF4DB", - fontSize: "1.25rem", + backgroundColor: '#FFF4DB', + fontSize: '1.25rem', borderRadius: 4, -} +}; // markup const NotFoundPage = () => { @@ -31,13 +31,13 @@ const NotFoundPage = () => { Not found

Page not found

- Sorry{" "} - + Sorry{' '} + 😔 - {" "} + {' '} we couldn’t find what you were looking for.
- {process.env.NODE_ENV === "development" ? ( + {process.env.NODE_ENV === 'development' ? ( <>
Try creating a page in src/pages/. @@ -45,10 +45,10 @@ const NotFoundPage = () => { ) : null}
- Go home. + Go home.

- ) -} + ); +}; -export default NotFoundPage +export default NotFoundPage;