
{% include "home_section_topheader" %}
{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}
{% include "home_section_topbanner" %}
<main class="np-main np-courses np-subpage-container">
<div class="np-max-width">
<div class="np-course-group">
			<div class="np-course-title">
				<h3>courses</h3>
			</div>
			<div class="course-right-link">
				<a href="https://academy.datastory.guide/app/courses" class="h-explore-btn">Explore all courses</a>
				<div class="clearfix"></div>
			</div>
		</div>

	{% if current_person.signed_in? %}
	  <div class="row row-with-thumbnails">
   {% for course in courses.enrolled %}
   <div class="col-xs-12 col-sm-6 col-lg-3 np-stretch-content course-grid-item">
      {% include "cards_course" %}
	  </div>
  {% endfor %}
  </div>
  
{% else %}
<div class="row row-with-thumbnails">
  {% for course in courses.in_catalog %}
     <div class="col-xs-12 col-sm-6 col-lg-3 np-stretch-content course-grid-item">
	 {% include "cards_course" %}
	 </div>
  {% endfor %}
   </div>
{% endif %}
</div>
</div>
</main>

{% include "home_section_business" %}
{% include "home_section_recognition" %}
{% include "home_section_whylearn" %}
{% include "home_section_faq" %}
{% include "home_section_resources" %}
{% include "footer" %}

