{% extends "base.html.twig" %}
{% block content %}
{{ include('@components/hero-header.html.twig', {
image: content.image.url,
text: content.heroImageText
}) }}
{{ include('@components/image-text-section.html.twig', {
image: content.teaserImage1.url|default('/website/images/placeholder-image.png'),
text: content.teaserText1,
order: {
text: '1',
image: '2'
},
externalLink: true
}) }}
{{ include('@components/image-text-section.html.twig', {
image: content.teaserImage2.url|default('/website/images/placeholder-image.png'),
text: content.teaserText2,
order: {
text: '2',
image: '1'
},
externalLink: true
}) }}
{{ include('@components/image-text-section.html.twig', {
image: content.teaserImage3.url|default('/website/images/placeholder-image.png'),
text: content.teaserText3,
order: {
text: '1',
image: '2'
},
button: {
withIcon: true,
text: content.teaserUrlText3,
link: content.teaserUrl3
},
externalLink: true
}) }}
{{ include('@components/image-text-section.html.twig', {
backgroundColorClass: 'bg-grey',
image: content.teaserImage4.url|default('/website/images/placeholder-image.png'),
text: content.teaserText4,
imageIsIcon: true,
order: {
text: '2',
image: '1'
},
button: {
withIcon: true,
text: content.teaserUrlText4,
link: content.teaserUrl4
},
externalLink: true
}) }}
{{ include('@components/image-text-section.html.twig', {
image: content.teaserImage5.url|default('/website/images/placeholder-image.png'),
text: content.teaserText5,
order: {
text: '2',
image: '1'
},
button: {
withIcon: true,
text: content.teaserUrlText5,
link: content.teaserUrl5
},
externalLink: true
}) }}
<div class="image-text-section mb-5 mt-lg-7 bg-yellow">
<div class="container py-3 py-md-5">
<div class="row gx-0 gx-md-5">
<div class="col-12 col-lg-6 order-2 order-lg-2 d-flex flex-column justify-content-between">
<div class="teaser-text">{{ content.teaserText6|raw }}</div>
{{ include('@components/link.html.twig', {
text: content.teaserUrlText6,
link: content.teaserUrl6,
textRight: true
}) }}
</div>
<div class="col-12 col-lg-6 mb-4 mb-lg-0 order-1 order-lg-1">
<img class="d-block w-100 mt-lg-n6" src="{{ content.teaserImage6.url }}" alt="">
</div>
</div>
</div>
</div>
{% endblock %}