File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,11 @@ export default function Header() {
36
36
< header className = "z-[999] relative" >
37
37
< MotionDiv
38
38
className = "bg-slate-800 bg-opacity-80 fixed top-0 left-1/2 h-[4.5rem] w-full shadow rounded-none shadow-lg shadow-black/[0.03] backdrop-blur-[0.5rem] sm:top-6 sm:h-[3.25rem] sm:w-[36rem] sm:rounded-full dark:bg-gray-900 dark:border-black/40 dark:bg-opacity-75"
39
- initial = { isMobile ? { x : "-50%" } : { y : - 50 , x : "-50%" , opacity : 0 } }
40
- animate = { isMobile ? { x : "-50%" } : { y : 0 , x : "-50%" , opacity : 1 } }
39
+ //initial={isMobile ? { x: 0 } : { y: -50, x: "-50%", opacity: 0 }}
40
+ //animate={isMobile ? { x: 0 } : { y: 0, x: "-50%", opacity: 1 }}
41
+
42
+ initial = { { y : - 50 , x : "-50%" , opacity : 0 } }
43
+ animate = { { y : 0 , x : "-50%" , opacity : 1 } }
41
44
transition = { { duration : 0.6 } }
42
45
> </ MotionDiv >
43
46
You can’t perform that action at this time.
0 commit comments