Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Added Zopa and ThoughtWorks sponsors
Browse files Browse the repository at this point in the history
  • Loading branch information
apandichi committed Nov 3, 2015
1 parent 1ba5d43 commit d59318e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
Binary file added public/images/sponsors/zopa_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 5 additions & 10 deletions server.rb
Expand Up @@ -57,20 +57,15 @@ def logo_path
attr_reader :name, :url
end

def galaxy_sponsors
[
Sponsor.new('ThoughtWorks', 'http://www.thoughtworks.com'),
]
end

def globe_sponsors
def continent_sponsors
[
Sponsor.new('Github', 'https://github.com'),
Sponsor.new('8th Light', 'https://8thlight.com/'),
Sponsor.new('Zopa', 'http://www.zopa.com/'),
]
end

def continent_sponsors
def timezone_sponsors
[
Sponsor.new('8th Light', 'https://8thlight.com/'),
Sponsor.new('ThoughtWorks', 'http://www.thoughtworks.com'),
]
end
9 changes: 9 additions & 0 deletions views/index.erb
Expand Up @@ -122,6 +122,15 @@
</div>
</div>

<div class="sponsor-level timezone">
<h3>Time-Zone Sponsors</h3>
<div class="sponsors-container">
<% timezone_sponsors.each do |sponsor| %>
<%= erb :sponsor_partial, locals: {sponsor: sponsor} %>
<% end %>
</div>
</div>

<div class="new-sponsor">
<h3>You could be a sponsor</h3>

Expand Down
1 change: 1 addition & 0 deletions views/stylesheets/landing/sponsors.scss
Expand Up @@ -8,6 +8,7 @@
&.galaxy .sponsor { @include span-columns(6); }
&.globe .sponsor { @include span-columns(3); }
&.continent .sponsor { @include span-columns(3);}
&.timezone .sponsor { @include span-columns(3);}
.sponsor {
float: left;
img {
Expand Down

0 comments on commit d59318e

Please sign in to comment.