mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-24 09:31:28 +00:00
128 lines
3.7 KiB
Plaintext
128 lines
3.7 KiB
Plaintext
|
|
---
|
|
layout: layout
|
|
---
|
|
|
|
<%
|
|
const fv = site.data.fediverse.article;
|
|
const platforms = site.data.common.list;
|
|
const protocols = site.data.common.protocols;
|
|
const langs = site.data.common.langs;
|
|
const numbers = site.data.numbers.list.fediverse;
|
|
const update = site.data.numbers.list.lastUpdate;
|
|
%>
|
|
|
|
<%- partial('_partial/heroheader') %>
|
|
|
|
<main class="contents">
|
|
<div class="section">
|
|
<h4>Fediverse
|
|
<svg role="img" aria-labelledby="logoFediverse" style="fill: #0e0a0c; vertical-align: sub; height: 22px; width: 22px;"><title id="logoFediverse">Fediverse logo</title><use xlink:href="#icon-fediverse"></svg>
|
|
</h4>
|
|
<span><%= fv.definition %></span>
|
|
</div>
|
|
|
|
<p><%= fv.preamble %></p>
|
|
|
|
<section class="section-hero">
|
|
<h3>
|
|
<span><%- __('total') %></span>
|
|
<span><% if (numbers) { %> ~ <%= numbers.population %><% } else { %> ? <% } %></span>
|
|
<span><%- __('accounts') %></span>
|
|
</h3>
|
|
<% if (numbers.activeUsers) { %>
|
|
<h3>
|
|
<span><%- __('active') %></span><span> ~ <%= numbers.activeUsers %></span><span><%- __('people') %></span>
|
|
</h3>
|
|
<% } %>
|
|
<h3>
|
|
<span><%- __('servers') %></span>
|
|
<span><% if (numbers) { %> > <%= numbers.podsNum %> <% } else { %> ? <% } %></span>
|
|
<span><%- __('instances') %></span>
|
|
</h3>
|
|
</section>
|
|
<% if (numbers) { %>
|
|
<small class="footnotes u-center">(statistics updated regularly, latest update - <%= update %>)</small>
|
|
<% } %>
|
|
|
|
<div class="section">
|
|
<h4><%- __('knowledge') %></h4>
|
|
<ul class="article-list">
|
|
<% for (item in fv.knowledge) { %>
|
|
<li class="u-inline"><a href="https://<%= fv.knowledge[item] %>"><%= fv.knowledge[item] %></a></li>
|
|
<% } %>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h4><%- __('platforms') %></h4>
|
|
<ul class="section-list">
|
|
<% for (item in platforms) { %>
|
|
<li class="u-inline">
|
|
<a href="<%= platforms[item].url %>"><%= platforms[item].title %></a><span>, </span>
|
|
</li>
|
|
<% } %>
|
|
<li class="u-inline">and <a href="/en/miscellaneous">many more</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h4><%- __('projects') %></h4>
|
|
<ul class="article-list">
|
|
<% for (item in fv.projects) { %>
|
|
<li><a href="https://<%= fv.projects[item] %>"><%= fv.projects[item] %></a></li>
|
|
<% } %>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h4><%- __('protocols') %></h4>
|
|
<ul class="section-list">
|
|
<% for (item in protocols) { %>
|
|
<li class="u-inline">
|
|
<a href="<%= protocols[item].url %>"><%= protocols[item].name %></a><span>, </span>
|
|
</li>
|
|
<% } %>
|
|
</ul>
|
|
</div>
|
|
|
|
<p class="u-center">
|
|
<a href="/en/portal/servers" class="u-block u-emphasize btn-action centered"><%- __('joinF') %></a>
|
|
</p>
|
|
|
|
<p><%= fv.info %></p>
|
|
|
|
<div class="section">
|
|
<h4><%- __('latest') %></h4>
|
|
<ul class="article-list">
|
|
<% for (item in fv.latest) { %>
|
|
<li class="u-inline"><a href="https://<%= fv.latest[item] %>"><%= fv.latest[item] %></a></li>
|
|
<% } %>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h4><%- __('reading') %></h4>
|
|
<ul class="article-list">
|
|
<% for (item in fv.reading) { %>
|
|
<li><a href="<%= fv.reading[item].url %>"><%= fv.reading[item].title %></a></li>
|
|
<% } %>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h4><%- __('forDevs') %></h4>
|
|
<ul class="article-list">
|
|
<% for (item in fv.forDevs) { %>
|
|
<li class="u-inline"><a href="https://<%= fv.forDevs[item] %>"><%= fv.forDevs[item] %></a></li>
|
|
<% } %>
|
|
</ul>
|
|
</div>
|
|
|
|
<p class="u-center">
|
|
<a href="/en/crystalball" class="u-block u-emphasize btn-action centered"><%- __('magic') %></a>
|
|
</p>
|
|
|
|
<%- partial('_partial/buttons') %>
|
|
</main>
|