Skip to content

Commit b2ff555

Browse files
committed
update
Signed-off-by: Wyllie Fang <wylliefang@gmail.com>
1 parent 0be3b3f commit b2ff555

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

src/components/Academy/Learners-Section/LearnerSection.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ const LearnerSectionWrapper = styled.section`
9595
border-radius: 12px;
9696
border: ${props => props.isDark ? "1px solid rgba(255, 255, 255, 0.2)" : "1px solid rgba(0, 179, 159, 0.1)"};
9797
box-shadow: ${props => props.isDark ? "0 8px 32px rgba(0, 0, 0, 0.3)" : "0 4px 12px rgba(0, 0, 0, 0.1)"};
98+
transition: all 0.3s ease;
99+
100+
&:hover {
101+
transform: translateY(-5px) scale(1.02);
102+
background: ${props => props.isDark ? "rgba(0, 179, 159, 0.15)" : "rgba(0, 179, 159, 0.05)"};
103+
border-color: rgba(0, 179, 159, 0.4);
104+
box-shadow: ${props => props.isDark ? "0 12px 40px rgba(0, 179, 159, 0.2)" : "0 8px 25px rgba(0, 179, 159, 0.2)"};
105+
}
98106
99107
.stat-number {
100108
display: block;
@@ -106,11 +114,21 @@ const LearnerSectionWrapper = styled.section`
106114
animation: pulse 2s infinite;
107115
}
108116
117+
&:hover .stat-number {
118+
transform: scale(1.1);
119+
color: #00d3a9;
120+
}
121+
109122
.stat-label {
110123
display: block;
111124
font-size: 0.9rem;
112125
text-transform: uppercase;
113126
letter-spacing: 0.5px;
127+
transition: color 0.3s ease;
128+
}
129+
130+
&:hover .stat-label {
131+
color: #00b39f;
114132
}
115133
116134
@keyframes pulse {

0 commit comments

Comments
 (0)