Bundle JS into a compact format

Run file checks on startup
Fix visual bugs in Sass
This commit is contained in:
Michał Gdula 2023-03-10 11:10:43 +00:00
parent e3a0eaf60b
commit e6d289ed64
16 changed files with 283 additions and 221 deletions

View file

@ -5,7 +5,7 @@
{% block content %}
<div class="banner">
<img src="{{ url_for('static', filename='images/bg.svg') }}" onload="imgFade(this)" style="opacity:0;"/>
<span></span>
<span class="banner-filter"></span>
<div class="banner-content">
<p>{{ config.WEBSITE.motto }}</p>
@ -28,7 +28,7 @@
<h2>{{ group.name }}</h2>
</span>
{% if group.thumbnail %}
<img data-src="{{ group.thumbnail }}" onload="imgFade(this)" style="opacity:0;"/>
<img data-src="{{ group.thumbnail }}" onload="imgFade(this)" style="opacity:0;" id="lazy-load"/>
{% else %}
<img src="{{ url_for('static', filename='images/error.png') }}" onload="imgFade(this)" style="opacity:0;"/>
{% endif %}