We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e5cd62 commit 558c7d4Copy full SHA for 558c7d4
pages/404.js
@@ -0,0 +1,13 @@
1
+import Link from 'next/link'
2
+
3
+const NotFound = () => {
4
+ return (
5
+ <div className="not-found">
6
+ <h1>Ooops...</h1>
7
+ <h2>That page cannot be found :(</h2>
8
+ <p>Go back to the <Link href="/"><a>Homepage</a></Link></p>
9
+ </div>
10
+ );
11
+}
12
13
+export default NotFound;
styles/globals.css
@@ -35,4 +35,10 @@ footer {
35
color: #777;
36
border-top: 1px solid #eaeaea;
37
}
38
-
+.not-found {
39
+ text-align: center;
40
41
+.not-found a{
42
+ color: #4979ff;
43
+ text-decoration: underline;
44
0 commit comments