X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9174049d6b4e50c32ba1a11b1c628bcfe32c06bf..1a7b7f5d18931f60f4171b7ac410ea4434828dd1:/app/views/layouts/_banner.html.erb
diff --git a/app/views/layouts/_banner.html.erb b/app/views/layouts/_banner.html.erb
index 4f24f538d..344c5ed71 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 => token_list(:dark => banner[:dark]) } do %>
+ <%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %>
+
+ <% end %>
<% end %>