2020-04-21 08:41:10 +02:00
|
|
|
<%- include('../_header') %>
|
2020-04-18 09:55:55 +02:00
|
|
|
|
2020-04-26 22:02:00 +02:00
|
|
|
<div class="columns" style="justify-content: space-between;">
|
|
|
|
<h1 style="margin-bottom: 10px">My communities</h1>
|
|
|
|
<a href="/communities/new" class="button">New Community</a>
|
|
|
|
</div>
|
2020-04-26 19:00:24 +02:00
|
|
|
|
|
|
|
<% if (participating.length == 0) { %>
|
|
|
|
<p>You haven't joined any communities yet, explore some below to join</p>
|
|
|
|
<% } %>
|
|
|
|
<% participating.map(community => { %>
|
2020-04-26 19:07:37 +02:00
|
|
|
<a href="/communities/<%= community %>" class="link-block">
|
2020-04-26 19:00:24 +02:00
|
|
|
#<%= community %>
|
|
|
|
</a>
|
|
|
|
<% }) %>
|
|
|
|
|
|
|
|
<h1 style="margin-top: 40px; margin-bottom: 10px">Explore</h1>
|
|
|
|
|
|
|
|
<% communities.map(community => { %>
|
2020-04-26 19:07:37 +02:00
|
|
|
<a href="/communities/<%= community %>" class="link-block">
|
2020-04-26 19:00:24 +02:00
|
|
|
#<%= community %>
|
|
|
|
</a>
|
|
|
|
<% }) %>
|
2020-04-18 09:55:55 +02:00
|
|
|
|
2020-04-21 08:41:10 +02:00
|
|
|
<%- include('../_footer') %>
|