Skip to content

Commit 96c6edf

Browse files
committed
adds organizers block to the main site page, creates sketch of importing organizer data
1 parent da6acbb commit 96c6edf

File tree

6 files changed

+99
-0
lines changed

6 files changed

+99
-0
lines changed

src/components/menu/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ const Menu = () => {
4646
>
4747
Sponsorship
4848
</button>
49+
<button
50+
onClick={() => {
51+
navigate('/#about')
52+
}}
53+
>
54+
About
55+
</button>
4956
</nav>
5057
)
5158

src/components/organizer/index.js

Whitespace-only changes.

src/components/organizer/organizer.module.css

Whitespace-only changes.

src/components/organizers/index.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
import React from 'react'
2+
3+
import Organizer from '../organizer'
4+
5+
import styles from './organizers.module.css'
6+
7+
const Organizers = ({data}) => {
8+
const boardMembers = []
9+
const chapterLeaders = []
10+
const conferenceOrganizers = []
11+
const websiteContributors = []
12+
13+
return (
14+
<section id="about" className={styles.aboutUs}>
15+
<div className={styles.background}>
16+
<div className={styles.row}>
17+
<div className={styles.info}>
18+
<h1 className="title">About Us</h1>
19+
<h2 className="subtitle">
20+
Meet the hard-working organizers behind Write/Speak/Code.
21+
</h2>
22+
<p>
23+
Contact us at [email protected] to learn how you can join our organizing team.
24+
</p>
25+
</div>
26+
</div>
27+
<div className={styles.wrap}>
28+
<section>
29+
<h3 className={styles.heading}>Board Members</h3>
30+
<div className={styles.grid}>
31+
{boardMembers.map(boardMember => (
32+
<Organizer />
33+
))}
34+
</div>
35+
</section>
36+
<section>
37+
<h3 className={styles.heading}>Chapter Leaders</h3>
38+
<div className={styles.grid}>
39+
{chapterLeaders.map(chapterLeader => (
40+
<Organizer />
41+
))}
42+
</div>
43+
</section>
44+
<section>
45+
<h3 className={styles.heading}>Conference Organizers</h3>
46+
<div className={styles.grid}>
47+
{conferenceOrganizers.map(conferenceOrganizer => (
48+
<Organizer />
49+
))}
50+
</div>
51+
</section>
52+
<section>
53+
<h3 className={styles.heading}>Website Contributors</h3>
54+
<div className={styles.grid}>
55+
{websiteContributors.map(websiteContributor => (
56+
<Organizer />
57+
))}
58+
</div>
59+
</section>
60+
</div>
61+
</div>
62+
</section>
63+
)
64+
};
65+
66+
export default Organizers
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.aboutUs {
2+
color: var(--white);
3+
}
4+
5+
.background {
6+
background-color: var(--navy);
7+
}
8+
9+
.row {
10+
padding: 1em 0;
11+
}
12+
13+
.info {
14+
padding: 2em;
15+
}
16+
17+
.wrap {
18+
margin: 0 3em;
19+
}
20+
21+
.heading {
22+
border-bottom: 1px solid var(--tan);
23+
}

src/pages/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import Img from 'gatsby-image'
55
import HomeLayout from '../layouts/home'
66
import SEO from '../components/seo'
77
import Sponsors from '../components/sponsors'
8+
import Organizers from '../components/organizers'
9+
810
import styles from './index.module.css'
911

1012
const IndexPage = ({ data }) => (
@@ -201,6 +203,7 @@ const IndexPage = ({ data }) => (
201203
</section>
202204

203205
<Sponsors />
206+
<Organizers />
204207
</HomeLayout>
205208
)
206209

0 commit comments

Comments
 (0)