UI: 2024 Hero component options #103971
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user