Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit a69cc2d

Browse files
kylemhhollomancer
authored andcommitted
Implement complete parter section with logos
1 parent 4448511 commit a69cc2d

2 files changed

Lines changed: 54 additions & 45 deletions

File tree

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,15 @@
1-
.partnersSection {
2-
flex-flow: row wrap;
3-
justify-content: space-around;
4-
}
5-
6-
.partnersLeft, .partnersRight {
7-
width:auto;
8-
max-width: 50%;
9-
min-width:400px;
10-
}
111
.partners {
12-
min-width:400px;
13-
max-width: 50%;
14-
font-size:16px;
15-
display:flex;
16-
justify-content: center;
2+
font-size: 16px;
173
}
184

19-
.partners p {
20-
display: block;
21-
width:80%;
5+
.partnerLogos {
6+
display: flex;
7+
flex-flow: row wrap;
8+
width: 80%;
9+
justify-content: space-around;
10+
padding-top: 15px;
2211
}
2312

24-
.partnersLogos {
25-
min-width:400px;
26-
display:flex;
27-
justify-content: center;
13+
.partnerLogos > div {
14+
margin: 2.5%;
2815
}
29-
30-
.apexLogo {
31-
display: block;
32-
margin-left: auto;
33-
margin-right: auto;
34-
width: 80%;
35-
}

src/scenes/home/landing/partners/partners.js

Lines changed: 45 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,57 @@
11
import React, { Component } from 'react';
22
import Section from 'shared/components/section/section';
3-
import apexPartnerImage from 'images/partners/apex.jpg';
3+
import apexLogo from 'images/partnerLogos/apex_systems_logo.jpg';
4+
import githubLogo from 'images/partnerLogos/github_logo.jpg';
5+
import dockerLogo from 'images/partnerLogos/docker_logo.jpg';
6+
import oreillyLogo from 'images/partnerLogos/oreilly_logo.jpg';
7+
import hackerrankLogo from 'images/partnerLogos/hackerrank_logo.jpg';
48
import styles from './partners.css';
59

610

711
class Partners extends Component {
812
render() {
913
return (
10-
<Section className={styles.partnersSection} theme="white">
11-
<Section title="Partners" className={styles.partnersLeft} theme="white">
12-
<div className={styles.partners}>
13-
<p>
14-
Thanks to our partners, our all-volunteer organization at
15-
Operation Code continues to serve the military community.
16-
We are deeply grateful to the leadership of these
17-
organizations that are supporting our mission.
18-
</p>
14+
<Section
15+
title="Partners"
16+
theme="white"
17+
margin
18+
>
19+
<div className={styles.partners}>
20+
<p>
21+
Thanks to our partners, our all-volunteer organization at
22+
Operation Code continues to serve the military community.
23+
We are deeply grateful to the leadership of these
24+
organizations that are supporting our mission.
25+
</p>
26+
</div>
27+
28+
<div className={styles.partnerLogos}>
29+
<div>
30+
<a href="https://apexsystems.com/">
31+
<img src={apexLogo} alt="Apex Systems" width="200" />
32+
</a>
33+
</div>
34+
<div>
35+
<a href="https://github.com/">
36+
<img src={githubLogo} alt="GitHub" width="200" />
37+
</a>
38+
</div>
39+
<div>
40+
<a href="https://docker.com/">
41+
<img src={dockerLogo} alt="Docker" width="200" />
42+
</a>
43+
</div>
44+
<div>
45+
<a href="https://oreilly.com/">
46+
<img src={oreillyLogo} alt="O&apos;Reilly Media" width="200" />
47+
</a>
48+
</div>
49+
<div>
50+
<a href="https://hackerrank.com/">
51+
<img src={hackerrankLogo} alt="HackerRank" width="200" />
52+
</a>
1953
</div>
20-
</Section>
21-
<Section className={styles.partnersRight} theme="white">
22-
<p><img src={apexPartnerImage} alt="Apex" className={styles.apexLogo} /></p>
23-
<p> GitHub </p>
24-
<p> Docker </p>
25-
</Section>
54+
</div>
2655
</Section>
2756
);
2857
}

0 commit comments

Comments
 (0)