forked from rDrama/rDrama
23 lines
773 B
HTML
23 lines
773 B
HTML
{# <script defer src="{{'event/js/neko.js'|asset}}"></script> #}
|
|
{% if request.path == '/' %}
|
|
<script defer src="{{'event/js/snow.js'|asset}}"></script>
|
|
<script nonce="{{g.nonce}}">
|
|
document.addEventListener("load", () => {
|
|
snow(80)
|
|
});
|
|
</script>
|
|
{% endif %}
|
|
|
|
<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 src="/assets/event/images/banner_new.webp" style="width:100%" />
|
|
{% else %}
|
|
<link rel="stylesheet" href="{{'event/css/banner.css' | asset}}">
|
|
{% if SITE_NAME == 'rDrama' %}
|
|
{% include "event/banner_rDrama.svg" %}
|
|
{% else %}
|
|
{% include "event/banner.svg" %}
|
|
{% endif %}
|
|
{% endif %}
|
|
</a>
|