Skip to content

Commit 3eef3a1

Browse files
committed
wip organizers graphql query
1 parent 30e65ca commit 3eef3a1

File tree

4 files changed

+100
-38
lines changed

4 files changed

+100
-38
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "",
3+
"headshot": "",
4+
"pronouns": "",
5+
"city": "",
6+
"bio": "",
7+
"role": [],
8+
"links": [
9+
{
10+
"type": "twitter",
11+
"url": ""
12+
},
13+
{
14+
"type": "linkedin",
15+
"url": ""
16+
},
17+
{
18+
"type": "github",
19+
"url": ""
20+
},
21+
{
22+
"type": "website",
23+
"url": ""
24+
}
25+
]
26+
}
27+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "Alex Millatmal",
3+
"headshot": "/images/alex-millatmal.jpg",
4+
"pronouns": "she/her",
5+
"city": "New York City",
6+
"bio": "",
7+
"role": ["Website Contributor", "Conference Organizer"],
8+
"links": [
9+
{
10+
"type": "twitter",
11+
"url": "halfghaninne"
12+
},
13+
{
14+
"type": "linkedin",
15+
"url": "alexandrajmh"
16+
},
17+
{
18+
"type": "github",
19+
"url": "halfghaninne"
20+
},
21+
{
22+
"type": "website",
23+
"url": "https://alexandramillatmal.com"
24+
}
25+
]
26+
}
27+

src/components/organizers/index.js

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,47 @@ import Organizer from '../organizer'
44
import styles from './organizers.module.css'
55

66
const Organizers = ({data}) => {
7-
// console.log('organizer data is', data.allOrganizersJson.nodes);
8-
const singleOrganizer = {
9-
"name": "Alex Millatmal",
10-
"pronouns": "she/her",
11-
"role": "Web Application Developer",
12-
"city": "New York City",
13-
"company": "Newsela",
14-
"headshot": "/images/alex-millatmal.jpg",
15-
"links": [
16-
{
17-
"type": "twitter",
18-
"url": "halfghaninNE"
19-
},
20-
{
21-
"type": "linkedin",
22-
"url": "alexandrajmh"
23-
},
24-
{
25-
"type": "github",
26-
"url": "halfghaninNE"
27-
},
28-
// {
29-
// "type": "website",
30-
// "url": "https://alexandramillatmal.com/"
31-
// }
32-
],
33-
"layout": "speaker",
34-
"bio": "Alex is a programmer with a passion for work that has real-world impact. At Newsela, she writes software that helps students read and teachers teach. When she's not thinking about refactoring her Ruby or good object-oriented front-end patterns, Alex spends a lot of time thinking about secular space/discourse, ethics in communicating “othered” experiences, how many cats are too many cats, and if she’ll ever write a novel.",
35-
"years": ["2019"],
36-
"talks": [
37-
{
38-
"year": "2019",
39-
"type": "curriculum",
40-
"title": "Speak Day Curriculum"
41-
}
42-
]
43-
}
7+
console.log('data is ', data);
8+
// const singleOrganizer = {
9+
// "name": "Alex Millatmal",
10+
// "pronouns": "she/her",
11+
// "role": "Web Application Developer",
12+
// "city": "New York City",
13+
// "company": "Newsela",
14+
// "headshot": "/images/alex-millatmal.jpg",
15+
// "links": [
16+
// {
17+
// "type": "twitter",
18+
// "url": "halfghaninNE"
19+
// },
20+
// {
21+
// "type": "linkedin",
22+
// "url": "alexandrajmh"
23+
// },
24+
// {
25+
// "type": "github",
26+
// "url": "halfghaninNE"
27+
// },
28+
// // {
29+
// // "type": "website",
30+
// // "url": "https://alexandramillatmal.com/"
31+
// // }
32+
// ],
33+
// "layout": "speaker",
34+
// "bio": "Alex is a programmer with a passion for work that has real-world impact. At Newsela, she writes software that helps students read and teachers teach. When she's not thinking about refactoring her Ruby or good object-oriented front-end patterns, Alex spends a lot of time thinking about secular space/discourse, ethics in communicating “othered” experiences, how many cats are too many cats, and if she’ll ever write a novel.",
35+
// "years": ["2019"],
36+
// "talks": [
37+
// {
38+
// "year": "2019",
39+
// "type": "curriculum",
40+
// "title": "Speak Day Curriculum"
41+
// }
42+
// ]
43+
// }
4444
const boardMembers = []
4545
const chapterLeaders = []
4646
const conferenceOrganizers = []
47-
const websiteContributors = [singleOrganizer, singleOrganizer, singleOrganizer, singleOrganizer, singleOrganizer]
47+
const websiteContributors = []
4848

4949
return (
5050
<section id="about" className={styles.aboutUs}>

static/admin/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,14 @@ collections:
209209
name: 'pronouns'
210210
widget: 'string'
211211
required: false
212+
- label: 'City'
213+
name: 'city'
214+
widget: 'string'
215+
required: false
216+
- label: 'Bio'
217+
name: 'bio'
218+
widget: 'text'
219+
required: false
212220
- label: 'Role'
213221
name: 'role'
214222
widget: 'select'

0 commit comments

Comments
 (0)