diff --git a/app/views/home/temp_landing_page.html.haml b/app/views/home/temp_landing_page.html.haml index ef3cc282fc..783541b9b3 100644 --- a/app/views/home/temp_landing_page.html.haml +++ b/app/views/home/temp_landing_page.html.haml @@ -29,20 +29,19 @@ .large-12.columns.centered %h3 WHERE WOULD YOU LIKE TO SHOP? %p.secondary Select your hub from the list below - .row.landing-page-row.with-bottom-border - - @groups.in_groups_of(4, false) do |row| - %div.clearfix - - row.each do |group| - .large-3.columns - .group-header - %h5= group.name.upcase - - group.enterprises.is_distributor.by_name.each do |distributor| - .row.distributor-link-row - .large-12.columns - = succeed ',' do - = link_to "#{distributor.name}".html_safe, shop_enterprise_path(distributor), {class: temp_landing_page_distributor_link_class(distributor)} + - @groups.in_groups_of(4, false) do |row| + .row.landing-page-row{:class => row == @groups.last ? "with-bottom-border" : ""} + - row.each do |group| + .large-3.columns + .group-header + %h5= group.name.upcase + - group.enterprises.is_distributor.by_name.each do |distributor| + .row.distributor-link-row + .large-12.columns + = succeed ',' do + = link_to "#{distributor.name}".html_safe, shop_enterprise_path(distributor), {class: temp_landing_page_distributor_link_class(distributor)} - %span.secondary= distributor.city + %span.secondary= distributor.city %footer .row.landing-page-row .large-6.columns.text-left