@@ -110,10 +110,22 @@ const Header = () => {
110110 return (
111111 < div className = "w-full fixed top-0 left-0 right-0 z-50" >
112112 < nav className = "w-fit mx-auto space-y-4 p-4" >
113- < div className = "w-full flex justify-center items-center" >
113+ < motion . div
114+ initial = { { opacity : 0 , scale : 0.95 } }
115+ animate = { { opacity : 1 , scale : 1 } }
116+ exit = { { opacity : 0 , scale : 0.95 } }
117+ transition = { { duration : 0.2 } }
118+ className = "w-full flex justify-center items-center"
119+ >
114120 < motion . button
115121 onClick = { ( ) => setIsDialogOpen ( true ) }
116- className = "border mr-2 h-12 w-12 bg-neutral-900/60 backdrop-blur-lg border-white/10 rounded-[50px] flex items-center justify-center"
122+ initial = { { backdropFilter : "blur(0px)" } }
123+ animate = { {
124+ backdropFilter : "blur(10px)" ,
125+ transition : { delay : 0.2 } ,
126+ } }
127+ exit = { { backdropFilter : "blur(0px)" } }
128+ className = "border mr-2 h-12 w-12 bg-neutral-900/60 border-white/10 rounded-[50px] flex items-center justify-center"
117129 >
118130 < Logo className = "w-8 h-8" />
119131 </ motion . button >
@@ -126,7 +138,13 @@ const Header = () => {
126138 variants = { tabsContainerVariants }
127139 transition = { tabsContainerTransition }
128140 >
129- < div className = "flex space-x-1 w-fit bg-neutral-900/60 backdrop-blur-lg p-1 rounded-[50px] border border-white/10" >
141+ < motion . div
142+ initial = { { backdropFilter : "blur(0px)" } }
143+ animate = { { backdropFilter : "blur(10px)" } }
144+ exit = { { backdropFilter : "blur(0px)" } }
145+ transition = { { delay : 0.2 } }
146+ className = "flex space-x-1 w-fit bg-neutral-900/60 p-1 rounded-[50px] border border-white/10"
147+ >
130148 { tabs . map ( ( tab ) => (
131149 < NavLink
132150 key = { tab . id }
@@ -136,14 +154,14 @@ const Header = () => {
136154 showBubble = { isOnHeaderTab }
137155 />
138156 ) ) }
139- </ div >
157+ </ motion . div >
140158 </ motion . div >
141159 ) }
142160 </ AnimatePresence >
143161 < motion . div
144162 initial = { searchContainerMotion . initial }
145163 animate = { searchContainerMotion . animate ( isSearchOpen ) }
146- className = "border bg-neutral-900/60 backdrop-blur-lg border-white/10 rounded-[50px] flex items-center"
164+ className = "border bg-neutral-900/60 border-white/10 rounded-[50px] flex items-center"
147165 >
148166 < div className = "p-1" >
149167 < motion . button
@@ -188,7 +206,7 @@ const Header = () => {
188206 </ AnimatePresence >
189207 </ motion . div >
190208 < UserMenu />
191- </ div >
209+ </ motion . div >
192210 < AnimatePresence >
193211 { isSearchOpen && (
194212 < motion . div
0 commit comments