]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/map.html.erb
Stop using sidebar header template in welcome banner
[rails.git] / app / views / layouts / map.html.erb
index eeb6d7472d92ba8edce37b949427745d42d6f28b..ecaca3d2c1d303123803ff3a299ea72d512fe386 100644 (file)
@@ -29,8 +29,9 @@
     </div>
 
     <% unless current_user %>
-      <div class="welcome p-3" hidden>
-        <%= render "sidebar_header", :title => t("layouts.intro_header") %>
+      <div class="welcome position-relative p-3" hidden>
+        <button type="button" class="btn-close position-absolute end-0 top-0 m-2 rounded-5 p-2" aria-label="<%= t("javascripts.close") %>"></button>
+        <h2 class="me-4 text-break"><%= t "layouts.intro_header" %></h2>
         <p class="fs-6 fw-light"><%= t "layouts.intro_text" %></p>
         <p class="fs-6 fw-light"><%= t "layouts.hosting_partners_2024_html",
                                        :fastly => link_to(t("layouts.partners_fastly"), "https://www.fastly.com/"),