We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Link
1 parent 1199e52 commit 4fae94bCopy full SHA for 4fae94b
1 file changed
src/pages/404.jsx
@@ -1,3 +1,5 @@
1
+import Link from 'next/link'
2
+
3
export default function ErrorPage() {
4
return (
5
<>
@@ -7,12 +9,12 @@ export default function ErrorPage() {
7
9
<h1 className="mt-4 text-3xl font-bold tracking-tight text-gray-900 sm:text-5xl">Page not found</h1>
8
10
<p className="mt-6 text-base leading-7 text-gray-600">Sorry, we couldn’t find the page you’re looking for.</p>
11
<div className="mt-10 flex items-center justify-center gap-x-6">
- <a
12
+ <Link
13
href="/"
14
className="rounded-md bg-brand-red-500 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-brand-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-red-600"
15
>
16
Go back home
- </a>
17
+ </Link>
18
</div>
19
20
</main>
0 commit comments