Skip to content

Commit a467484

Browse files
committed
style first pass
1 parent 254a1ba commit a467484

File tree

2 files changed

+38
-64
lines changed

2 files changed

+38
-64
lines changed

src/pages/organizers/index.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,38 +17,38 @@ const IndexPage = ({ data }) => (
1717
<SkipNavLink />
1818
<Header />
1919
<SkipNavContent>
20-
<section
21-
id="about-us"
22-
className={[styles.photoSection, styles.oye].join(' ')}
23-
>
24-
<div className={styles.row}>
25-
<Img
26-
alt="A smiling speaker talks on stage at the 2018 conference with a microphone."
27-
fluid={data.organizers.childImageSharp.fluid}
28-
imgStyle={{ objectFit: 'contain', objectPosition: 'center center' }}
29-
className={styles.image}
30-
/>
31-
<div className={styles.content}>
32-
{' '}
33-
<h1 className="title">About Us</h1>
34-
<h2 className="subtitle">
35-
Meet the hard-working board, chapter leaders, and conference organizers behind Write/Speak/Code.
36-
</h2>
37-
<p>
38-
Email us at [email protected] to learn about different ways to get involved in our community.
39-
</p>
40-
{/* <a
41-
target="_blank"
42-
rel="noopener noreferrer"
43-
href="https://www.meetup.com/pro/writespeakcode/"
44-
className="link"
45-
>
46-
Find events on Meetup
47-
</a> */}
20+
<section
21+
id="about-us"
22+
className={[styles.photoSection, styles.aboutUs].join(' ')}
23+
>
24+
<div className={styles.row}>
25+
<Img
26+
alt="A smiling speaker talks on stage at the 2018 conference with a microphone."
27+
fluid={data.organizers.childImageSharp.fluid}
28+
imgStyle={{ objectFit: 'contain', objectPosition: 'center center' }}
29+
className={styles.image}
30+
/>
31+
<div className={styles.content}>
32+
{' '}
33+
<h1 className="title">About Us</h1>
34+
<h2 className="subtitle">
35+
Meet the hard-working board, chapter leaders, and conference organizers behind Write/Speak/Code.
36+
</h2>
37+
<p>
38+
Email us at [email protected] to learn about different ways to get involved in our community.
39+
</p>
40+
{/* <a
41+
target="_blank"
42+
rel="noopener noreferrer"
43+
href="https://www.meetup.com/pro/writespeakcode/"
44+
className="link"
45+
>
46+
Find events on Meetup
47+
</a> */}
48+
</div>
4849
</div>
49-
</div>
50-
</section>
51-
<Organizers/>
50+
</section>
51+
<Organizers/>
5252
</SkipNavContent>
5353
<Footer />
5454
</>

src/pages/organizers/index.module.css

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,38 @@
1-
#about-us {
1+
.aboutUs {
22
background-color: var(--mint);
33
}
44

5-
.section {
6-
padding: 3em 0;
7-
.content {
8-
padding: 0 2em;
9-
}
10-
@media screen and (min-width: 50em) {
11-
.content {
12-
padding: 2em;
13-
}
14-
}
15-
@media screen and (min-width: 80em) {
16-
max-width: var(--container);
17-
margin: 0 auto;
5+
.content {
6+
p {
7+
font-weight: bold;
188
}
199
}
2010

2111
.photoSection {
2212
.row {
2313
display: flex;
2414
flex-direction: column;
25-
padding: 3em 1em;
26-
.content {
27-
padding: 0 2em;
28-
}
2915
.image {
30-
margin: 2em;
16+
margin: 0;
3117
}
3218
}
3319
@media screen and (min-width: 50em) {
3420
.row {
3521
flex-direction: row;
36-
justify-content: space-around;
3722
.content {
38-
align-self: center;
3923
width: 50%;
40-
max-width: 30em;
41-
padding: 2em;
24+
padding: 0 2em;
25+
align-self: center;
4226
}
4327
.image {
4428
width: 50%;
4529
max-height: none;
46-
margin-left: 2em;
4730
}
4831
}
4932
&:nth-of-type(2n) {
5033
.row {
5134
flex-direction: row-reverse;
52-
.image {
53-
margin-right: 2em;
54-
}
5535
}
5636
}
5737
}
58-
@media screen and (min-width: 80em) {
59-
.row {
60-
max-width: var(--container);
61-
margin: 0 auto;
62-
}
63-
}
6438
}

0 commit comments

Comments
 (0)