{% set brand = document.getProperty('hasBrand')|default(false) %}
{% if not editmode %}
{{ include('navigation/breadcrumb.html.twig') }}
{% endif %}
<section class="container page-heading">
<div class="row gy-3">
<div class="col-xl-8">
{{ include('includes/title-blocks/title-block.html.twig', {
isBig: true,
titleStyle: '',
titleTag: 'h1',
}) }}
</div>
{% if brand and brand.navigationLogo %}
<div class="col-xl-4">
<div class="page-heading__img-container">
{{ brand.navigationLogo.thumbnail('page-heading-logo').getHtml({
imgAttributes: {
class: 'js-lazy-img page-heading__logo',
},
lowQualityPlaceholder: true,
})|raw }}
</div>
</div>
{% endif %}
</div>
{% if editmode or not pimcore_link('cta1').isEmpty() %}
{{ pimcore_link('cta1', {
class: 'btn btn-dark mb-1'
}) }}
{% endif %}
{% if editmode %}
<br><br>
{% endif %}
{% if editmode or not pimcore_link('cta2').isEmpty() %}
{{ pimcore_link('cta2', {
class: 'btn btn-dark mb-1'
}) }}
{% endif %}
</section>
{% if not editmode %}
{{ include('navigation/anchor-nav.html.twig') }}
{% endif %}
{% if editmode or not pimcore_image('hero-image').isEmpty() %}
<section class="hero-content">
<div class="row align-items-center">
<div class="col-auto">
<div class="explore">
<span>{{ 'brand.hero.Explore'|trans }}</span>
<span aria-hidden="true" class="icon icon-scroll"></span>
</div>
</div>
<div class="col">
<div class="ratio ratio-8x3 shadow border-radius-8">
{{ pimcore_image('hero-image', {
thumbnail: 'hero-content',
class: 'ratio-item hero-content__img',
imgAttributes: {
class: 'ratio-item js-lazy-img hero-content__img',
},
lowQualityPlaceholder: true,
})|raw }}
{% if not editmode and not pimcore_image('hero-image').isEmpty() %}
{{ pimcore_image('hero-image').getThumbnail('hero-content').getHtml({
imgAttributes: {
class: 'ratio-item hero-content__img'
},
loading: 'eager',
})|raw }}
{% endif %}
</div>
</div>
</div>
</section>
{% endif %}