UI: Conference website web-assets v2 upgrade #103970

Merged
Márton Lente merged 50 commits from ui/web-assets-v2-update into main 2024-09-23 12:34:43 +02:00
Showing only changes of commit ca3109bd3c - Show all commits

View File

@ -6,26 +6,22 @@
| {% block jumbotron %}
.hero.is-container-overlap
.container
.hero-content.text-center
.hero-content
{% if edition.logo %}
img.d-block.mx-auto.img-fluid(src="{{ edition.logo.url }}", alt="{{ edition.title }}")
img.d-block.mb-3.mx-auto.img-fluid(src="{{ edition.logo.url }}", alt="{{ edition.title }}")
{% else %}
img.d-block.mx-auto.img-fluid(src="{% static 'images/BCON_logo.svg' %}", alt="{{ edition.title }}")
img.d-block.mb-3.mx-auto.img-fluid(src="{% static 'images/BCON_logo.svg' %}", alt="{{ edition.title }}")
{% endif %}
{% if edition.date_start %}
h2.mt-3 {{ edition.date_start | date:'d' }}-{{ edition.date_end | date:'d M, Y' }}
h2.mx-auto.text-center {{ edition.date_start | date:'d' }}-{{ edition.date_end | date:'d M, Y' }}
{% endif %}
{% if edition.location %}
h3 {{ edition.location }}
.hero-subtitle.mx-auto.text-center {{ edition.location }}
{% endif %}
{% if edition.header %}
.hero-background(style="background-image: url({{ edition.header.url }})")
{% else %}
.hero-background(style="background-image: url({% static 'images/bcon19_cityscape_notext.jpg' %})")
{% endif %}
.hero-bg(style="background-image: url({{ edition.header.url }}); background-position-y: 50%")
.hero-overlay
| {% endblock jumbotron %}
| {% endblock header %}