[site/pages/404][xs]: add return to homepage link

This commit is contained in:
khalilcodes 2022-06-16 17:33:28 +03:00
parent 93691dbaef
commit 104078cb4f
1 changed files with 7 additions and 2 deletions

View File

@ -1,8 +1,13 @@
import Link from "next/link";
export default function () {
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" />
<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>
);
}