1 <% unless (banner = next_banner()).nil? %>
2 <%= tag.div :id => "banner", :class => "position-relative", :data => { :bs_theme => token_list(:dark => banner[:dark]) } do %>
3 <%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
5 class="btn-close position-absolute top-0 end-0 m-4 opacity-100 bg-white bg-opacity-50"
6 id="<%= banner_cookie(banner[:id]) %>"
7 aria-label="<%= t("javascripts.close") %>"></button>