event header icons test 1

pull/79/head
justcool393 2022-12-15 16:08:36 -06:00 committed by geese_suck
parent 50e2616f31
commit 19a27f0393
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
2 changed files with 15 additions and 0 deletions

View File

@ -4,5 +4,11 @@ EVENT_JINJA_CONST = {
"EVENT_STYLES": "blizzard.css",
"EVENT_AWARDS": True,
"EVENT_MUSIC": "music.html",
"EVENT_HEADER_ICONS": [
"/e/marseypartyxmas.webp?v=1",
"/e/marseysanta3.webp?v=1",
"/e/marseychristmaself2.webp?v=1",
"/e/marseysnowman.webp",
]
}

View File

@ -1,5 +1,14 @@
{# <script src="/assets/js/event/neko.js"></script> #}
{% set banner_img = EVENT_HEADER_ICONS | random %}
<style>
img#header--icon {
background-image: url({{banner_img}}) no-repeat;
padding-left: 33px;
}
</style> {# there's gotta be a better way than this but whatever -jc #}
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
<link rel="stylesheet" href="{{'css/event/banner.css' | asset}}">
{% include "event/banner_house2.svg" %}