Skip to content

Commit eb062fa

Browse files
committed
refine hearder section syncs with products/catalog
Signed-off-by: Wyllie Fang <wylliefang@gmail.com>
1 parent e193d17 commit eb062fa

1 file changed

Lines changed: 10 additions & 27 deletions

File tree

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

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,23 @@ import Cone from "../../../assets/images/gitops/conelight.svg";
66
import { ReactComponent as AcademyLogo } from "../../../assets/images/academy/academy.svg";
77
const AcademyHeaderWrapper = styled.div`
88
.academy-platform.header {
9-
background: linear-gradient(135deg, #0a1a1a 0%, #1a2d2d 25%, #2d4a47 50%, #1a2d2d 75%, #0a1a1a 100%);
10-
padding: 2rem 0;
11-
position: relative;
12-
overflow: hidden;
13-
14-
&::before {
15-
content: '';
16-
position: absolute;
17-
top: 0;
18-
left: 0;
19-
right: 0;
20-
bottom: 0;
21-
background: radial-gradient(circle at 20% 80%, rgba(0, 179, 159, 0.15) 0%, transparent 60%),
22-
radial-gradient(circle at 80% 20%, rgba(0, 179, 159, 0.1) 0%, transparent 60%);
23-
pointer-events: none;
24-
}
25-
26-
.container {
27-
position: relative;
28-
z-index: 2;
29-
}
9+
min-height: 40rem;
10+
background: ${({ theme }) => theme.linearToGreen};
11+
display: flex;
12+
align-items: center;
13+
align-content: space-between;
14+
flex-direction: column;
15+
justify-content: center;
3016
3117
.header__content {
3218
display: flex;
3319
flex-direction: column;
3420
justify-content: center;
3521
}
3622
.header__title {
37-
color: #ffffff;
38-
font-size: 4rem;
39-
font-weight: 600;
40-
line-height: 1.15;
41-
margin-bottom: 1.5rem;
42-
letter-spacing: -0.02em;
23+
color: ${(props) => props.theme.primaryColor};
24+
padding-right: 80px;
25+
margin-bottom: 20px;
4326
4427
.highlight {
4528
background: linear-gradient(135deg, #00b39f, #00d3a9);

0 commit comments

Comments
 (0)