{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.enrolled %}
{% comment %}{% include "sub_navigation" %}{% endcomment %}
<main class="np-main np-dashboard np-subpage-container np-max-width">
  <div class="np-dashboard-header">
    <div class="np-resource-title">Hi {{current_person.first_name}}! &#128075;</div>
    <div class="np-resource-subtitle">This is what's relevant to you right now in Recast Academy.</div>
  </div>

  <div class="row np-flex-center">
    <div class="col-xs-12 col-md-8">
      {% if features.learning_paths? %}
        <div class="np-dashboard-resources-title">
          {% t shared.learning_paths %}
        </div>
        {% include "learning_paths_index", items: learning_paths.enrolled %}
      {% endif %}
      <div class="np-dashboard-resources-title">
        {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %}
      </div>
      {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %}
    </div>    
    <div class="np-grid-spacing col-xs-12 col-md-4 progress-section">
      <div class="np-dashboard-resources-title">Course Progress</div>
      {% include "widget_course_progress" %}
    </div>
  </div>
</main>
{% include "footer" %}
