-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathErrorPage.js
More file actions
41 lines (37 loc) · 801 Bytes
/
ErrorPage.js
File metadata and controls
41 lines (37 loc) · 801 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
import { NavLink } from "react-router-dom";
import styled from "styled-components";
import { Button } from "./styles/Button";
const ErrorPage = () => {
return (
<Wrapper>
<div className="container">
<div>
<h2>404</h2>
<h3>opps! You're lost.</h3>
<p>
The page you are looking for does not exist.
</p>
<NavLink to="/">
<Button>Go Back to Home</Button>
</NavLink>
</div>
</div>
</Wrapper>
);
};
const Wrapper = styled.section`
.container {
padding: 9rem 0;
text-align: center;
h2 {
font-size: 10rem;
}
h3 {
font-size: 4.2rem;
}
p {
margin: 2rem 0;
}
}
`;
export default ErrorPage;