-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from Dium-dev/10-notfound
Add not-found page
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { FC } from "react"; | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
|
||
const NotFoundPage: FC = () => { | ||
return ( | ||
<section className="flex flex-col items-center justify-center h-screen w-screen gap-9 p-12"> | ||
<h1 className="text-center text-2xl"> | ||
La pagina que estas buscando no parece existir | ||
</h1> | ||
<div> | ||
<h1 className="text-center font-medium text-secondary-lm text-4xl mb-2"> | ||
ERROR | ||
</h1> | ||
<Image | ||
src="/images/notFound.webp" | ||
alt="404" | ||
width={800} | ||
height={800} | ||
className="object-cover mb-8" | ||
/> | ||
</div> | ||
<Link href="/"> | ||
<button className="bg-primary-lm rounded py-2 px-4 text-white uppercase font-extrabold"> | ||
Ir a página principal | ||
</button> | ||
</Link> | ||
</section> | ||
); | ||
}; | ||
export default NotFoundPage; |