Skip to content

Commit 7a8a867

Browse files
not found error
1 parent 125c6fd commit 7a8a867

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

app/not-found.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { Button } from "@/components/ui/button"
2+
import { House } from "lucide-react"
3+
import Link from "next/link"
4+
5+
export default function NotFound() {
6+
return (
7+
<section className="px-5 py-16 md:px-12 md:py-24">
8+
<div className="mx-auto flex w-full max-w-3xl flex-col items-center text-center">
9+
<h1 className="mb-4 text-7xl tracking-tight font-extrabold lg:text-9xl"> 404 </h1>
10+
<p className="mb-4 text-3xl tracking-tight font-bold md:text-4xl"> Somethings wrong</p>
11+
<p className="mb-4 text-lg font-light">
12+
Sorry, we cant find that article. You will find lots to explore on the home page.
13+
</p>
14+
<Link href={"/"}>
15+
<Button variant="default"> <House /> Back to Homepage </Button>
16+
</Link>
17+
</div>
18+
</section>
19+
)
20+
}

0 commit comments

Comments
 (0)