forked from rDrama/rDrama
1
0
Fork 0

Re-implement confetti award.

To replace the implementation of the confetti award, we now use an
animated WebP tiled as a background image on a fixed overlay. This
should alleviate the previous performance concerns (no runtime
calculation of confetti mechanics & rendering) and maintainable
concerns.
master
Snakes 2022-05-23 02:57:43 -04:00
parent 4847000f67
commit 517e5ec3b3
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@
<style>:root{--primary:#{{v.themecolor}}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=272">
<link rel="stylesheet" href="/assets/css/{{v.theme}}.css?v=58">
<link rel="stylesheet" href="/assets/css/awards.css?v=4">
<link rel="stylesheet" href="/assets/css/awards.css?v=5">
{% if v.agendaposter %}
<style>
html {
@ -36,7 +36,7 @@
<style>:root{--primary:#{{config('DEFAULT_COLOR')}}</style>
<link rel="stylesheet" href="/assets/css/main.css?v=272">
<link rel="stylesheet" href="/assets/css/{{config('DEFAULT_THEME')}}.css?v=57">
<link rel="stylesheet" href="/assets/css/awards.css?v=4">
<link rel="stylesheet" href="/assets/css/awards.css?v=5">
{% endif %}
{% if request.path == '/catalog' %}

View File

@ -64,7 +64,7 @@
{% endif %}
{% if p.award_count("confetti") %}
{# TODO: Confetti temporarily removed. #}
<div id="confetti"></div>
{% endif %}
{% if p.award_count("firework") %}