Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
feat(docs): add custom 404 page
Clean, on-brand 404 page with: - Large faded "404" with subtle gradient glow - Clear messaging and search hint (⌘K) - Primary/secondary action buttons - Quick links to key documentation sections Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sushmithamallesh committed
Jan 28, 2026 at 01:49 UTC
fa4c1fca26e76e3e14f2d4cb8a17ad71d8cfb9b5
1 file changed
+60
docs/app/not-found.tsx
new
+60
@@ -0,0 +1,60 @@
1
+import Link from 'next/link';
2
+
3
+export default function NotFound() {
4
+ return (
5
+ <div className="flex min-h-[85vh] flex-col items-center justify-center px-4">
6
+ <div className="relative">
7
+ {/* Subtle gradient glow */}
8
+ <div className="absolute -inset-4 rounded-full bg-gradient-to-r from-fd-primary/20 via-fd-primary/5 to-transparent blur-2xl" />
9
+ <h1 className="relative text-[120px] sm:text-[150px] font-bold leading-none tracking-tighter text-fd-foreground/10 select-none">
10
+ 404
11
+ </h1>
12
+ </div>
13
+
14
+ <div className="mt-2 text-center max-w-md">
15
+ <h2 className="text-xl font-semibold text-fd-foreground">
16
+ Page not found
17
+ </h2>
18
+ <p className="mt-2 text-fd-muted-foreground text-sm">
19
+ This page doesn't exist or may have moved.
20
+ <br />
21
+ <span className="text-fd-muted-foreground/70">
22
+ Press <kbd className="mx-1 rounded border border-fd-border bg-fd-muted px-1.5 py-0.5 font-mono text-[10px]">⌘K</kbd> to search.
23
+ </span>
24
+ </p>
25
+ </div>
26
+
27
+ {/* Quick links */}
28
+ <div className="mt-8 flex flex-wrap justify-center gap-3">
29
+ <Link
30
+ href="/docs"
31
+ className="inline-flex items-center gap-2 rounded-lg bg-fd-primary px-4 py-2 text-sm font-medium text-fd-primary-foreground transition-colors hover:bg-fd-primary/90"
32
+ >
33
+ Documentation
34
+ </Link>
35
+ <Link
36
+ href="/"
37
+ className="inline-flex items-center gap-2 rounded-lg border border-fd-border bg-fd-background px-4 py-2 text-sm font-medium transition-colors hover:bg-fd-accent"
38
+ >
39
+ Home
40
+ </Link>
41
+ </div>
42
+
43
+ {/* Secondary links */}
44
+ <nav className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-2 text-sm text-fd-muted-foreground">
45
+ <Link href="/docs/quickstart" className="hover:text-fd-foreground transition-colors">
46
+ Quickstart
47
+ </Link>
48
+ <Link href="/toolkits" className="hover:text-fd-foreground transition-colors">
49
+ Toolkits
50
+ </Link>
51
+ <Link href="/examples" className="hover:text-fd-foreground transition-colors">
52
+ Examples
53
+ </Link>
54
+ <Link href="/reference" className="hover:text-fd-foreground transition-colors">
55
+ API Reference
56
+ </Link>
57
+ </nav>
58
+ </div>
59
+ );
60
+}