pull/211/head
Aevann 2023-09-29 05:23:42 +03:00
parent e952ae6695
commit 80c221d178
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
{% set gingerbread_count = p.award_count("gingerbread", v) * 2 if p.award_count("gingerbread", v) <= 10 else 20 %}
{% for i in range(gingerbread_count) %}
<div class="fall-snowflake">
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/assets/events/fistmas/images/awards/gingerbread.webp?x=6" class="animate-spin object-contain" style="width: 40px; height: 40px" alt="animate marsey gingerbread icon" />
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/assets/events/fistmas/images/awards/gingerbread.webp?x=6" class="animate-spin object-contain" style="width: 40px; height: 40px" alt="animate marsey gingerbread icon">
</div>
{% endfor %}

View File

@ -4,7 +4,7 @@
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
{% if SITE_NAME == 'rDrama' and range(1, 20)|random() == 1 %}
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/assets/events/fistmas/images/banner_new.webp" style="width:100%" />
<img loading="lazy" src="{{SITE_FULL_IMAGES}}/assets/events/fistmas/images/banner_new.webp" style="width:100%">
{% else %}
<link rel="stylesheet" href="{{'events/fistmas/css/banner.css' | asset}}">
{% include "events/fistmas/banner.svg" %}

View File

@ -45,7 +45,7 @@
<div class="fall-pumpkins">
{% for i in range(count) %}
<div class="fall-pumpkin">
<img src="/e/marseypumpking.webp" class="animate-spin" style="width: 40px; height: 40px" alt="animate marsey pumpkin icon"/>
<img src="/e/marseypumpking.webp" class="animate-spin" style="width: 40px; height: 40px" alt="animate marsey pumpkin icon">
</div>
{% endfor %}
</div>

View File

@ -33,7 +33,7 @@
<body {% block body_attributes %}id="{% block pagetype %}{% endblock %}"{% endblock %}>
{% if IS_HOMOWEEN() and (v and v.jumpscare) or 'shop' in request.path %}
{% set image_src = SITE_FULL_IMAGES ~ "/assets/events/homoween/images/jumpscares/" ~ listdir("files/assets/events/homoween/images/jumpscares")|random() ~ "?x=45" %}
<img src="{{image_src}}" id="jump-scare-img" style="display: none"/>
<img src="{{image_src}}" id="jump-scare-img" style="display: none">
{% set audio_src = "/assets/events/homoween/audio/jumpscares/" ~ listdir("files/assets/events/homoween/audio/jumpscares")|random() ~ "?x=45" %}
<audio id="jumpscare-audio" preload="none" src="{{audio_src}}"></audio>
<script defer src="{{'events/homoween/js/jumpscare.js' | asset}}"></script>