Skip to content

Commit 84804c6

Browse files
committed
change hero seciton image
Signed-off-by: Wyllie Fang <wylliefang@gmail.com>
1 parent 641a17c commit 84804c6

5 files changed

Lines changed: 29 additions & 26 deletions

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from "react";
22
import styled from "styled-components";
33

44
const EnterpriseSectionWrapper = styled.section`
5-
font-family: "Qanelas Soft", sans-serif;
65
76
&.audience-section.enterprise-section {
87
padding: 4rem 0;

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

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ import React from "react";
22
import styled from "styled-components";
33
import { Row, Col, Container } from "../../../reusecore/Layout";
44
import Button from "../../../reusecore/Button";
5-
import Five from "../image/hero-section.png";
6-
7-
8-
const AcademyHeaderWrapper = styled.div`
9-
font-family: "Qanelas Soft", sans-serif;
10-
5+
import Cone from "../../../assets/images/gitops/conelight.svg";
6+
import { ReactComponent as AcademyLogo } from "../../../assets/images/academy/academy.svg";
7+
const AcademyHeaderWrapper = styled.div`
118
.academy-platform.header {
129
background: linear-gradient(135deg, #0a1a1a 0%, #1a2d2d 25%, #2d4a47 50%, #1a2d2d 75%, #0a1a1a 100%);
1310
padding: 2rem 0;
@@ -94,7 +91,14 @@ const AcademyHeaderWrapper = styled.div`
9491
}
9592
}
9693
}
97-
94+
.hero-image-container {
95+
height: 250px;
96+
width: 300px;
97+
position: relative;
98+
display:flex;
99+
align-items: center;
100+
justify-content: center;
101+
}
98102
99103
/* Mobile Styles */
100104
@media screen and (max-width: 768px) {
@@ -178,11 +182,13 @@ const Header = ({ isDark }) => {
178182
</div>
179183
</Col>
180184

181-
<Col className="col academy-visual" $lg={5} $md={6}>
182-
<div className="cards-container">
183-
<img src={Five} alt="Academy Hero Section" />
185+
<Col className="hero-image" $lg={6} $md={6}>
186+
<div className="hero-image-container">
187+
<AcademyLogo className="academy-logo" style={{ position: "absolute", height: "180px", width: "180px" }}/>
188+
<img src={Cone} className="cone-image"/>
184189
</div>
185190
</Col>
191+
186192
</Row>
187193
</Container>
188194
</div>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import React from "react";
22
import styled from "styled-components";
33

4-
const LearnerSectionWrapper = styled.section`
5-
font-family: "Qanelas Soft", sans-serif;
6-
4+
const LearnerSectionWrapper = styled.section`
75
&.audience-section.learners-section {
86
padding: 4rem 0;
97
background: ${props => props.theme.body};
-145 KB
Binary file not shown.

src/sections/gitops/gitops.style.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,18 @@ export const GitOpsWrapper = styled.section`
100100
gap: 1.25rem;
101101
102102
.hero-image-container {
103-
height: 250px;
104-
width: 300px;
105-
position: relative;
106-
display:flex;
107-
align-items: center;
108-
justify-content: center;
109-
110-
.kanvas-stack-hero {
111-
position: absolute;
112-
height: 80px;
113-
animation: "floating 3s ease-in-out infinite";
114-
}
103+
height: 250px;
104+
width: 300px;
105+
position: relative;
106+
display:flex;
107+
align-items: center;
108+
justify-content: center;
109+
110+
.kanvas-stack-hero {
111+
position: absolute;
112+
height: 80px;
113+
animation: "floating 3s ease-in-out infinite";
114+
}
115115
116116
@media only screen and (min-width: 768px) {
117117
height: 542px;

0 commit comments

Comments
 (0)