added owlynn's stuff

This commit is contained in:
Ell 2023-08-12 15:08:30 +02:00
parent d6e0b587b5
commit 6f1b84ea78
10 changed files with 46 additions and 21 deletions

View file

@ -1,21 +1,45 @@
[ [
{ {
"name": "TEMP!! Itty for Tiny Life", "name": "Grape Sorbet",
"slug": "itty", "desc": "Residential, 15x15",
"desc": "Itty adds a social media site (called Itty) that allows your Tinies to interact digitally!", "author": "Owlynn",
"author": "ssblur", "section": "lots",
"section": "mods",
"links": { "links": {
"Steam": "https://steamcommunity.com/sharedfiles/filedetails/?id=2965803577", "Workshop": "https://steamcommunity.com/sharedfiles/filedetails/?id=2978242814"
"YouTube": "https://www.youtube.com/channel/UC87-8FM-U9OSUYCzIqlhztA" }
},
"carousel": ["itty.png", "itty.png"]
}, },
{ {
"name": "TEMP!! Designing the Modern Home", "name": "Vista Blue",
"slug": "modern-home", "desc": "Residential, 10x15. Works as a starter home!",
"author": "ssblur", "author": "Owlynn",
"section": "media", "section": "lots",
"embed": "https://www.youtube.com/embed/Uomvvpd138M" "links": {
"Workshop": "https://steamcommunity.com/sharedfiles/filedetails/?id=2978242996"
}
},
{
"name": "Field Iris",
"desc": "Residential, 25x25",
"author": "Owlynn",
"section": "lots",
"links": {
"Workshop": "https://steamcommunity.com/sharedfiles/filedetails/?id=2978243159"
}
},
{
"name": "Swift Brew Coffee",
"desc": "Café, 15x15",
"author": "Owlynn",
"section": "lots",
"links": {
"Workshop": "https://steamcommunity.com/sharedfiles/filedetails/?id=2978243292"
}
},
{
"name": "Tiny Design Study",
"desc": "Legit Liny Tife brand, Not so slightly brewed, Coffee break. Design studies.",
"author": "Owlynn",
"section": "fanart",
"carousel": ["study-brand", "study-brewed", "study-cafe"]
} }
] ]

View file

@ -21,34 +21,35 @@ summary: A fun simulation game where you mess with people's lives
{% assign any = false %} {% assign any = false %}
{% for content in site.data.community-content %} {% for content in site.data.community-content %}
{% if content.section == section.slug %} {% if content.section == section.slug %}
{% assign slug = content.name | slugify %}
<div class="community-content-box"> <div class="community-content-box">
<a id="{{ content.slug }}"></a> <a id="{{ slug }}"></a>
{% if section.images %} {% if section.images %}
{% if content.carousel %} {% if content.carousel %}
<div id="{{ content.slug }}-carousel" class="carousel slide" data-ride="carousel"> <div id="{{ slug }}-carousel" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators"> <ol class="carousel-indicators">
{% for item in content.carousel %} {% for item in content.carousel %}
<li data-target="#{{ content.slug }}-carousel" data-slide-to="{{ forloop.index0 }}" {% if forloop.first %}class="active"{% endif %}></li> <li data-target="#{{ slug }}-carousel" data-slide-to="{{ forloop.index0 }}" {% if forloop.first %}class="active"{% endif %}></li>
{% endfor %} {% endfor %}
</ol> </ol>
<div class="carousel-inner"> <div class="carousel-inner">
{% for item in content.carousel %} {% for item in content.carousel %}
<div class="carousel-item {% if forloop.first %}active{% endif %}"> <div class="carousel-item {% if forloop.first %}active{% endif %}">
<img class="d-block w-100" src="/media/community/{{ item }}" alt="A carousel slide showing off {{ content.name }}"> <img class="d-block w-100" src="/media/community/{{ item }}.png" alt="A carousel slide showing off {{ content.name }}">
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<a class="carousel-control-prev" href="#{{ content.slug }}-carousel" role="button" data-slide="prev"> <a class="carousel-control-prev" href="#{{ slug }}-carousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span> <span class="sr-only">Previous</span>
</a> </a>
<a class="carousel-control-next" href="#{{ content.slug }}-carousel" role="button" data-slide="next"> <a class="carousel-control-next" href="#{{ slug }}-carousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span> <span class="sr-only">Next</span>
</a> </a>
</div> </div>
{% else %} {% else %}
<img src="/media/community/{{ content.slug }}.png" alt="An image showing off {{ content.name }}" width="100%"> <img src="/media/community/{{ slug }}.png" alt="An image showing off {{ content.name }}" width="100%">
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if section.embeds %} {% if section.embeds %}

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB