-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy path404.js
More file actions
43 lines (39 loc) · 1.68 KB
/
404.js
File metadata and controls
43 lines (39 loc) · 1.68 KB
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, { Fragment } from 'react';
import { Link } from 'gatsby';
import Footer from '../components/Footer';
import MainNav from '../components/MainNav';
import SEO from '../components/SEO';
import notFoundImage from '../assets/images/404.svg';
const NotFoundPage = () => (
<Fragment>
<SEO title="404: Not found" />
<MainNav title=" " />
<div className="container py-16 blog-content md:flex md:py-64">
<div className="mb-16 md:w-1/3">
<img src={notFoundImage} alt="Not found" />
</div>
<div className="flex-1 md:pl-16">
<h2>Not Found</h2>
<p>
You just hit a route that doesn't exist... What can you do now?
That's a good question! There are several things you can do, going to{' '}
<Link to="/">home page</Link> would be a good idea. You might want to{' '}
<Link to="/blog">read the blog</Link>, we have very interesting
articles and tutorials! Maybe looking for{' '}
<a aria-label="Link to page with all the mentors" href="https://mentors.codingcoach.io">a mentor</a> to improve your
career?
</p>
<p>
How did you get here? Is this a broken link within the blog? Or maybe
a link from a third party website? Please{' '}
<a aria-label="Send email to the page admin" href="mailto:admin@codingcoach.io">let us know</a> and we will fix it
ASAP!
</p>
</div>
</div>
<Footer />
{/* Use these classes to stop gatsby-plugin-purgecss from removing them these classes */}
<span className="flex-col flex-grow max-w-1/2 mx-auto" style={{display: 'none'}}></span>
</Fragment>
);
export default NotFoundPage;