UI: 2024 Hero component options #103971

Merged
Márton Lente merged 66 commits from ui/2024-hero-options into main 2024-09-24 13:00:31 +02:00
Showing only changes of commit 26dfc70fe0 - Show all commits

View File

@ -8,7 +8,7 @@
.hero.hero-lg.is-container-overlap .hero.hero-lg.is-container-overlap
.container .container
.hero-content .hero-content
// TODO: @back-end register a new field for hero logo, that overrides 'edition.logo' if set. Useful to display coloured logos in heros, while using monochrome logos in the navbar // TODO: @back-end !important register a new field for hero logo, that overrides 'edition.logo' if set. Useful to display coloured logos in heros, while using monochrome logos in the navbar
{% if edition.logo %} {% if edition.logo %}
img.d-block.mb-3.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 %} {% else %}