Skip to content

Commit df9d5d6

Browse files
committed
Added 404 page
1 parent bbe5948 commit df9d5d6

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

src/pages/404.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// pages/404.js
2+
import { motion } from "framer-motion";
3+
import Link from 'next/link'
4+
5+
const Custom404 = () => {
6+
return (
7+
<div className="min-h-full px-4 py-16 sm:px-6 sm:py-24 md:grid md:place-items-center lg:px-8">
8+
<div className="mx-auto max-w-max">
9+
<main className="sm:flex">
10+
<p className="bg-gradient-to-r from-pink-500 to-pink-700 bg-clip-text text-4xl font-bold tracking-tight text-transparent sm:text-5xl">
11+
404
12+
</p>
13+
<div className="sm:ml-6">
14+
<div className="sm:border-l sm:border-gray-200 sm:pl-6 text-white">
15+
<h1 className="text-4xl font-bold tracking-tight sm:text-5xl">
16+
Page not found
17+
</h1>
18+
<p className="mt-4 text-base text-gray-300">
19+
Please check the URL in the address bar and try again.
20+
</p>
21+
</div>
22+
<div className="mt-10 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6">
23+
<Link href="/">
24+
<motion.a
25+
className="inline-flex items-center justify-center px-4 py-3 text-base font-medium transition-all duration-100 border border-transparent rounded-md shadow-sm hover:border-white/80 bg-cyber-webx text-white/80 hover:text-white hover:bg-gradient-to-r hover:from-pink-700 hover:to-pink-900 focus:outline-none focus:ring-2 focus:ring-cyber-webx focus:ring-offset-2"
26+
whileHover={{ scale: 1.05 }}
27+
whileTap={{ scale: 1 }}
28+
href="/"
29+
>
30+
Go back home
31+
</motion.a>
32+
</Link>
33+
{/* <Link href="/support">
34+
<a className="inline-flex items-center rounded-md border border-transparent bg-pink-100 px-4 py-2 text-sm font-medium text-black hover:bg-pink-200 focus:outline-none focus:ring-2 focus:ring-pink-500 focus:ring-offset-2">
35+
Contact support
36+
</a>
37+
</Link> */}
38+
</div>
39+
</div>
40+
</main>
41+
</div>
42+
</div>
43+
)
44+
}
45+
46+
export default Custom404

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy