-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
455 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import styled from 'styled-components' | ||
|
||
const Container = styled.div` | ||
max-width: 800px; | ||
margin: 0 auto; | ||
` | ||
|
||
export default Container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import React from 'react' | ||
import Layout from '../templates/layout' | ||
import Layout from '../templates/Layout' | ||
import Container from '../components/Container' | ||
import { withLoginStateContext } from '../contexes/LoginStateContext' | ||
|
||
const NotFoundPage = () => ( | ||
<Layout> | ||
<h1>NOT FOUND</h1> | ||
<p>You just hit a route that doesn't exist... the sadness.</p> | ||
<Container> | ||
<h1>Ei löytynyt</h1> | ||
<p>Olet päätynyt osoitteeseen, jota ei ole olemassa.</p> | ||
</Container> | ||
</Layout> | ||
) | ||
|
||
export default NotFoundPage | ||
export default withLoginStateContext(NotFoundPage) |
Oops, something went wrong.