Skip to content

Commit de268b9

Browse files
adjusted transition time
1 parent 50aa432 commit de268b9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

social-links/social-links.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ function sociallinks() {
2121
<span
2222
className={
2323
(!isOpen
24-
? "transition-transform ease duration-[3000ms] scale-100 rotate-[15deg] delay-0 "
25-
: "transition-transform ease duration-[3000ms] scale-[0.45] delay-0 ") +
24+
? "transition-transform ease duration-[1000ms] scale-100 rotate-[15deg] delay-0 "
25+
: "transition-transform ease duration-[1000ms] scale-[0.45] delay-0 ") +
2626
"text-white text-xl absolute w-10 h-96 top-0 flex justify-center origin-bottom-center after:absolute after:w-px after:h-12 after:bg-white after:top-10 after:content-'' "
2727
}
2828
>
2929
<FontAwesomeIcon
3030
className={
3131
(!isOpen
32-
? "transition-transform ease duration-[3000ms] -rotate-[15deg] delay-0 "
32+
? "transition-transform ease duration-[1000ms] -rotate-[15deg] delay-0 "
3333
: "") +
3434
"absolute -rotate-10 border-solid border-2 rounded-[50%] p-1.5"
3535
}
@@ -40,15 +40,15 @@ function sociallinks() {
4040
<span
4141
className={
4242
(!isOpen
43-
? "transition-transform ease duration-[3000ms] scale-100 rotate-[45deg] delay-0 "
44-
: "transition-transform ease duration-[3000ms] scale-[0.45] delay-0 ") +
43+
? "transition-transform ease duration-[1000ms] scale-100 rotate-[45deg] delay-0 "
44+
: "transition-transform ease duration-[1000ms] scale-[0.45] delay-0 ") +
4545
"text-white text-xl absolute w-10 h-96 top-0 flex justify-center origin-bottom-center after:absolute after:w-px after:h-12 after:bg-white after:top-10 after:content-''"
4646
}
4747
>
4848
<FontAwesomeIcon
4949
className={
5050
(!isOpen
51-
? "transition-transform ease duration-[3000ms] -rotate-[45deg] delay-0 "
51+
? "transition-transform ease duration-[1000ms] -rotate-[45deg] delay-0 "
5252
: " ") +
5353
"absolute -rotate-50 border-solid border-2 rounded-[50%] p-1.5"
5454
}
@@ -59,15 +59,15 @@ function sociallinks() {
5959
<span
6060
className={
6161
(!isOpen
62-
? "transition-transform ease duration-[3000ms] scale-100 rotate-[75deg] delay-0 "
63-
: "transition-transform ease duration-[3000ms] scale-[0.45] delay-0 ") +
62+
? "transition-transform ease duration-[1000ms] scale-100 rotate-[75deg] delay-0 "
63+
: "transition-transform ease duration-[1000ms] scale-[0.45] delay-0 ") +
6464
"text-white text-xl absolute w-10 h-96 top-0 flex justify-center origin-bottom-center after:absolute after:w-px after:h-12 after:bg-white after:top-10 after:content-'' "
6565
}
6666
>
6767
<FontAwesomeIcon
6868
className={
6969
(!isOpen
70-
? "transition-transform ease duration-[3000ms] -rotate-[75deg] delay-0 "
70+
? "transition-transform ease duration-[1000ms] -rotate-[75deg] delay-0 "
7171
: " ") +
7272
"absolute -rotate-80 border-solid border-2 rounded-[50%] p-1.5"
7373
}

0 commit comments

Comments
 (0)