

<div class="homepage-resource-header catalog-header" style="margin-top: 50px; margin-bottom: 20px;">
  All Learning
</div>
{%- comment -%} Catalog is not used in this school. The "catalog" is the set of unstarted enrolled courses shown at the homepage {%- endcomment -%}
<div class="np-catalog-courses" style="display: flex; flex-direction: row; flex-wrap: wrap;">
  {% comment %} row row-with-thumbnails {% endcomment %}
  {% for course in courses.enrolled %}
		{% assign allCats = '' %}
		{% for category in course.categories %}
			{% assign allCats = allCats | append: category.name | append: ' || '%}
		{% endfor %}
    {%- comment -%} {% unless course.progress > 0 %}
    {% endunless %} {%- endcomment -%}
		<div class="col-xs-12 col-sm-6 col-lg-4 np-stretch-content course-card-wrapper" data-product="{{ course.properties.product_names_for_course_cards}}" data-categories="{{ allCats }}">
      {%- comment -%} {% include "cards_course" with course, flag: 'catalog' %} {%- endcomment -%}
      {% if current_person.email contains '+preview' or current_person.email == 'kfelton@anthology.com'%}
        {% include "cards_course_revamped" with course, flag: 'null' %}
      {% else %}
        {% include "cards_course" with course, flag: 'null' %}
      {% endif %}
    </div>
  {% endfor %}
</div>
