{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.enrolled %}

<main class="np-main np-dashboard np-subpage-container np-max-width">
  <div class="header-catalog chubb">
    <a class="purple-link home-link" href="/app">Home </a>/ Dashboard
  </div>
  <div class="row np-flex-center">
    <div class="dashboard-content-wrapper">
      {% if features.learning_paths? %}
        <div class="section-headline">
          {% t shared.learning_paths %}
        </div>
        {% include "learning_paths_index", items: learning_paths.enrolled %}
      {% endif %}
      <div class="section-headline">
        {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %}
      </div>
      {% include "courses_index", class: "col-xs-12 col-md-6 col-lg-4 np-stretch-content" %}
    </div>
    {% if features.training_events? %}
      <div class="np-grid-spacing col-xs-12 col-sm-4">
        <div class="section-headline">
          {% t .upcoming_events %}
        </div>
          {% include "training_events_dashboard" %}
      </div>
    {% endif %}
  </div>
</main>
{% include "footer" %}
