File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ import { graphql } from "gatsby"
44import Layout from "../components/layout"
55import Seo from "../components/seo"
66import { initialiseDisplayModeFromLocalStorage } from "../components/util/dark-mode-helper"
7+ import styled from "styled-components"
8+
9+ const Message = styled . div `
10+ margin-left: var(--site-margins);
11+ margin-right: var(--site-margins);
12+ `
713
814const NotFoundPage = ( { data, location } ) => {
915 const siteTitle = data . site . siteMetadata . title
@@ -23,8 +29,10 @@ const NotFoundPage = ({ data, location }) => {
2329
2430 return (
2531 < Layout location = { location } title = { siteTitle } >
32+ < Message >
2633 < h1 > 404: Not Found</ h1 >
27- < p > { message } </ p >
34+ < p > { message } </ p >
35+ </ Message >
2836 </ Layout >
2937 )
3038}
You can’t perform that action at this time.
0 commit comments