forked from Talenttrust/Talenttrust-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnot-found.tsx
More file actions
72 lines (67 loc) · 2.7 KB
/
Copy pathnot-found.tsx
File metadata and controls
72 lines (67 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import Link from 'next/link';
const quickLinks = [
{
href: '/contracts',
label: 'View Contracts',
description: 'Pick up where you left off',
},
{
href: '/milestones',
label: 'Track Milestones',
description: 'See your project checkpoints',
},
{
href: '/reputation',
label: 'My Reputation',
description: 'Check your work history',
},
];
export default function NotFound() {
return (
<main className="min-h-screen flex flex-col items-center justify-center p-8 bg-[var(--background)]">
<div className="max-w-md w-full text-center space-y-8">
<div aria-hidden="true" className="text-6xl font-bold text-gray-200">
404
</div>
<div className="space-y-3">
<h1 className="text-2xl font-bold text-gray-900">Page Not Found</h1>
<p className="text-gray-600">
This page doesn't exist or the link may have expired. Here are
a few places to get back on track.
</p>
</div>
<nav aria-label="Quick links">
<h2 className="sr-only">Where would you like to go?</h2>
<ul className="flex flex-col gap-3">
{quickLinks.map(({ href, label, description }) => (
<li key={href}>
<Link
href={href}
className="flex flex-col items-center sm:flex-row sm:items-center gap-1 sm:gap-3 px-5 py-3 rounded-lg border border-gray-200 text-gray-700 hover:bg-gray-50 hover:border-gray-300 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-900 focus-visible:ring-offset-2"
>
<span className="font-medium text-gray-900">{label}</span>
<span className="hidden sm:inline text-gray-400">—</span>
<span className="text-sm text-gray-500">{description}</span>
</Link>
</li>
))}
</ul>
</nav>
<div className="flex flex-col sm:flex-row gap-3 justify-center">
<Link
href="/"
className="px-5 py-2 rounded-lg bg-gray-900 text-white font-medium hover:bg-gray-700 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-900 focus-visible:ring-offset-2"
>
Go Home
</Link>
<a
href="mailto:support@talenttrust.io"
className="px-5 py-2 rounded-lg border border-gray-300 text-gray-700 font-medium hover:bg-gray-100 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-900 focus-visible:ring-offset-2"
>
Contact Support
</a>
</div>
</div>
</main>
);
}