()
| 88 | }); |
| 89 | |
| 90 | function NotFoundPage() { |
| 91 | return ( |
| 92 | <main className="flex min-h-screen items-center justify-center bg-background px-6 py-10"> |
| 93 | <section className="w-full max-w-md text-center"> |
| 94 | <p className="text-xs font-medium uppercase tracking-wide text-muted-foreground">404</p> |
| 95 | <h1 className="mt-2 text-xl font-semibold text-foreground">Page not found</h1> |
| 96 | <p className="mt-2 text-sm leading-6 text-muted-foreground"> |
| 97 | There's nothing at this address. |
| 98 | </p> |
| 99 | <a |
| 100 | href="/" |
| 101 | className="mt-6 inline-flex h-9 items-center justify-center rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground shadow hover:bg-primary/90 transition-colors" |
| 102 | > |
| 103 | Go home |
| 104 | </a> |
| 105 | </section> |
| 106 | </main> |
| 107 | ); |
| 108 | } |
| 109 | |
| 110 | export const Route = createRootRoute({ |
| 111 | notFoundComponent: NotFoundPage, |
nothing calls this directly
no outgoing calls
no test coverage detected