{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.enrolled %}
<main class="np-main np-dashboard np-subpage-container np-max-width">
  <div class="hidden-desktop-custom">
    {% include "sub_navigation" %}
  </div>
  <div class="np-dashboard-header">
    <div class="header-2">Hi {{current_person.first_name}}!</div>
    <div class="np-resource-subtitle">Keep up the good work! Here's what is relevant to you right now.</div>
  </div>
  <div class="row np-flex-center">
    <div class="col-xs-12 col-sm-8">
      {% if features.learning_paths? %}
        <div class="header-3">
          {% t shared.learning_paths %}
        </div>
        {% include "learning_paths_index", items: learning_paths.enrolled %}
      {% endif %}
    </div>
    {% if features.training_events? %}
      <div class="np-grid-spacing col-xs-12 col-sm-4">
        <div class="header-3">
          Course Progress
        </div>
        {% include "widget_course_progress" %}
      </div>
    {% endif %}
  </div>
  {% comment %} <div class="np-dashboard-resources-title">
    Upcoming events
  </div>
  {% include "training_events_index" %} {% endcomment %}
  <div class="header-3">
  Courses
  </div>
  {% include "homepage_courses_carousel"%}
  <div class="row dashboard-section-instructors">
    <div class="col-xs-12">
      <div class="header-3">
        Meet your instructors
      </div>
      {% 
      include "carousel_instructors", 
      %}
    </div>
  </div>
</main>
{% include "footer" %}

<style>
  .np-dashboard-header {
    margin-bottom:60px;
  }
</style>