]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/communities.html.erb
Use lead text highlighting for lede paragraph
[rails.git] / app / views / site / communities.html.erb
index 8bea6d14c27a81932590e1d9d3ca076f958114f9..ba687966f5cc50867cd631b2c31920b049604117 100644 (file)
@@ -1 +1,17 @@
-COMMUNITIES PAGE WILL GO HERE ðŸŽ‰
\ No newline at end of file
+<% content_for :heading do %>
+  <h1><%= t ".title" %></h1>
+<% end %>
+
+<p class="lead"><%= t ".lede_text" %></p>
+
+<h2><%= t ".local_chapters.title" %></h2>
+<p><%= t ".local_chapters.about_text" %></p>
+<p><%= t ".local_chapters.list_text" %></p>
+<ul>
+  <% @local_chapters.each do |chapter| %>
+    <li><a href="<%= chapter.url %>"><%= t "osm_community_index.communities.#{chapter.id}.name" %></a></li>
+  <% end %>
+</ul>
+
+<h2><%= t ".other_groups.title" %></h2>
+<p><%= t ".other_groups.about_html" %></p>