fix(app): add friendly not-found handling

This commit is contained in:
Gabriel Brown
2026-07-10 17:24:32 -04:00
parent c4d0f5219a
commit ed21126eea
7 changed files with 203 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
import Link from 'next/link';
import { Button } from '@spoon/ui';
const NotFound = () => (
<main className='flex min-h-[50vh] flex-col items-center justify-center gap-4 p-6 text-center'>
<h1 className='text-2xl font-semibold'>Not found</h1>
<p className='text-muted-foreground max-w-md text-sm'>
This item does not exist, or you do not have access to it.
</p>
<Button asChild>
<Link href='/dashboard'>Back to dashboard</Link>
</Button>
</main>
);
export default NotFound;