{% comment %}
  Renders a list advertising banner

  Usage:
  {% render 'banner-advertise-v2'%}
{% endcomment %}

<xo-animate xo-cascade class='banner-advertise-v2'>
  <a href='/collections/all' class='banner-advertise-v2__image'>
    {% render 'image', image: section.settings.advertise_image %}
  </a>
  <div class='banner-advertise-v2__box'>
    <h3 class='banner-advertise-v2__title'>{{ section.settings.advertise_title }}</h3>
    {% render 'button',
      text: section.settings.button_text,
      link: section.settings.button_link,
      style: section.settings.button_style,
      size: section.settings.button_size,
      radius: section.settings.button_radius,
      padding: section.settings.button_padding,
      type: section.settings.button_type,
      loading_type: section.settings.buttons_loading,
      class: 'advertise'
    %}
  </div>
</xo-animate>
