{% set nav_component_item_header_id = 'nav-component-item-header--' ~ component_item.id %}
{% set classes = ['component', 'navigation-component-item'] %}
<div id="{{ nav_component_item_header_id }}" {{ attributes.addClass(component_wrapper_class) }}>
{#  {{ content|without('field_image', 'field_body', 'field_link') }}#}
  <div{{ content_attributes.addClass('component-item--content') }}>
    {% if summary_information.field_image is not empty %}
      <div class="component-summaray-information--first">
        <div class="field field--name-field-image field--type-image">
          {{ content.field_image }}
        </div>
      </div>
    {% endif %}

    {% if summary_information.field_body is not empty or summary_information.field_link is not empty %}
      <div class="component-summaray-information--second">
        <h2>{{ content.title }}</h2>
        {{ content.field_body }}
        {{ content.field_link }}
      </div>
    {% endif %}
  </div>
</div>


