@@ -52,21 +52,17 @@ function useMenuAnimation(isOpen: boolean) {
52
52
useEffect ( ( ) => {
53
53
void animate (
54
54
'img' ,
55
- isOpen ? { y : 0 , opacity : 1 , scale : 1 , x : 0 } : { y : - 40 , opacity : 0 , scale : 0.7 , x : 80 } ,
55
+ isOpen ? { y : 0 , opacity : 1 , scale : 1 } : { y : - 40 , opacity : 0 , scale : 0.7 } ,
56
56
{
57
57
duration : 0.2 ,
58
58
delay : isOpen ? 0.2 : 0 ,
59
59
} ,
60
60
) ;
61
61
62
- void animate (
63
- '.button-big-text' ,
64
- isOpen ? { y : 0 , scale : 1 , x : 0 } : { y : - 150 , scale : 0.3 , x : 100 } ,
65
- {
66
- duration : 0.1 ,
67
- delay : staggerMenuItems ,
68
- } ,
69
- ) ;
62
+ void animate ( '.button-big-text' , isOpen ? { y : 0 , scale : 1 } : { y : - 150 , scale : 0.3 } , {
63
+ duration : 0.1 ,
64
+ delay : staggerMenuItems ,
65
+ } ) ;
70
66
} , [ animate , isOpen ] ) ;
71
67
72
68
return scope ;
@@ -141,7 +137,6 @@ export default function HeaderMenuButton() {
141
137
whileTap = { { scale : 0.97 } }
142
138
transition = { { duration : 0.01 } }
143
139
href = { appLink }
144
- target = 'blank'
145
140
className = 'button-big-text w-full max-w-[300px] white-bg h-[60px]'
146
141
>
147
142
< div className = 'plausible-event-name=Open+App+Click w-full flex justify-between items-center' >
@@ -154,7 +149,6 @@ export default function HeaderMenuButton() {
154
149
whileTap = { { scale : 0.97 } }
155
150
transition = { { duration : 0.01 } }
156
151
href = { WHITEPAPER }
157
- target = 'blank'
158
152
className = 'button-big-text w-full max-w-[300px] white-bg h-[60px]'
159
153
>
160
154
< button className = 'plausible-event-name=Docs+Click w-full flex justify-between items-center' >
@@ -167,7 +161,6 @@ export default function HeaderMenuButton() {
167
161
whileTap = { { scale : 0.97 } }
168
162
transition = { { duration : 0.01 } }
169
163
href = { DISCORD_LINK }
170
- target = 'blank'
171
164
className = 'button-big-text w-full max-w-[300px] white-bg h-[60px]'
172
165
>
173
166
< button className = 'plausible-event-name=Docs+Click w-full flex justify-between items-center' >
@@ -180,7 +173,6 @@ export default function HeaderMenuButton() {
180
173
whileTap = { { scale : 0.97 } }
181
174
transition = { { duration : 0.01 } }
182
175
href = { TWITTER_LINK }
183
- target = 'blank'
184
176
className = 'button-big-text w-full max-w-[300px] white-bg h-[60px]'
185
177
>
186
178
< button className = 'plausible-event-name=Docs+Click w-full flex justify-between items-center' >
0 commit comments