diff --git a/app/views/pages/welcome.html.erb b/app/views/pages/welcome.html.erb index 02698b8..e3afd0f 100644 --- a/app/views/pages/welcome.html.erb +++ b/app/views/pages/welcome.html.erb @@ -80,13 +80,21 @@

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 %>