forked from nodejs/nodejs.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.tsx
More file actions
23 lines (21 loc) · 683 Bytes
/
404.tsx
File metadata and controls
23 lines (21 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react';
import Hero from '../components/hero';
import Layout from '../components/layout';
export default () => {
const title = 'PAGE NOT FOUND';
const description = 'You have hit a route that does not exist.';
return (
<Layout title={title} description={description}>
<Hero title={title} />
<article style={{ width: '100%' }} className="article-reader">
<p>
The page you're trying to access does not exist. Go back to the
Homepage or find what you're looking for in the menu.
</p>
<p>
Take me back to the <a href="/">Homepage</a> →
</p>
</article>
</Layout>
);
};