{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}
{% include 'hero_image', image_url:"https://s3.amazonaws.com/static.northpass.com/Terminus/terminus-LMS-academy-3rev.jpg" %}
{% include "sub_navigation" %}
<main class="np-main np-dashboard np-subpage-container np-max-width">
  <div class="row np-flex-center">
    <div class="col-xs-12 col-sm-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>
    </div>
    {% if features.training_events? %}
      <div class="np-grid-spacing col-xs-12 col-sm-4">
        <div class="np-dashboard-resources-title">
          UPCOMING EVENTS
        </div>
          {% include "training_events_dashboard" %}
      </div>
    {% endif %}
  </div>
  <div class="row np-flex-center">
    {% include "courses_index", class: "col-xs-12 col-sm-6 col-md-4 np-stretch-content" %}
  </div>
</main>
{% include "footer" %}

<style>
  .np-sub-navigation {
    margin-bottom: 0;
  }
</style>
