---
layout: page
title: Sponsors
---
{% for level in site.sponsorship_levels %}
  {% set sponsors = site.sponsors[level] %}
  {% if sponsors %}
    <section class="tw-block tw-mb-8">
      <h2 class="tw-mb-4">{{ level ~ ' Sponsors'|capitalize }}</h2>

      <div class="{{ level == 'gold' ? '' : 'tw-flex tw-flex-wrap tw--mx-2' }}">
        {% for sponsor in sponsors %}
          <article class="{{ level == 'gold' ? 'tw-w-full' : 'tw-w-1/6 tw-px-2 tw-mb-6' }}">
            {% set template = (level == 'gold') ? 'sponsors/full' : 'sponsors/teaser' %}
            {% include template with {
              description: sponsor.description,
              logo: sponsor.logo,
              name: sponsor.name,
              url: sponsor.url,
            } %}
          </article>
        {% endfor %}
      </div>
    </section>
  {% endif %}
{% endfor %}