2018-03-12 19:31:14 +00:00
|
|
|
<%
|
|
|
|
const network = page.network;
|
|
|
|
const data = site.data[network].data;
|
|
|
|
const numbers = site.data.numbers.list[network];
|
|
|
|
%>
|
|
|
|
|
|
|
|
<section class="section-hero">
|
|
|
|
<h3>
|
2018-10-21 16:15:12 +00:00
|
|
|
<span><%- __('total') %></span>
|
|
|
|
<span><% if (numbers) { %> ~ <%= numbers.population %><% } else { %> ? <% } %></span>
|
|
|
|
<span><%- __('accounts') %></span><% if (numbers) { %><sup><a href="#fn-1">[1]</a></sup><% } %>
|
2018-03-12 19:31:14 +00:00
|
|
|
</h3>
|
2018-03-24 01:51:28 +00:00
|
|
|
<% if (numbers.activeUsers) { %>
|
2018-03-12 19:31:14 +00:00
|
|
|
<h3>
|
2018-10-21 16:15:12 +00:00
|
|
|
<span><%- __('active') %></span><span> ~ <%= numbers.activeUsers %></span><span><%- __('people') %></span><sup><a href="#fn-2">[2]</a></sup>
|
2018-03-12 19:31:14 +00:00
|
|
|
</h3>
|
|
|
|
<% } %>
|
|
|
|
<h3>
|
2018-10-21 16:15:12 +00:00
|
|
|
<span><%- __('servers') %></span>
|
|
|
|
<span><% if (numbers) { %> > <%= numbers.podsNum %> <% } else { %> ? <% } %></span>
|
|
|
|
<span><%- __('instances') %></span><% if (numbers) { %><sup><a href="#fn-3">[3]</a></sup><% } %>
|
2018-03-12 19:31:14 +00:00
|
|
|
</h3>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<div class="section-title">
|
2018-08-23 22:18:07 +00:00
|
|
|
<div style="background-color: #<%= data.logoClr %>">
|
|
|
|
<svg class="icon-logotype" role="img" aria-labelledby="logo<%= data.title %>">
|
|
|
|
<title id="logo<%= data.title %>"><%= data.title %> logo</title>
|
|
|
|
<use xlink:href="#icon-<%= data.title %>">
|
|
|
|
</svg>
|
|
|
|
</div><h2><%- __('world') %></h2>
|
2018-03-12 19:31:14 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="section-wrapper">
|
|
|
|
<div class="column">
|
|
|
|
<div class="section">
|
2018-08-23 22:18:07 +00:00
|
|
|
<h4 style="width: 100px;"><%- __('mascot') %></h4>
|
|
|
|
<ul class="section-list">
|
|
|
|
<% for (i in data.mascot) { %>
|
|
|
|
<li class="u-inline">
|
|
|
|
<% if (data.mascot[i].imgNum) { %>
|
|
|
|
<img class="mascot" src="/img/mascots/<%=network%>-<%=data.mascot[i].imgNum%>.png" alt="mascot picture"><% } %><%= data.mascot[i].item %><span>, </span>
|
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
2018-03-12 19:31:14 +00:00
|
|
|
</div>
|
|
|
|
<div class="section">
|
2018-08-23 22:18:07 +00:00
|
|
|
<h4 style="width: 100px;"><%- __('dwellers') %></h4><span><%= data.dwellers %></span>
|
2018-03-12 19:31:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="column">
|
|
|
|
<div class="section">
|
|
|
|
<h4><%- __('communities') %></h4>
|
2018-03-24 01:51:28 +00:00
|
|
|
<% if (data.communities) { %>
|
2018-08-23 22:18:07 +00:00
|
|
|
<ul class="section-list">
|
|
|
|
<% for (item in data.communities) { %>
|
|
|
|
<li class="u-inline">
|
|
|
|
<a href="<%= data.communities[item].url %>"><%= data.communities[item].title %></a><span> / </span>
|
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
2018-03-12 19:31:14 +00:00
|
|
|
<% } else { %>
|
|
|
|
<span class="u-temp"><%- __('soon') %></span>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
2018-08-23 22:18:07 +00:00
|
|
|
<div class="section connections">
|
2018-05-28 00:05:57 +00:00
|
|
|
<h4><dfn title="The platform let's you follow users of these networks"><%- __('connections') %></dfn></h4>
|
2018-08-23 22:18:07 +00:00
|
|
|
<ul class="section-list">
|
|
|
|
<% for (item in data.connections) { %>
|
|
|
|
<li class="u-inline">
|
|
|
|
<svg class="f-highlight <%- network %>" role="img" aria-labelledby="f-snow" style="position: relative"><title id="f-snow">network logo colour icon</title><use xlink:href="#icon-snowflake"></use></svg><%= data.connections[item] %><span>, </span></li>
|
2018-05-28 00:05:57 +00:00
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2018-03-12 19:31:14 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2018-08-23 22:18:07 +00:00
|
|
|
<p class="description u-nomargin"><%= data.descr %></p>
|
|
|
|
|
|
|
|
<% if (data.features) { %>
|
|
|
|
<div class="section u-block">
|
|
|
|
<h4><%- __('features') %></h4>
|
|
|
|
<ul class="section-list article-list">
|
|
|
|
<% for (item in data.features) { %>
|
|
|
|
<li>
|
|
|
|
<%= data.features[item] %>
|
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
<% if (data.information) { %>
|
|
|
|
<div class="section u-block">
|
|
|
|
<h4><%- __('information') %></h4>
|
|
|
|
<ul class="section-list article-list warning-list">
|
|
|
|
<% for (item in data.information) { %>
|
|
|
|
<li>
|
|
|
|
<%= data.information[item] %>
|
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
2018-03-12 19:31:14 +00:00
|
|
|
|
2018-09-02 13:57:21 +00:00
|
|
|
<% if (data.notable) { %>
|
2018-03-12 19:31:14 +00:00
|
|
|
<div class="section u-block with-image">
|
|
|
|
<h4><%- __('stars') %></h4>
|
|
|
|
<ul class="section-list">
|
2018-09-02 13:57:21 +00:00
|
|
|
<% for (item in data.notable) { %>
|
2018-03-12 19:31:14 +00:00
|
|
|
<li class="u-inline">
|
2018-09-02 13:57:21 +00:00
|
|
|
<a href="<%= data.notable[item].url %>" title="<%= data.notable[item].name %>"><img src="<%= data.notable[item].avatar %>" alt="user"></a>
|
2018-03-12 19:31:14 +00:00
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
|
2018-08-23 22:18:07 +00:00
|
|
|
<br>
|
|
|
|
<%- partial('_partial/join') %>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<% if (data.reading) { %>
|
2018-03-12 19:31:14 +00:00
|
|
|
<div class="section u-block">
|
|
|
|
<h4><%- __('reading') %></h4>
|
2018-08-22 14:40:59 +00:00
|
|
|
<ul class="article-list">
|
2018-08-23 22:18:07 +00:00
|
|
|
<% for (item in data.reading) { %>
|
|
|
|
<li><a href="<%= data.reading[item].url %>"><%= data.reading[item].title %></a></li>
|
2018-03-12 19:31:14 +00:00
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% } %>
|