Skip to content

Commit

Permalink
Fix design of 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
PullJosh committed Jul 6, 2024
1 parent af89dc8 commit 77c36d8
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
import Center from "../components/Center";
import { Footer } from "../components/Footer";
import Nav from "../components/Nav";
import TopBorder from "../components/TopBorder";

export default function NotFound() {
return (
<>
<div className="border-b border-gray-300">
<Nav title="Leopard" />
</div>
<div className="mt-8">
<div className="mx-auto max-w-4xl px-8">
<h1 className="text-4xl font-bold">404 - Not Found</h1>
<p className="mt-4">
The page you were looking for could not be found.
</p>
<div className="flex min-h-screen flex-col">
<TopBorder />
<Nav title="Leopard" />
<div className="flex-grow">
<div className="my-8">
<Center>
<div className="prose">
<h1>404 - Not Found</h1>
<p>The page you were looking for could not be found.</p>
</div>
</Center>
</div>
</div>
<Footer />
</>
</div>
);
}

0 comments on commit 77c36d8

Please sign in to comment.