Skip to content

Commit 11a85bb

Browse files
author
Andrei Jiroh Eugenio Halili
authored
Add 404 page
1 parent dbd2fd9 commit 11a85bb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/pages/404.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from 'react';
2+
import { Link } from 'gatsby';
3+
4+
import Layout from '@rocketseat/gatsby-theme-docs/src/components/Layout';
5+
import SEO from '@rocketseat/gatsby-theme-docs/src/components/SEO';
6+
7+
export default function NotFound() {
8+
return (
9+
<Layout title="Page not found!">
10+
<SEO title="404: Not found" />
11+
<p>You just gone to the wrong route. Did we just broke something?</p>
12+
<p>
13+
If everything is fine and you&#39;d like to go back to homepage, <Link to="/">click here</Link>
14+
.
15+
</p>
16+
</br>
17+
<p>But if you&#39;re in doubt, <Link to="https://github.com/code-server-boilerplates/docs/issues">file an new GitHub issue here</Link>.</p>
18+
</Layout>
19+
);
20+
}

0 commit comments

Comments
 (0)