UI: 2024 Hero component options #103971
@ -8,6 +8,7 @@
|
|||||||
.hero.hero-dark.hero-lg.is-container-overlap
|
.hero.hero-dark.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
|
||||||
{% 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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user