{% if mode == "editmode" %}
{% set cols = 'w-1/2' %}
{% if auswahl == 'three' %}
{% set cols = 'w-1/3' %}
{% endif %}
<div class="my-3 flex flex-wrap overflow-hidden">
<div class="{{ cols }} overflow-hidden pr-3">
<div class="flex flex-wrap overflow-hidden">
<div class="w-full overflow-hidden">
<p>Spalten-Überschrift (optional): {{ pimcore_textarea("Lheadline", { "height" : 60 }) }}</p>
</div>
</div>
<div class="my-3 flex flex-wrap overflow-hidden">
<div class="w-1/4 overflow-hidden">
SEO:
</div>
<div class="w-1/4 overflow-hidden">
{% include 'seo.html.twig' with { 'name': 'Lseo', 'default' : 'h3' } %}
</div>
<div class="w-1/2 overflow-hidden">
{% include 'color-selector.html.twig' with { 'name': 'LseoHeadlineColor', 'description': 'Farbe der Überschrift', 'type': 'accordeon' } %}
</div>
</div>
<hr />
</div>
{% if auswahl == 'three' %}
<div class="{{ cols }} overflow-hidden">
<div class="flex flex-wrap overflow-hidden">
<div class="w-full overflow-hidden">
<p>Spalten-Überschrift (optional): {{ pimcore_textarea("Mheadline", { "height" : 60 }) }}</p>
</div>
</div>
<div class="my-3 flex flex-wrap overflow-hidden">
<div class="w-1/4 overflow-hidden">
SEO:
</div>
<div class="w-1/4 overflow-hidden">
{% include 'seo.html.twig' with { 'name': 'Mseo', 'default' : 'h3' } %}
</div>
<div class="w-1/2 overflow-hidden">
{% include 'color-selector.html.twig' with { 'name': 'MseoHeadlineColor', 'description': 'Farbe der Überschrift', 'type': 'accordeon' } %}
</div>
</div>
<hr />
</div>
{% endif %}
<div class="{{ cols }} overflow-hidden pl-3">
<div class="flex flex-wrap overflow-hidden">
<div class="w-full overflow-hidden">
<p>Spalten-Überschrift (optional): {{ pimcore_textarea("Rheadline", { "height" : 60 }) }}</p>
</div>
</div>
<div class="my-3 flex flex-wrap overflow-hidden">
<div class="w-1/4 overflow-hidden">
SEO:
</div>
<div class="w-1/4 overflow-hidden">
{% include 'seo.html.twig' with { 'name': 'Rseo', 'default' : 'h3' } %}
</div>
<div class="w-1/2 overflow-hidden">
{% include 'color-selector.html.twig' with { 'name': 'RseoHeadlineColor', 'description': 'Farbe der Überschrift', 'type': 'accordeon' } %}
</div>
</div>
<hr />
</div>
</div>
<hr />
<div class="my-3 flex flex-wrap overflow-hidden">
<div class="{{ cols }} overflow-hidden pr-3 {{ Lazz }} list-{{ LazzColor }}">
Text: {{ pimcore_wysiwyg("Ltext", { "height" : 200 }) }}
{% include 'bullet-points.html.twig' with { 'name': 'Lbullets', 'description': 'Aufzählungszeichen' } %}
{% include 'color-selector.html.twig' with { 'name': 'LbulletColor', 'description': 'Farbe der Bullets', 'default': 'stwh-rot-2024' } %}
</div>
{% if auswahl == 'three' %}
<div class="{{ cols }} overflow-hidden {{ Mazz }} list-{{ NazzColor }}">
Text: {{ pimcore_wysiwyg("Mtext", { "height" : 200 }) }}
{% include 'bullet-points.html.twig' with { 'name': 'Mbullets', 'description': 'Aufzählungszeichen' } %}
{% include 'color-selector.html.twig' with { 'name': 'MbulletColor', 'description': 'Farbe der Bullets', 'default': 'stwh-rot-2024' } %}
</div>
{% endif %}
<div class="{{ cols }} overflow-hidden pl-3 {{ Razz }} list-{{ RazzColor }}">
Text: {{ pimcore_wysiwyg("Rtext", { "height" : 200 }) }}
{% include 'bullet-points.html.twig' with { 'name': 'Rbullets', 'description': 'Aufzählungszeichen' } %}
{% include 'color-selector.html.twig' with { 'name': 'RbulletColor', 'description': 'Farbe der Bullets', 'default': 'stwh-rot-2024' } %}
</div>
</div>
<hr />
<div class="my-3 flex flex-wrap overflow-hidden">
<div class="{{ cols }} overflow-hidden pr-3">
<div class="w-1/2 overflow-hidden pr-3">
Link-Button (optional):
</div>
<div class="w-1/2 overflow-hidden">
{{ pimcore_link("Llink") }}
</div>
</div>
{% if auswahl == 'three' %}
<div class="{{ cols }} overflow-hidden">
<div class="w-1/2 overflow-hidden pr-3">
Link-Button (optional):
</div>
<div class="w-1/2 overflow-hidden">
{{ pimcore_link("Mlink") }}
</div>
</div>
{% endif %}
<div class="{{ cols }} overflow-hidden pl-3">
<div class="w-1/2 overflow-hidden pr-3">
Link-Button (optional):
</div>
<div class="w-1/2 overflow-hidden">
{{ pimcore_link("Rlink") }}
</div>
</div>
</div>
<hr />
<div class="my-3 flex flex-wrap overflow-hidden">
<div class="{{ cols }} overflow-hidden pr-3">
{% include 'color-selector.html.twig' with { 'name': 'Lbuttoncolor', 'description': 'Button-Farbe', 'type': 'button' } %}
</div>
{% if auswahl == 'three' %}
<div class="{{ cols }} overflow-hidden">
{% include 'color-selector.html.twig' with { 'name': 'Mbuttoncolor', 'description': 'Button-Farbe', 'type': 'button' } %}
</div>
{% endif %}
<div class="{{ cols }} overflow-hidden pl-3">
{% include 'color-selector.html.twig' with { 'name': 'Rbuttoncolor', 'description': 'Button-Farbe', 'type': 'button' } %}
</div>
</div>
<hr />
{% else %}
<div class="container mx-auto px-5">
<div class="flex flex-wrap">
{% set bordy = '' %}
{% set borderColor = pimcore_select('headline-divider-color').getData() %}
{% if pimcore_checkbox('hasDivider').isChecked() %}
{% set bordy = 'border-b-2 pb-2 border-' ~ borderColor %}
{% endif %}
{% set cols = 'w-1/2' %}
{% if auswahl == 'three' %}
{% set cols = 'w-1/3' %}
{% endif %}
{% if pimcore_textarea("headline") != '' %}
<div class="w-full mb-5 lg:mx-auto">
{% set seo = pimcore_select("seo").getData() %}
<{{ seo }} class="text-{{ pimcore_select("seoHeadlineColor").getData() }} block mb-5 md:mb-10 text-2xl md:text-4xl lg:text-5xl font-bold {{ bordy }}">
{{ pimcore_textarea("headline")|nl2br }}
</{{ seo }}>
</div>
{% endif %}
<div class="md:pr-3 w-full md:{{ cols }} mb-5 lg:mx-auto">
{% if pimcore_wysiwyg("Ltext") != '' %}
{% if pimcore_textarea("Lheadline") != '' %}
{% set Lseo = pimcore_select("Lseo").getData() %}
<{{ Lseo }} class="text-{{ pimcore_select("LseoHeadlineColor").getData() }} mb-5 md:mb-10 text-2xl md:text-4xl lg:text-5xl font-bold">
{{ pimcore_textarea("Lheadline")|nl2br }}
</{{ Lseo }}>
{% endif %}
{% if pimcore_wysiwyg("Ltext") != '' %}
<div class="text-lg list-{{ Lazz }} list-{{ LazzColor }}">
{{ pimcore_wysiwyg("Ltext") }}
</div>
{% endif %}
{% if pimcore_link("Llink") != '' %}
{% include 'widgets/button.html.twig' with { name: 'Llink', backColor: pimcore_select('Lbuttoncolor').getData() } %}
{% endif %}
{% endif %}
</div>
{% if auswahl == 'three' %}
<div class="md:px-3 w-full md:{{ cols }} mb-5 lg:mx-auto">
{% if pimcore_wysiwyg("Mtext") != '' %}
{% if pimcore_textarea("Mheadline") != '' %}
{% set Mseo = pimcore_select("Mseo").getData() %}
<{{ Mseo }} class="text-{{ pimcore_select("MseoHeadlineColor").getData() }} mb-5 md:mb-10 text-2xl md:text-4xl lg:text-5xl font-bold">
{{ pimcore_textarea("Mheadline")|nl2br }}
</{{ Mseo }}>
{% endif %}
{% if pimcore_wysiwyg("Mtext") != '' %}
<div class="text-lg list-{{ Mazz }} list-{{ MazzColor }}">
{{ pimcore_wysiwyg("Mtext") }}
</div>
{% endif %}
{% if pimcore_link("Mlink") != '' %}
{% include 'widgets/button.html.twig' with { name: 'Mlink', backColor: pimcore_select('Mbuttoncolor').getData() } %}
{% endif %}
{% endif %}
</div>
{% endif %}
<div class="md:pl-3 w-full md:{{ cols }} mb-5 lg:mx-auto">
{% if pimcore_wysiwyg("Rtext") != '' %}
{% if pimcore_textarea("Rheadline") != '' %}
{% set Rseo = pimcore_select("Rseo").getData() %}
<{{ Rseo }} class="text-{{ pimcore_select("RseoHeadlineColor").getData() }} mb-5 md:mb-10 text-2xl md:text-4xl lg:text-5xl font-bold">
{{ pimcore_textarea("Rheadline")|nl2br }}
</{{ Rseo }}>
{% endif %}
<div class="text-lg list-{{ Razz }} list-{{ RazzColor }}">
{{ pimcore_wysiwyg("Rtext") }}
</div>
{% if pimcore_link("Rlink") != '' %}
{% include 'widgets/button.html.twig' with { name: 'Rlink', backColor: pimcore_select('Rbuttoncolor').getData() } %}
{% endif %}
{% endif %}
</div>
</div>
</div>
{% endif %}