Skip to content

Commit 4bda85a

Browse files
committed
small refines
Signed-off-by: Wyllie Fang <wylliefang@gmail.com>
1 parent 1edb604 commit 4bda85a

2 files changed

Lines changed: 8 additions & 41 deletions

File tree

src/components/Academy/Enterprise-Section/EnterpriseSection.js

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,6 @@ const EnterpriseSectionWrapper = styled.section`
99
position: relative;
1010
overflow: hidden;
1111
12-
&::before {
13-
content: '';
14-
position: absolute;
15-
top: -50%;
16-
left: -50%;
17-
width: 200%;
18-
height: 200%;
19-
background: radial-gradient(circle, rgba(0, 179, 159, 0.03) 0%, transparent 70%);
20-
animation: float 20s ease-in-out infinite;
21-
pointer-events: none;
22-
}
23-
24-
&::after {
25-
content: '';
26-
position: absolute;
27-
top: 20%;
28-
right: 10%;
29-
width: 100px;
30-
height: 100px;
31-
background: linear-gradient(45deg, rgba(0, 211, 169, 0.1), rgba(0, 179, 159, 0.05));
32-
border-radius: 50%;
33-
animation: pulse 3s ease-in-out infinite;
34-
pointer-events: none;
35-
}
36-
37-
@keyframes float {
38-
0%, 100% { transform: translateY(0px) rotate(0deg); }
39-
33% { transform: translateY(-20px) rotate(1deg); }
40-
66% { transform: translateY(10px) rotate(-1deg); }
41-
}
42-
43-
@keyframes pulse {
44-
0%, 100% { opacity: 0.3; transform: scale(1); }
45-
50% { opacity: 0.6; transform: scale(1.1); }
46-
}
4712
4813
.audience-content {
4914
max-width: 1200px;
@@ -95,10 +60,6 @@ const EnterpriseSectionWrapper = styled.section`
9560
&.primary {
9661
color: #00b39f;
9762
}
98-
99-
&.accent {
100-
color: #00d3a9;
101-
}
10263
}
10364
}
10465
@@ -241,7 +202,7 @@ const EnterpriseSection = () => {
241202
</div>
242203
<div className="progress-item">
243204
<span className="progress-label">⚡ Deployment Velocity</span>
244-
<span className="progress-value accent">3x Faster</span>
205+
<span className="progress-value primary">3x Faster</span>
245206
</div>
246207
<div className="progress-item">
247208
<span className="progress-label">💰 Infrastructure Cost</span>

src/components/Academy/Hero-Section/HeroSection.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ const AcademyHeaderWrapper = styled.div`
121121
max-width: 360px;
122122
height: 420px;
123123
}
124+
125+
.hero-image-container {
126+
height: 200px;
127+
width: 250px;
128+
margin: 0 auto;
129+
}
124130
125131
}
126132
/* Tablet Styles */
@@ -172,7 +178,7 @@ const Header = ({ isDark }) => {
172178

173179
<Col className="hero-image" $lg={6} $md={6}>
174180
<div className="hero-image-container">
175-
<AcademyLogo className="academy-logo" style={{ position: "absolute", height: "180px", width: "180px" }}/>
181+
<AcademyLogo className="academy-logo" style={{ position: "absolute", height: "180px", width: "180px", top: "50%", left: "50%", transform: "translate(-50%, -50%)" }}/>
176182
<img src={Cone} className="cone-image"/>
177183
</div>
178184
</Col>

0 commit comments

Comments
 (0)