Skip to content

Commit

Permalink
Merge pull request #19 from Dium-dev/10-notfound
Browse files Browse the repository at this point in the history
Add not-found page
  • Loading branch information
JohanMejia77 authored Mar 1, 2024
2 parents e6d6590 + 247d101 commit 3c7b248
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/app/not-found.tsx
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;

0 comments on commit 3c7b248

Please sign in to comment.