<div class="what-we-do">
{%- if editmode -%}
<div class="what-we-do__topleft">
{{- pimcore_textarea('topleftText', {
'placeholder': 'Text'
}) -}}
<h2 class="what-we-do__headline">
{{- pimcore_input('headline', {
'placeholder': 'Sektions-Überschrift'
}) -}}
</h2>
</div>
<div class="what-we-do__topmid">
<svg class="what-we-do__logo"
aria-hidden="true"
focusable="false">
<use xlink:href="#logo-dark" />
</svg>
</div>
<div class="what-we-do__topright">
<div class="what-we-do__topright-text">
{{- pimcore_input('topRightTextTop', {
'placeholder': 'Text'
}) -}}
</div>
<div class="what-we-do__topright-value">
{{- pimcore_input('topRightValue', {
'placeholder': '12345'
}) -}}
</div>
<div class="what-we-do__topright-text">
{{- pimcore_input('topRightTextBottom', {
'placeholder': 'Text'
}) -}}
</div>
</div>
<picture class="what-we-do__left-image">
{{- pimcore_image('imageleft', {
'class': 'what-we-do__image'
}) -}}
</picture>
<div class="what-we-do__center">
<div class="what-we-do__we">
{{- pimcore_input('we', {
'placeholder': 'Wir.'
}) -}}
</div>
</div>
<figure class="what-we-do__bottom-image">
<picture class="what-we-do__bottom-picture">
{{- pimcore_image('imagebottom', {
'class': 'what-we-do__image'
}) -}}
</picture>
<figcaption class="what-we-do__bottom-caption">
<div class="what-we-do__bottom-caption-text">
{{- pimcore_input('bottomCaptionText', {
'placeholder': 'Text'
}) -}}
</div>
<div class="what-we-do__location">
{{- pimcore_input('location', {
'placeholder': 'Ort'
})-}}
</div>
</figcaption>
</figure>
<picture class="what-we-do__right-image">
{{- pimcore_image('imageright', {
'class': 'what-we-do__image'
}) -}}
</picture>
{%- else -%}
{%- set topleftText = pimcore_textarea('topleftText') -%}
{%- set headline = pimcore_input('headline') -%}
{%- set topRightTextTop = pimcore_input('topRightTextTop') -%}
{%- set topRightValue = pimcore_input('topRightValue') -%}
{%- set topRightTextBottom = pimcore_input('topRightTextBottom') -%}
{%- set imageleft = pimcore_image('imageleft', {
'thumbnail': 'whatWeDoImageLeft',
'pictureAttributes': {
'class': 'what-we-do__left-image'
},
'imgAttributes': {
'class': 'what-we-do__image',
'loading': 'lazy'
}
}) -%}
{%- set weeee = pimcore_input('we') -%}
{%- set imagebottom = pimcore_image('imagebottom', {
'thumbnail': 'whatWeDoImageBottom',
'pictureAttributes': {
'class': 'what-we-do__bottom-picture'
},
'imgAttributes': {
'class': 'what-we-do__image',
'loading': 'lazy'
}
}) -%}
{%- set bottomCaptionText = pimcore_input('bottomCaptionText') -%}
{%- set location = pimcore_input('location') -%}
{%- set imageright = pimcore_image('imageright', {
'thumbnail': 'whatWeDoImageLeft',
'pictureAttributes': {
'class': 'what-we-do__right-image'
},
'imgAttributes': {
'class': 'what-we-do__image',
'loading': 'lazy'
}
}) -%}
<div class="what-we-do__topleft">
{%- if not topleftText.isEmpty() -%}
<p class="what-we-do__topleft-text">
{{- topleftText|nl2br -}}
</p>
{%- endif -%}
{%- if not headline.isEmpty() -%}
<h2 class="what-we-do__headline">
{{- headline|raw -}}
</h2>
{%- endif -%}
</div>
<div class="what-we-do__topmid">
<svg class="what-we-do__logo"
aria-hidden="true"
focusable="false">
<use xlink:href="#logo-dark" />
</svg>
</div>
<div class="what-we-do__topright">
<div class="what-we-do__topright-content">
{%- if not topRightTextTop.isEmpty() -%}
<p class="what-we-do__topright-text">
{{- topRightTextTop|raw -}}
</p>
{%- endif -%}
{%- if not topRightValue.isEmpty() -%}
<p class="what-we-do__topright-value">
{{- topRightValue|raw -}}
</p>
{%- endif -%}
{%- if not topRightTextBottom.isEmpty() -%}
<p class="what-we-do__topright-text">
{{- topRightTextBottom|raw -}}
</p>
{%- endif -%}
</div>
</div>
{%- if not imageleft.isEmpty() -%}
{{- imageleft|raw -}}
{%- else -%}
<div class="what-we-do__image-left"></div>
{%- endif -%}
<div class="what-we-do__center">
{%- if not weeee.isEmpty() -%}
<p class="what-we-do__we">
{{- weeee|raw -}}
</p>
{%- endif -%}
</div>
{%- if not imagebottom.isEmpty() -%}
<figure class="what-we-do__bottom-image">
{{- imagebottom|raw -}}
{%- if not bottomCaptionText.isEmpty() or not location.isEmpty() -%}
<figcaption class="what-we-do__bottom-caption">
{%- if not bottomCaptionText.isEmpty() -%}
<p class="what-we-do__bottom-caption-text">
{{- bottomCaptionText|raw -}}
</p>
{%- endif -%}
{%- if not location.isEmpty() -%}
<p class="what-we-do__location">
{{- location|raw -}}
</p>
{%- endif -%}
</figcaption>
{%- endif -%}
</figure>
{%- else -%}
<div class="what-we-do__bottom-image"></div>
{%- endif -%}
{%- if not imageright.isEmpty() -%}
{{- imageright|raw -}}
{%- else -%}
<div class="what-we-do__image-right"></div>
{%- endif -%}
{%- endif -%}
</div>