TinyLifeWeb/web/community.html

89 lines
5.7 KiB
HTML
Raw Normal View History

---
layout: default
nav: communitynav.html
2023-08-12 13:31:40 +02:00
title: Tiny Life Community Showcase
summary: A fun simulation game where you mess with people's lives
---
2023-08-12 12:37:06 +02:00
<div class="section">
<div class="community-top">
<h1>💬 Community Showcase</h1>
2023-08-12 13:09:47 +02:00
<p>Ever since Tiny Life released into Early Access, the game's community has been growing steadily, and you all have been absolutely amazing. You've released videos, livestreamed gameplay, created mods, households, lots and other custom content, and you've even drawn fan art of pre-made Tinies! We love community contributions, and so we want to dedicate this section to our community and showcase some of the awesome stuff you've created.</p>
<p>All content on this page abides by the <a href="https://docs.tinylifegame.com/articles/content_policy.html">Tiny Life Content and Community Policy</a>, and you can consider content on this page to be officially endorsed. Nevertheless, please always take care when downloading and installing custom content and mods for Tiny Life.</p>
2023-08-23 20:24:37 +02:00
<p><strong>If you're interested in having your content added to this page, please let us know on <a href="https://link.tinylifegame.com/discordweb">the Discord server</a> or <a href="https://github.com/Ellpeck/TinyLifeWeb/blob/main/web/_data/community_content.json">submit a pull request</a>.</strong></p>
2023-08-12 12:37:06 +02:00
</div>
2023-08-12 23:18:39 +02:00
{% assign sorted_content = site.data.community_content | sort_natural: "name" %}
{% for section in site.data.community_sections %}
2023-08-12 12:37:06 +02:00
<div class="community-section">
<h2 id="{{ section.slug }}">{{ section.name }}</h2>
2023-08-12 13:30:25 +02:00
<p>{{ section.desc }}</p>
2023-08-12 13:14:10 +02:00
{% assign any = false %}
2023-08-12 23:18:39 +02:00
{% for content in sorted_content %}
2023-08-12 12:37:06 +02:00
{% if content.section == section.slug %}
2023-08-12 15:08:30 +02:00
{% assign slug = content.name | slugify %}
2023-08-12 13:30:25 +02:00
<div class="community-content-box">
2023-08-12 15:08:30 +02:00
<a id="{{ slug }}"></a>
2023-08-12 13:30:25 +02:00
{% if section.images %}
2023-08-12 14:28:29 +02:00
{% if content.carousel %}
2023-08-12 15:08:30 +02:00
<div id="{{ slug }}-carousel" class="carousel slide" data-ride="carousel">
2023-08-12 14:28:29 +02:00
<ol class="carousel-indicators">
{% for item in content.carousel %}
2023-08-12 15:08:30 +02:00
<li data-target="#{{ slug }}-carousel" data-slide-to="{{ forloop.index0 }}" {% if forloop.first %}class="active"{% endif %}></li>
2023-08-12 14:28:29 +02:00
{% endfor %}
</ol>
<div class="carousel-inner">
{% for item in content.carousel %}
<div class="carousel-item {% if forloop.first %}active{% endif %}">
2023-08-12 15:08:30 +02:00
<img class="d-block w-100" src="/media/community/{{ item }}.png" alt="A carousel slide showing off {{ content.name }}">
2023-08-12 14:28:29 +02:00
</div>
{% endfor %}
</div>
2023-08-12 15:08:30 +02:00
<a class="carousel-control-prev" href="#{{ slug }}-carousel" role="button" data-slide="prev">
2023-08-12 14:28:29 +02:00
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
2023-08-12 15:08:30 +02:00
<a class="carousel-control-next" href="#{{ slug }}-carousel" role="button" data-slide="next">
2023-08-12 14:28:29 +02:00
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
{% else %}
2023-08-12 15:08:30 +02:00
<img src="/media/community/{{ slug }}.png" alt="An image showing off {{ content.name }}" width="100%">
2023-08-12 14:28:29 +02:00
{% endif %}
2023-08-12 13:30:25 +02:00
{% endif %}
{% if section.embeds %}
<div class="video-embed">
2023-08-12 13:51:31 +02:00
<iframe src="{{ content.embed }}" title="{{ content.name }} Embed" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
2023-08-12 13:30:25 +02:00
</div>
{% endif %}
<div class="community-content-box-content">
<h4 class="community-title">{{ content.name }}</h4>
<div class="text-muted">Created by {{ content.author }}</div>
{% if content.desc %}
<div class="community-desc">{{ content.desc }}</div>
{% endif %}
{% if content.links %}
<div>
{% for link in content.links %}
<a href="{{ link[1] }}">{{ link[0] }}</a>
{% unless forloop.last %}
&ndash;
{% endunless %}
{% endfor %}
</div>
{% endif %}
</div>
</div>
2023-08-12 13:14:10 +02:00
{% assign any = true %}
2023-08-12 12:37:06 +02:00
{% endif %}
{% endfor %}
2023-08-12 13:14:10 +02:00
{% unless any %}
<em>There's nothing in this section yet.</em>
{% endunless %}
2023-08-12 12:37:06 +02:00
</div>
{% endfor %}
</div>