Open this example in the interactive library
Source code
// app/not-found.tsx
import Link from "next/link";
export default function RetiredProductFallback() {
return (
<main>
<h1>Product unavailable</h1>
<p>This item may have been retired.</p>
<Link href="/catalog">Explore the catalog</Link>
</main>
);
}
