()
| 5 | import { useRouter } from 'next/navigation'; |
| 6 | |
| 7 | export default function NotFound() { |
| 8 | const router = useRouter(); |
| 9 | |
| 10 | return ( |
| 11 | <div className="prose dark:prose-invert"> |
| 12 | <HeroPattern /> |
| 13 | <div className="mx-auto flex h-full max-w-xl flex-col items-center justify-center py-16 text-center"> |
| 14 | <p>404</p> |
| 15 | <h1>Page not found</h1> |
| 16 | <p>Sorry, we couldn’t find the page you’re looking for.</p> |
| 17 | <Button |
| 18 | onClick={() => router.push('/docs')} |
| 19 | arrow="right" |
| 20 | className="mt-8" |
| 21 | > |
| 22 | Back to docs |
| 23 | </Button> |
| 24 | </div> |
| 25 | </div> |
| 26 | ); |
| 27 | } |
nothing calls this directly
no outgoing calls
no test coverage detected