Merge pull request #177 from life-itself/168-new-404-page

[site/pages][xs]: create new 404 page with an image
This commit is contained in:
Khalil Ali 2022-06-12 23:10:59 +03:00 committed by GitHub
commit 3173ba0915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

8
site/pages/404.js Normal file
View File

@ -0,0 +1,8 @@
export default function () {
return (
<div className="flex flex-col items-center justify-center mt-12 sm:mt-20 xl:mt-36 space-y-8">
<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>
</div>
);
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 24 KiB