[site/pages/404][xs]: add return to homepage link
This commit is contained in:
parent
93691dbaef
commit
104078cb4f
|
|
@ -1,8 +1,13 @@
|
||||||
|
import Link from "next/link";
|
||||||
|
|
||||||
export default function () {
|
export default function () {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center justify-center mt-12 sm:mt-20 xl:mt-36 space-y-8">
|
<div className="flex flex-col items-center justify-center mt-12 sm:mt-20 xl:mt-36">
|
||||||
<img src="/img/undraw_page_not_found.svg" alt="404" className="px-8 sm:px-0 max-w-xs m-auto" />
|
<img src="/img/undraw_page_not_found.svg" alt="404" className="px-8 sm:px-0 max-w-xs m-auto" />
|
||||||
<p className="text-lg">Page not found</p>
|
<p className="text-lg mt-4">Page not found</p>
|
||||||
|
<Link href="/">
|
||||||
|
<a className="underline text-sm mt-2 hover:text-gray-500">Return to Homepage</a>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue