]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/help.html.erb
Adjust imports for leaflet.locatecontrol
[rails.git] / app / views / site / help.html.erb
index 414381101e124f3bca30001342785f4b1bfa418c..b180eb1a58cd980f5316317444acb1a9941e9b16 100644 (file)
@@ -4,28 +4,21 @@
 
 <p class='introduction'><%= t ".introduction" %></p>
 
-<% sites = %w[beginners_guide help mailing_lists forums community irc switch2osm welcomemat wiki] %>
+<% sites = %w[beginners_guide community mailing_lists irc switch2osm welcomemat wiki] %>
 <% sites.prepend("welcome") if current_user %>
 
 <div class="row row-cols-sm-3 g-4 mb-3">
   <% sites.each do |site| %>
     <div class="col">
       <div class='<%= site %> help-item card h-100'>
+        <h6 class='card-header'>
+          <a href='<%= t ".#{site}.url" %>' class='stretched-link'>
+            <%= t ".#{site}.title" %>
+          </a>
+        </h6>
         <div class='card-body'>
-          <h6 class='card-title'>
-            <a href='<%= t ".#{site}.url" %>'>
-              <%= t ".#{site}.title" %>
-            </a>
-          </h6>
           <p class='card-text'><%= t ".#{site}.description" %></p>
         </div>
-        <div class="card-footer">
-          <small>
-            <a href='<%= t ".#{site}.url" %>'>
-              <%= t ".#{site}.url" %>
-            </a>
-          </small>
-        </div>
       </div>
     </div>
   <% end %>