mirror of
https://github.com/vercel/commerce.git
synced 2025-04-28 05:47:50 +00:00
add not found page
This commit is contained in:
parent
9ab458fa33
commit
e6fe47bbe1
15
app/not-found.tsx
Normal file
15
app/not-found.tsx
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
import Link from 'next/link'
|
||||||
|
|
||||||
|
export default function NotFound() {
|
||||||
|
return (
|
||||||
|
<div className="flex min-h-screen flex-col items-center justify-center">
|
||||||
|
<h2 className="text-2xl font-bold mb-4">404 - Page Not Found</h2>
|
||||||
|
<p className="text-gray-600 mb-4">
|
||||||
|
The page you're looking for doesn't exist.
|
||||||
|
</p>
|
||||||
|
<Link href="/" className="text-blue-600 hover:text-blue-800 underline">
|
||||||
|
Return Home
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user