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",
"slug": "itty",
"desc": "Itty adds a social media site (called Itty) that allows your Tinies to interact digitally!",
"author": "ssblur",
"section": "mods",
"name": "Grape Sorbet",
"desc": "Residential, 15x15",
"author": "Owlynn",
"section": "lots",
"links": {
"Steam": "https://steamcommunity.com/sharedfiles/filedetails/?id=2965803577",
"YouTube": "https://www.youtube.com/channel/UC87-8FM-U9OSUYCzIqlhztA"
},
"carousel": ["itty.png", "itty.png"]
"Workshop": "https://steamcommunity.com/sharedfiles/filedetails/?id=2978242814"
}
},
{
"name": "TEMP!! Designing the Modern Home",
"slug": "modern-home",
"author": "ssblur",
"section": "media",
"embed": "https://www.youtube.com/embed/Uomvvpd138M"
"name": "Vista Blue",
"desc": "Residential, 10x15. Works as a starter home!",
"author": "Owlynn",
"section": "lots",
"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 %}
{% for content in site.data.community-content %}
{% if content.section == section.slug %}
{% assign slug = content.name | slugify %}
<div class="community-content-box">
<a id="{{ content.slug }}"></a>
<a id="{{ slug }}"></a>
{% if section.images %}
{% 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">
{% 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 %}
</ol>
<div class="carousel-inner">
{% for item in content.carousel %}
<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>
{% endfor %}
</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="sr-only">Previous</span>
</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="sr-only">Next</span>
</a>
</div>
{% 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 %}
{% 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