MCPcopy Create free account
hub / github.com/devs-in-tech/DevsInTech / custom404

Function custom404

src/pages/404.js:3–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import Link from "next/link";
2
3export default function custom404() {
4 return (
5 <div>
6 <div className="w-9/12 m-auto py-16 min-h-screen flex items-center justify-center">
7 <div className="shadow overflow-hidden sm:rounded-lg pb-8">
8 <div className="border-t border-gray-200 text-center pt-8">
9 <h1 className="text-9xl font-bold text-white">404</h1>
10 <h1 className="text-6xl font-medium py-8 text-white">
11 Oops! Page not found
12 </h1>
13 <p className="text-2xl pb-8 px-12 font-medium text-gray-300">
14 Oops! The page you are looking for does not exist. It might have
15 been moved or deleted.
16 </p>
17 <Link
18 href="/"
19 className="bg-gradient-to-r from-purple-400 to-blue-500 hover:from-indigo-500
20 hover:to-purple-500 text-white font-semibold px-6 py-3 mt-5 rounded-md mr-6"
21 >
22 Go to HOME
23 </Link>
24 </div>
25 </div>
26 </div>
27 </div>
28 );
29}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected