{% set classes = [
  'client-logo',
] %}
{% set attributes = create_attribute() %}
{% set attributes = attributes.setAttribute('class', classes) %}

<div{{ attributes }}>
  {% if client_logo_logo %}
    <div class="client-logo__logo">
      {{ client_logo_logo|raw }}
    </div>
  {% else %}
    <div class="client-logo__name">
      {{ client_name }}
    </div>
  {% endif %}
</div>
