X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e6a8b400989802b0cc47ffac30103e4b10740fb4..24ccba60cb3666272d18ebb7585a6beacf77a7bf:/app/views/layouts/_banner.html.erb diff --git a/app/views/layouts/_banner.html.erb b/app/views/layouts/_banner.html.erb index 4f24f538d..3d2c7f774 100644 --- a/app/views/layouts/_banner.html.erb +++ b/app/views/layouts/_banner.html.erb @@ -1,4 +1,9 @@ <% unless (banner = next_banner()).nil? %> -<%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %> - + <%= tag.div :id => "banner", :class => "position-relative", :data => { :bs_theme => (banner[:dark] ? "dark" : "light") } do %> + <%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %> + + <% end %> <% end %>