Skip to content

Commit

Permalink
chore: enhanced not found page
Browse files Browse the repository at this point in the history
  • Loading branch information
darklight9811 committed Sep 5, 2024
1 parent d1360fd commit adb6069
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 0 additions & 5 deletions apps/app/src/app/[...rest]/page.tsx

This file was deleted.

12 changes: 9 additions & 3 deletions apps/app/src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Link } from "@/lib/navigation";
import { buttonVariants } from "@repo/ds/ui/button";
import { Ghost } from "lucide-react";
import Footer from "./_components/footer";
import Navbar from "./_components/navbar";
Expand All @@ -7,10 +9,14 @@ export default function NotFoundPage() {
<>
<Navbar />

<main className="grow flex justify-center items-center">
<Ghost />
<main className="grow flex flex-col justify-center items-center">
<Ghost size={128} />

<h1>Page not found</h1>
<h1 className="text-3xl mb-4">Página não encontrada</h1>

<Link href="/" className={buttonVariants()}>
Voltar para home
</Link>
</main>

<Footer />
Expand Down

0 comments on commit adb6069

Please sign in to comment.