File tree 1 file changed +6
-12
lines changed
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
1
import Footer from '@/components/Footer' ;
2
2
import Navbar from '@/components/Navbar' ;
3
- import { motion } from 'framer-motion' ;
3
+
4
4
export default function Custom404 ( ) {
5
5
return (
6
6
< section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden" >
7
7
< div className = "items-center text-center" >
8
8
< Navbar />
9
9
< h1 className = "text-5xl font-bold pt-24" > 404 - Page Not Found</ h1 >
10
10
< p className = "text-4xl pt-10" >
11
- Oops! This page must have been garbage collected.
11
+ Sorry! We can't find the page you're looking for!
12
12
< br />
13
13
</ p >
14
- < motion . div
15
- className = "opacity-0"
16
- whileHover = { { opacity : 1 } }
17
- transition = { { duration : 0.2 } }
18
- >
19
- < p className = "text-2xl pt-10" >
20
- While we may have found some tomfoolery, we haven't found your page :'(
21
- </ p >
22
- </ motion . div >
14
+ < div className = "opacity-0 transition-opacity duration-200 hover:opacity-100" >
15
+ < p className = "text-2xl pt-10" > Oops! This page must have been garbage collected.</ p >
16
+ </ div >
23
17
< a href = "/" >
24
- < button className = "mt-10 bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[30%] xl:h-12 h-10" >
18
+ < button className = "mt-10 bg-white border text-[#3977F8] border-[#A7A6E5] text-lg rounded-xl w-[30%] xl:h-12 h-10 transition-all duration-200 hover:bg-[#F3F4F6] hover:text-[#1A202C] " >
25
19
Back to safety
26
20
</ button >
27
21
</ a >
You can’t perform that action at this time.
0 commit comments