File tree 3 files changed +5
-7
lines changed 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export default class CommunityPartners extends React.Component {
43
43
< Title > What's next for you? Some local ideas:</ Title >
44
44
{ communityPartners . map ( ( partner ) => partner && partner . logo && (
45
45
< PartnerBox >
46
- < PartnerLogo style = { { backgroundImage : `url(${ partner . logo . large . url } )` } } />
46
+ < PartnerLogo style = { { backgroundImage : `url(${ partner . logo } )` } } />
47
47
< PartnerInfo >
48
48
< p > { partner . display_url } </ p >
49
49
< p > { partner . blurb } </ p >
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default withRouter(class Index extends React.Component {
49
49
50
50
render ( ) {
51
51
const { event, communityPartners, hackathons } = this . props ;
52
- const groupedPartners = this . groupsOf ( communityPartners , 2 ) ;
52
+ const groupedPartners = this . groupsOf ( communityPartners . filter ( ( partner ) => partner . logo ) , 2 ) ;
53
53
const groupedHackathons = this . groupsOf ( hackathons , 10 ) ;
54
54
55
55
return (
Original file line number Diff line number Diff line change @@ -55,12 +55,10 @@ export default class EventInfoApi {
55
55
}
56
56
}` ) ;
57
57
58
- return res . cms . globalSponsors . items . map ( ( communityPartner ) => ( {
59
- display_url : communityPartner . display_url ,
58
+ return res . cms . communityPartners . items . map ( ( communityPartner ) => ( {
59
+ display_url : communityPartner . displayUrl ,
60
60
blurb : communityPartner . blurb ,
61
- logo : {
62
- large : communityPartner . logo ?. url
63
- }
61
+ logo : communityPartner . logo ?. url
64
62
} ) )
65
63
}
66
64
You can’t perform that action at this time.
0 commit comments