Skip to content

Commit 4f57b53

Browse files
authored
Add logos to sponsor talks (#127)
1 parent ce2a295 commit 4f57b53

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

content/2019/schedule.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@
226226
},
227227
{
228228
"time": "5:00 PM",
229-
"title": "Sponsor Talk"
229+
"title": "Sponsor Talk",
230+
"eventSponsors": ["Google"]
230231
},
231232
{
232233
"time": "5:10 PM",
@@ -269,7 +270,8 @@
269270
},
270271
{
271272
"time": "9:40 AM",
272-
"title": "Sponsor Talk"
273+
"title": "Sponsor Talk",
274+
"eventSponsors": ["Splunk"]
273275
},
274276
{
275277
"time": "9:50 AM",
@@ -598,7 +600,9 @@
598600
"events": [
599601
{
600602
"time": "2:00 PM",
601-
"title": "Github Sponsored Workshop"
603+
"title": "Sponsored Workshop",
604+
"type": "workshop",
605+
"eventSponsors": ["Github"]
602606
}
603607
]
604608
},
@@ -668,7 +672,8 @@
668672
},
669673
{
670674
"time": "4:50 PM",
671-
"title": "Sponsor Talk"
675+
"title": "Sponsor Talk",
676+
"eventSponsors": ["Github"]
672677
},
673678
{
674679
"time": "5:00 PM",

src/components/event/event.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
.sponsorLogo {
44-
max-width: 150px;
44+
max-width: 125px;
4545
}
4646

4747
.food {

src/pages/2019/schedule.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import styles from './schedule.module.css'
1111
import schedule from '../../../content/2019/schedule.json'
1212

1313
// TODO: Add unique key for tab
14-
const Tracks = ({ tracks, speakers, day }) => {
14+
const Tracks = ({ tracks, speakers, day, sponsors }) => {
1515
return (
1616
<Tabs className={styles.subTabs}>
1717
<TabList className={styles.subTabList}>
@@ -29,6 +29,7 @@ const Tracks = ({ tracks, speakers, day }) => {
2929
<Event
3030
{...event}
3131
speakers={speakers}
32+
sponsors={sponsors}
3233
key={`event-${parameterize(day.date)}-${parameterize(
3334
event.time
3435
)}`}
@@ -72,6 +73,7 @@ const Schedule = ({ data }) => {
7273
<Tracks
7374
tracks={event.tracks}
7475
speakers={speakers}
76+
sponsors={sponsors}
7577
day={day}
7678
key={`track-${parameterize(day.date)}-${index}`}
7779
/>

0 commit comments

Comments
 (0)