forked from rDrama/rDrama
1
0
Fork 0

add fistmas sidebars

master
Aevann 2023-12-18 17:19:28 +02:00
parent 47efb8d6ee
commit e79a5ae026
22 changed files with 9 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 948 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 360 B

View File

@ -87,9 +87,9 @@
}),
}) %}
<div class="d-none d-lg-block" style="position:absolute; pointer-events: none">
<img class="eye" src="{{SITE_FULL_IMAGES}}/assets/events/shared/images/eye.webp" loading="lazy" style="left:{{[coordsLookup][0][selected_image]['left']['x']}};top:{{[coordsLookup][0][selected_image]['left']['y']}}">
<img class="eye" src="{{SITE_FULL_IMAGES}}/assets/events/shared/images/eye.webp" loading="lazy" style="left:{{[coordsLookup][0][selected_image]['right']['x']}};top:{{[coordsLookup][0][selected_image]['right']['y']}}">
<img class="eye" src="{{SITE_FULL_IMAGES}}/assets/events/homoween/images/eye.webp" loading="lazy" style="left:{{[coordsLookup][0][selected_image]['left']['x']}};top:{{[coordsLookup][0][selected_image]['left']['y']}}">
<img class="eye" src="{{SITE_FULL_IMAGES}}/assets/events/homoween/images/eye.webp" loading="lazy" style="left:{{[coordsLookup][0][selected_image]['right']['x']}};top:{{[coordsLookup][0][selected_image]['right']['y']}}">
</div>
</a>
<script defer src="{{'events/shared/js/eye_tracking.js' | asset}}" ></script>
<script defer src="{{'events/homoween/js/eye_tracking.js' | asset}}" ></script>

View File

@ -15,8 +15,8 @@
{%- endif -%}
{% if request.path != '/sidebar' %}
{% if IS_FISTMAS() or IS_HOMOWEEN() %}
{% include "events/shared/eye_tracking.html" %}
{% if IS_HOMOWEEN() %}
{% include "events/homoween/eye_tracking.html" %}
{% else %}
<a href="{{image}}">
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{image}}">

View File

@ -8,6 +8,8 @@
{% if hole and hole.sidebarurls %}
{% set image = hole.random_sidebar %}
{% elif IS_FISTMAS() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar/" ~ SITE_NAME ) %}
{% elif IS_EVENT() %}
{% set image = macros.random_image("assets/events/" ~ IS_EVENT() ~ "/images/sidebar") %}
{% else %}
@ -15,8 +17,8 @@
{% endif %}
{% if request.path != '/sidebar' %}
{% if not (hole and hole.sidebarurls) and (IS_FISTMAS() or IS_HOMOWEEN()) %}
{% include "events/shared/eye_tracking.html" %}
{% if IS_HOMOWEEN() and not (hole and hole.sidebarurls) %}
{% include "events/homoween/eye_tracking.html" %}
{% elif v and (v.is_banned or v.chud) %}
<a href="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp">
<img class="mb-4 sidebar-img" alt="sidebar image" data-nonce="{{g.nonce}}" data-onclick="expandImage()" loading="lazy" src="{{SITE_FULL_IMAGES}}/i/{{SITE_NAME}}/sidebar2.webp">