diff --git a/frontend/src/styles.css b/frontend/src/styles.css index 22f2bb54..57305a99 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -158,6 +158,18 @@ padding-left: var(--squid-size); padding-right: var(--squid-size); } + + @keyframes preview-image-lazy-load { + 0% { + display: none; + } + 1% { + display: block; + } + 100% { + display: block; + } + } } @font-face { diff --git a/users/templates/users/includes/battle-card.html b/users/templates/users/includes/battle-card.html index 44017c14..12487b9d 100644 --- a/users/templates/users/includes/battle-card.html +++ b/users/templates/users/includes/battle-card.html @@ -1,10 +1,18 @@ {% load static %} - {% if battle.vs_mode == "FEST" and battle.splatfest_clout_multiplier != "NONE" %} {% include "splatnet_assets/squid_tape.html" with bg="bg-purple-600 -rotate-6 left-1 top-1 absolute" content=battle.get_splatfest_clout_multiplier_display %} {% endif %} + {% if battle.battlevideo %} +
+ +
+ {% endif %} +
{{ battle.played_time|date:"SHORT_DATE_FORMAT" }}
{{ battle.vs_stage.name.string }}