Skip to content

Commit c181ed9

Browse files
committed
feat(location): Attach location data to workshops
1 parent 5e6ddf6 commit c181ed9

16 files changed

+65
-3
lines changed

src/content.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const bronzeSponsors = sponsors.filter(
2222
module.exports = {
2323
breakfasts: require("./breakfasts"),
2424
coffeeBreaks: require("./coffee-breaks"),
25+
locations: resolveSocialLinks(require('./locations')),
2526
keynotes,
2627
lightningTalks,
2728
lunches: require("./lunches"),

src/locations/elisa-appelsiini.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const sponsor = require('../sponsors/elisa');
2+
3+
module.exports = {
4+
name: "Elisa Appelsiini",
5+
about:
6+
"In addition to being a silver sponsor of the event, Elisa is supporting the event by providing space for our workshops",
7+
image: "sponsors/elisa.svg",
8+
social: sponsor.social,
9+
location: {
10+
country: {
11+
name: "Finland",
12+
code: "FI",
13+
},
14+
city: "Helsinki",
15+
address: "Kaarlenkatu 11",
16+
},
17+
keywords: sponsor.keywords
18+
};

src/locations/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = [
2+
require('./elisa-appelsiini'),
3+
require('./valkoinen-sali')
4+
];

src/locations/valkoinen-sali.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
name: "Valkoinen Sali",
3+
about:
4+
"Valkoinen Sali is the main venue of the event.",
5+
social: {
6+
homepage: "http://www.valkoinensali.com/",
7+
},
8+
location: {
9+
country: {
10+
name: "Finland",
11+
code: "FI",
12+
},
13+
city: "Helsinki",
14+
address: "Aleksanterinkatu 16",
15+
},
16+
};

src/type-defs.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = `
44
coffeeBreaks: [Session],
55
keynotes: [Session],
66
lightningTalks: [Session],
7+
locations: [Contact],
78
lunches: [Session],
89
organizers: [Contact],
910
panels: [Session],
@@ -29,7 +30,8 @@ module.exports = `
2930
type: String,
3031
speakers: [Contact],
3132
tickets: [Ticket],
32-
keywords: [String]
33+
keywords: [String],
34+
location: Location
3335
}
3436
3537
type Page {
@@ -44,7 +46,7 @@ module.exports = `
4446
type Contact {
4547
name: String!,
4648
about: String!,
47-
image: String!,
49+
image: String,
4850
type: String,
4951
social: Social,
5052
location: Location,
@@ -70,7 +72,8 @@ module.exports = `
7072
7173
type Location {
7274
country: Country,
73-
city: String
75+
city: String,
76+
address: String
7477
}
7578
7679
type Country {

src/workshops/andrey-and-artem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ module.exports = {
4242
require("../speakers/artem-sapegin").keywords
4343
),
4444
],
45+
location: require("../locations/valkoinen-sali"),
4546
};

src/workshops/david-khourshid.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ module.exports = {
2323
},
2424
],
2525
keywords: require("../speakers/david-khourshid").keywords,
26+
location: require("../locations/elisa-appelsiini"),
2627
};

src/workshops/gant-laborde.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ module.exports = {
2323
},
2424
],
2525
keywords: require("../speakers/gant-laborde").keywords,
26+
location: require("../locations/valkoinen-sali"),
2627
};

src/workshops/juho-vepsalainen.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ The topics covered include:
3333
},
3434
],
3535
keywords: require("../speakers/juho-vepsalainen").keywords,
36+
location: require("../locations/elisa-appelsiini"),
3637
};

src/workshops/michel-weststrate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ module.exports = {
2323
},
2424
],
2525
keywords: require("../speakers/michel-weststrate").keywords,
26+
location: require("../locations/valkoinen-sali"),
2627
};

0 commit comments

Comments
 (0)