{%- if editmode -%} {%- for i in pimcore_block('iconBlockBlock').iterator() -%}
Line color
{{ pimcore_select("lineColor", { "store": select_editables_store.theme_colors, "defaultValue": "body" }) }}
Heading semantic
{{ pimcore_select("headingSemantic", { "store": select_editables_store.heading_semantic, "defaultValue": "span" }) }}
Heading size
{{ pimcore_select("headingSize", { "store": select_editables_store.text_size, "defaultValue": "h5" }) }}
Heading color
{{ pimcore_select("headingColor", { "store": select_editables_store.theme_colors, "defaultValue": "body" }) }}
Body size
{{ pimcore_select("bodySize", { "store": select_editables_store.text_size, "defaultValue": "b1" }) }}
Body color
{{ pimcore_select("bodyColor", { "store": select_editables_store.theme_colors, "defaultValue": "body" }) }}
{{ pimcore_image('icon', { width: 200, height: 200 }) }}
{{ pimcore_input('heading', { placeholder: 'Lorem ipsum' }) }}
{{ pimcore_wysiwyg('body', { placeholder: 'Lorem ipsum dolor sit amet' }) }}
{%- endfor -%} {%- else -%} {%- macro col(width, breakpoint) -%} col{{ breakpoint ? '-' ~ breakpoint : '' }}{{ width == '' ? '' : '-' ~ width }} {%- endmacro -%} {%- if pimcore_block('iconBlockBlock').count > 0 -%}
{%- for i in pimcore_block('iconBlockBlock').iterator() -%} {%- set icon = pimcore_image('icon') -%} {%- set heading = pimcore_input('heading') -%} {%- set body = pimcore_wysiwyg('body') -%}

{%- if not icon.empty -%}
{# to change the height of the icon, play with the padding here in this div #}
{%- endif -%} {%- if heading.data -%}
<{{ pimcore_select("headingSemantic").data }} class="{{ pimcore_select("headingSize").data }} text-{{ pimcore_select("headingColor").data }}"> {{ heading.data }}
{%- endif -%} {%- if body.data -%}
{{ body.data | raw }}
{%- endif -%}
{%- endfor -%}
{%- endif -%} {%- endif -%}