Sponsors - + <% sponsors.each do |sponsor| %> - + <% if sponsor['key'] == 'up' %> + + <%= link_to "/sponsors/#{sponsor['key']}" do %> + <%= image_tag "sponsors/#{sponsor['images'].first}", alt: sponsor['name'], style: "width: 190px" %> + <% end %> + + <% else %> + <%= link_to "/sponsors/#{sponsor['key']}" do %> <%= image_tag "sponsors/#{sponsor['images'].first}", alt: sponsor['name'], style: "width: 150px" %> <% end %> - + + <% end %> <% end %>