-<% ['welcome', 'learnosm', 'help', 'wiki'].each do |site| %>
- <div class='<%= site %> help-item'>
- <h3>
- <a href='<%= t "help_page.#{site}.url" %>'>
- <%= t "help_page.#{site}.title" %>
- </a>
- </h3>
- <p><%= t "help_page.#{site}.description" %></p>
- </div>
-<% end %>
\ No newline at end of file
+<% sites = %w[beginners_guide help mailing_lists community 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'>
+ <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 %>
+</div>