Skip to content

Commit f42f84e

Browse files
committed
Fixed button animation
1 parent a857ac2 commit f42f84e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sponsor/components/SponsorButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function SponsorButton({}: Props) {
2323
key={"dm"}
2424
initial={{ x: 20, opacity: 0 }}
2525
animate={{ x: 0, opacity: 1 }}
26-
exit={{ x: 20, opacity: 0 }}
26+
// exit={{ x: 0, opacity: 0 }}
2727
transition={{ type: "tween", duration: 0.2 }}
2828
className="hidden xl:block"
2929
>
@@ -33,9 +33,9 @@ export default function SponsorButton({}: Props) {
3333
<motion.p
3434
initial={{ x: -20, opacity: 0 }}
3535
animate={{ x: 0, opacity: 1 }}
36-
exit={{ x: -20, opacity: 0 }}
36+
// exit={{ x: -0, opacity: 0 }}
3737
transition={{ type: "tween", duration: 0.2 }}
38-
key={"Sponsor"}
38+
key={"sponsor"}
3939
className="hidden xl:block"
4040
>
4141
Sponsor

sponsor/content/UserData.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const UserData: UserTypes = {
4747
{
4848
author_id: 1482275556502962177,
4949
id: 2,
50-
text: "Thread",
50+
text: "Dedicated Thread",
5151
created_at: 1689301036,
5252
media: ["/thread-300.png"],
5353
likes: 10,
@@ -56,7 +56,7 @@ export const UserData: UserTypes = {
5656
impressions: 10000,
5757
pinned: false,
5858
example:
59-
"https://twitter.com/Ali_Developer05/status/1680144107455528960?s=20",
59+
"https://twitter.com/Ali_Developer05/status/1688841826567114752?s=20",
6060
},
6161
{
6262
author_id: 1482275556502962177,

0 commit comments

Comments
 (0)