forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotFound.js
More file actions
43 lines (37 loc) · 920 Bytes
/
NotFound.js
File metadata and controls
43 lines (37 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import React from 'react';
import styled from 'styled-components';
import { Button } from '@codesandbox/common/lib/components/Button';
import PageContainer from '../../components/PageContainer';
const FourOfFourContainer = styled.main`
max-width: 663px;
margin: auto;
margin-bottom: 50px;
`;
const H1 = styled.h1`
font-family: Poppins;
font-weight: 500;
font-size: 144px;
color: ${props => props.theme.new.title};
`;
const H2 = styled.h2`
font-family: Poppins;
font-weight: 500;
font-size: 48px;
color: ${props => props.theme.new.title};
`;
export default () => (
<PageContainer>
<FourOfFourContainer>
<H1>404</H1>
<H2>We could not find the page you're looking for.</H2>
<Button
css={`
margin-top: 60px;
`}
onClick={() => window.history.go(-1)}
>
Go back
</Button>
</FourOfFourContainer>
</PageContainer>
);