{% 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) }}>

  {{ title_prefix }}
  {% if label %}
    <h2{{ title_attributes.addClass('title') }}>{{ label }}</h2>
  {% endif %}
  {{ title_suffix }}

  <div{{ content_attributes.addClass('component-item--content') }}>
{#    {{ content|without('title') }}#}
    {{ content.field_classified_ads_text }}
{#    <a href="#">{{ content.field_classified_ads_image }}</a>#}
{#    {{ dump(classified_ads.field_classified_ads_image) }}#}
    <div class="field__items">
      {% for item in classified_ads.field_classified_ads_image %}
        {% set imagestyle = {
          '#theme':      'image_style',
          '#style_name': 'we_800_460',
          '#uri':        item.entity.uri.value,
          '#alt':        item.alt,
        } %}
        <div class="field__item">
          <a href="#">{{ imagestyle }}</a>
        </div>
      {% endfor %}
    </div>
  </div>
</div>