Skip to content

Commit e88d959

Browse files
committed
Center sponsor logos to make them look less awkward
Because we don't have consistent sizing for the sponsor logos, the spacing can look a bit awkward. Grouped the logos and centered them to address this.
1 parent 6499db2 commit e88d959

File tree

2 files changed

+66
-56
lines changed

2 files changed

+66
-56
lines changed

app/assets/stylesheets/modules/_sponsors.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
padding: 20px;
66
}
77

8+
.logos div {
9+
text-align: center;
10+
}
11+
812
.huge-logos img {
913
height: 140px;
1014
}

app/views/static_pages/sponsors.html.haml

Lines changed: 62 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -8,75 +8,81 @@
88
%h2 Program Sponsors
99
%hr/
1010
%p Our program sponsors allow us to expand geographically and support organizers to create events in advance of local sponsor commitments. With their encouragement and support, there have been workshops in 42 different cities around the world.
11-
= link_to image_tag("sponsor-logos/heroku.png", class: 'img-responsive'), "https://www.heroku.com/"
12-
= link_to image_tag("sponsor-logos/google.png", class: 'img-responsive'), "http://www.google.com/"
11+
%div
12+
= link_to image_tag("sponsor-logos/heroku.png", class: 'img-responsive'), "https://www.heroku.com/"
13+
= link_to image_tag("sponsor-logos/google.png", class: 'img-responsive'), "http://www.google.com/"
1314

1415
.logos.big-logos
1516
%h2 Ongoing Workshop Sponsors
1617
%hr/
1718
%p These companies provide ongoing support by sponsoring workshops on a regular basis.
18-
= link_to image_tag("sponsor-logos/pivotal.jpg"), "http://pivotallabs.com/"
19-
= link_to image_tag("sponsor-logos/thoughtbot.png"), "https://thoughtbot.com/"
20-
%br
21-
= link_to image_tag("sponsor-logos/carbonfive.png"), "http://carbonfive.com/"
22-
= link_to image_tag("sponsor-logos/engineyard.png"), "https://www.engineyard.com/"
23-
= link_to image_tag("sponsor-logos/autodesk.png"), "https://www.autodesk.com/"
19+
%div
20+
= link_to image_tag("sponsor-logos/pivotal.jpg"), "http://pivotallabs.com/"
21+
= link_to image_tag("sponsor-logos/thoughtbot.png"), "https://thoughtbot.com/"
22+
%br
23+
= link_to image_tag("sponsor-logos/carbonfive.png"), "http://carbonfive.com/"
24+
= link_to image_tag("sponsor-logos/engineyard.png"), "https://www.engineyard.com/"
25+
= link_to image_tag("sponsor-logos/autodesk.png"), "https://www.autodesk.com/"
2426
.logos.medium-logos
2527
%h2 Partner Organizations
2628
%hr/
27-
= link_to image_tag("partner-org-logos/devchix.jpeg"), "http://www.devchix.com/"
28-
= link_to image_tag("partner-org-logos/latino-startup-alliance.png"), "http://latinostartupalliance.org/"
29-
= link_to image_tag("partner-org-logos/blackfounders.png"), "http://www.blackfounders.com/"
30-
= link_to image_tag("partner-org-logos/women2.jpeg"), "http://www.women2.com/"
29+
%div
30+
= link_to image_tag("partner-org-logos/blackfounders.png"), "http://www.blackfounders.com/"
31+
%br
32+
= link_to image_tag("partner-org-logos/devchix.jpeg"), "http://www.devchix.com/"
33+
= link_to image_tag("partner-org-logos/latino-startup-alliance.png"), "http://latinostartupalliance.org/"
34+
= link_to image_tag("partner-org-logos/women2.jpeg"), "http://www.women2.com/"
3135

3236
.logos.medium-logos
3337
%h2 Supporting Conferences
3438
%hr/
35-
= link_to image_tag("conference-logos/ruby-on-ales.jpg"), "http://ruby.onales.com"
36-
= link_to image_tag("conference-logos/rubyfuza.png"), "http://rubyfuza.org"
37-
= link_to image_tag("conference-logos/madison-ruby.jpg"), "http://madisonruby.org"
38-
= link_to image_tag("conference-logos/rocky-mountain-ruby.png"), "http://rockymtnruby.com"
39-
= link_to image_tag("conference-logos/la-ruby.jpg"), "http://www.larubyconf.com"
40-
= link_to image_tag("conference-logos/code4lib.png"), "http://code4lib.org/conference"
41-
= link_to image_tag("conference-logos/aloha.jpg"), "http://www.alohaonrails.com"
39+
%div
40+
= link_to image_tag("conference-logos/ruby-on-ales.jpg"), "http://ruby.onales.com"
41+
= link_to image_tag("conference-logos/rubyfuza.png"), "http://rubyfuza.org"
42+
= link_to image_tag("conference-logos/madison-ruby.jpg"), "http://madisonruby.org"
43+
= link_to image_tag("conference-logos/rocky-mountain-ruby.png"), "http://rockymtnruby.com"
44+
= link_to image_tag("conference-logos/la-ruby.jpg"), "http://www.larubyconf.com"
45+
= link_to image_tag("conference-logos/code4lib.png"), "http://code4lib.org/conference"
46+
= link_to image_tag("conference-logos/aloha.jpg"), "http://www.alohaonrails.com"
4247

4348
.logos.smaller-logos
4449
%h2 Workshop Sponsors
4550
%hr/
46-
= link_to image_tag("workshop-sponsor-logos/thoughtworks.jpg"), "http://www.thoughtworks.com/"
47-
= link_to image_tag("workshop-sponsor-logos/github.png"), "https://github.com/"
48-
= link_to image_tag("workshop-sponsor-logos/incomm.png"), "http://www.incomm.com/"
49-
= link_to image_tag("workshop-sponsor-logos/modcloth.jpeg"), "http://www.modcloth.com/"
50-
= link_to image_tag("workshop-sponsor-logos/tapjoy.jpeg"), "https://www.tapjoy.com/"
51-
= link_to image_tag("workshop-sponsor-logos/airbnb.png"), "https://www.airbnb.com/"
52-
= link_to image_tag("workshop-sponsor-logos/bing.png"), "http://www.bing.com/"
53-
= link_to image_tag("workshop-sponsor-logos/nexTag.jpg"), "http://www.nextag.com/"
54-
= link_to image_tag("workshop-sponsor-logos/orange-labs.jpg"), "http://www.primezone.orange-labs.com/information.html?hl=en&info=orangelabs"
55-
= link_to image_tag("workshop-sponsor-logos/outright.jpeg"), "http://outright.com/"
56-
= link_to image_tag("workshop-sponsor-logos/quickleft.jpg"), "http://quickleft.com/"
57-
= link_to image_tag("workshop-sponsor-logos/rackspace.jpeg"), "http://www.rackspace.com/"
58-
= link_to image_tag("workshop-sponsor-logos/CfA.png"), "http://codeforamerica.org/"
59-
= link_to image_tag("workshop-sponsor-logos/coderow.jpg"), "http://www.coderow.com/"
60-
= link_to image_tag("workshop-sponsor-logos/galvanize.jpg"), "http://galvanize.it/"
61-
= link_to image_tag("workshop-sponsor-logos/gnip.jpeg"), "http://gnip.com/"
62-
= link_to image_tag("workshop-sponsor-logos/envylabs.jpeg"), "http://envylabs.com/"
63-
= link_to image_tag("workshop-sponsor-logos/google-ventures.png"), "http://www.googleventures.com/"
64-
= link_to image_tag("workshop-sponsor-logos/groupon.jpeg"), "http://www.groupon.com/"
65-
= link_to image_tag("workshop-sponsor-logos/harvest.png"), "http://www.getharvest.com/"
66-
= link_to image_tag("workshop-sponsor-logos/ign-entertainment.png"), "http://corp.ign.com/"
67-
= link_to image_tag("workshop-sponsor-logos/hashrocket.jpg"), "http://hashrocket.com/"
68-
= link_to image_tag("workshop-sponsor-logos/kaporfoundation.jpg"), "http://www.kaporcenter.org/"
69-
= link_to image_tag("workshop-sponsor-logos/mediacore.jpg"), "http://mediacore.com/"
70-
= link_to image_tag("workshop-sponsor-logos/microsoft.jpg"), "http://www.microsoft.com/"
71-
= link_to image_tag("workshop-sponsor-logos/verticalresponse.jpeg"), "http://www.verticalresponse.com/"
72-
= link_to image_tag("workshop-sponsor-logos/scribd.jpeg"), "http://www.scribd.com/"
73-
= link_to image_tag("workshop-sponsor-logos/neo.png"), "https://www.linkedin.com/company/neo-innovation-inc-"
74-
= link_to image_tag("workshop-sponsor-logos/square.jpg"), "https://squareup.com/"
75-
= link_to image_tag("workshop-sponsor-logos/twilio.png"), "http://www.twilio.com/"
76-
= link_to image_tag("workshop-sponsor-logos/twitter.png"), "https://twitter.com/"
77-
= link_to image_tag("workshop-sponsor-logos/braintree.png"), "https://www.getbraintree.com/"
78-
= link_to image_tag("workshop-sponsor-logos/wested.jpg"), "http://www.wested.org/"
79-
= image_tag("workshop-sponsor-logos/workhappy.png")
80-
= link_to image_tag("workshop-sponsor-logos/awesomeinc.jpeg"), "http://awesomeinc.org/"
81-
= link_to image_tag("workshop-sponsor-logos/stride.png"), "http://www.stridenyc.com/"
82-
= link_to image_tag("workshop-sponsor-logos/etsy.png"), "https://www.etsy.com/"
51+
%div
52+
= link_to image_tag("workshop-sponsor-logos/thoughtworks.jpg"), "http://www.thoughtworks.com/"
53+
= link_to image_tag("workshop-sponsor-logos/github.png"), "https://github.com/"
54+
= link_to image_tag("workshop-sponsor-logos/incomm.png"), "http://www.incomm.com/"
55+
= link_to image_tag("workshop-sponsor-logos/modcloth.jpeg"), "http://www.modcloth.com/"
56+
= link_to image_tag("workshop-sponsor-logos/tapjoy.jpeg"), "https://www.tapjoy.com/"
57+
= link_to image_tag("workshop-sponsor-logos/airbnb.png"), "https://www.airbnb.com/"
58+
= link_to image_tag("workshop-sponsor-logos/bing.png"), "http://www.bing.com/"
59+
= link_to image_tag("workshop-sponsor-logos/nexTag.jpg"), "http://www.nextag.com/"
60+
= link_to image_tag("workshop-sponsor-logos/orange-labs.jpg"), "http://www.primezone.orange-labs.com/information.html?hl=en&info=orangelabs"
61+
= link_to image_tag("workshop-sponsor-logos/outright.jpeg"), "http://outright.com/"
62+
= link_to image_tag("workshop-sponsor-logos/quickleft.jpg"), "http://quickleft.com/"
63+
= link_to image_tag("workshop-sponsor-logos/rackspace.jpeg"), "http://www.rackspace.com/"
64+
= link_to image_tag("workshop-sponsor-logos/CfA.png"), "http://codeforamerica.org/"
65+
= link_to image_tag("workshop-sponsor-logos/coderow.jpg"), "http://www.coderow.com/"
66+
= link_to image_tag("workshop-sponsor-logos/galvanize.jpg"), "http://galvanize.it/"
67+
= link_to image_tag("workshop-sponsor-logos/gnip.jpeg"), "http://gnip.com/"
68+
= link_to image_tag("workshop-sponsor-logos/envylabs.jpeg"), "http://envylabs.com/"
69+
= link_to image_tag("workshop-sponsor-logos/google-ventures.png"), "http://www.googleventures.com/"
70+
= link_to image_tag("workshop-sponsor-logos/groupon.jpeg"), "http://www.groupon.com/"
71+
= link_to image_tag("workshop-sponsor-logos/harvest.png"), "http://www.getharvest.com/"
72+
= link_to image_tag("workshop-sponsor-logos/ign-entertainment.png"), "http://corp.ign.com/"
73+
= link_to image_tag("workshop-sponsor-logos/hashrocket.jpg"), "http://hashrocket.com/"
74+
= link_to image_tag("workshop-sponsor-logos/kaporfoundation.jpg"), "http://www.kaporcenter.org/"
75+
= link_to image_tag("workshop-sponsor-logos/mediacore.jpg"), "http://mediacore.com/"
76+
= link_to image_tag("workshop-sponsor-logos/microsoft.jpg"), "http://www.microsoft.com/"
77+
= link_to image_tag("workshop-sponsor-logos/verticalresponse.jpeg"), "http://www.verticalresponse.com/"
78+
= link_to image_tag("workshop-sponsor-logos/scribd.jpeg"), "http://www.scribd.com/"
79+
= link_to image_tag("workshop-sponsor-logos/neo.png"), "https://www.linkedin.com/company/neo-innovation-inc-"
80+
= link_to image_tag("workshop-sponsor-logos/square.jpg"), "https://squareup.com/"
81+
= link_to image_tag("workshop-sponsor-logos/twilio.png"), "http://www.twilio.com/"
82+
= link_to image_tag("workshop-sponsor-logos/twitter.png"), "https://twitter.com/"
83+
= link_to image_tag("workshop-sponsor-logos/braintree.png"), "https://www.getbraintree.com/"
84+
= link_to image_tag("workshop-sponsor-logos/wested.jpg"), "http://www.wested.org/"
85+
= image_tag("workshop-sponsor-logos/workhappy.png")
86+
= link_to image_tag("workshop-sponsor-logos/awesomeinc.jpeg"), "http://awesomeinc.org/"
87+
= link_to image_tag("workshop-sponsor-logos/stride.png"), "http://www.stridenyc.com/"
88+
= link_to image_tag("workshop-sponsor-logos/etsy.png"), "https://www.etsy.com/"

0 commit comments

Comments
 (0)