{% if courses.enrolled.any? %}
  <div class="row row-with-thumbnails">
    {% for course in courses.enrolled %}
      {% for category in course.categories  %}
        {% unless category.name == 'Pear Deck Resource' or  category.name == 'GoGuardian Resource' or  category.name == 'Edulastic Resource'%}
          <div class="{{ class }}">
            {% include "cards_course" with course %}
          </div>
        {% endunless %}
      {%endfor%}
    {% endfor %}
  </div>
{% else %}
  {% capture message %}
    {% t shared.zero_state.courses.index,
      key: current_school.course_vocabulary
    %}
  {% endcapture %}
  {% include "courses_zero_state", message: message %}
{% endif %}
