itsblue-website/themes/itsblue/templates/partials/hero.html.twig
Dorian Zedler 07bcc3a539
- added MakerLab Murnau Link
- added three new fields of activity
- added new hero image on home page
- added the option to control the initial offset of the hero image
2020-05-06 19:55:37 +02:00

8 lines
553 B
Twig
Executable file

<section id="header-hero" class="section modular-hero hero {{ page.header.hero_classes }} {{ page.header.background.parallax ? 'parallax' : '' }}" {% if hero_image %}style="background-image: url('{{ hero_image.url }}'); background-position-y: {{ page.header.hero_positionY }}%;"{% endif %}>
<div class="image-overlay"></div>
<section class="container {{ grid_size }}" style="text-align: {{ page.header.hero_align|default('center') }}">
{{ content|raw }}
</section>
<i id="to-start" class="pulse fa fa-angle-down"></i>
</section>