Skip to content

Commit 5c46706

Browse files
committed
feat(frontend): add 404 page for missing job
1 parent 562bfed commit 5c46706

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import Image from "next/image";
2+
import Link from "next/link";
3+
4+
export default function JobNotFound() {
5+
return (
6+
<div className="flex min-h-[80vh] flex-col items-center justify-center gap-6 px-4 text-center">
7+
<Image src="/mac.svg" alt="MAC mascot" width={160} height={160} />
8+
<h1 className="text-4xl font-bold text-white">404</h1>
9+
<p className="text-lg text-white/50">
10+
This job post is no longer taking applications or it does not exist.
11+
</p>
12+
<Link
13+
href="/jobs"
14+
className="rounded-lg bg-[#ffe22f] px-6 py-3 font-semibold text-black transition-opacity hover:opacity-80"
15+
>
16+
Browse jobs
17+
</Link>
18+
</div>
19+
);
20+
}

0 commit comments

Comments
 (0)