MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / NotFound

Function NotFound

apps/baseai.dev/src/app/not-found.tsx:7–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import { useRouter } from 'next/navigation';
6
7export 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected