Skip to content

Commit e2084b1

Browse files
committed
Add hover animation to buttons
1 parent 462c700 commit e2084b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Button = ({title, link }) => {
55
return (
66
<button
77
onClick={() => window.open(link, '_blank')}
8-
className={`text-ured text-xl`}
8+
className={`text-ured text-xl hover:scale-110 transition-all cursor-pointer`}
99
>
1010
<FontAwesomeIcon icon={iconMap[title]} />
1111
</button>

src/components/ButtonR.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const ButtonR = ({title, link }) => {
55
return (
66
<button
77
onClick={() => window.open(link, '_blank')}
8-
className={`bg-ured rounded-md py-1 px-2 text-white text-sm flex justify-center items-center gap-xs`}
8+
className={`bg-ured rounded-md py-1 px-2 text-white text-sm flex justify-center items-center gap-xs hover:bg-white hover:text-ured border-ured border transition-colors cursor-pointer`}
99
>
1010
<FontAwesomeIcon icon={iconMap[title]} />
1111
{title}

0 commit comments

Comments
 (0)