{% include "header_absolute" %}
{% include "course_version_outdated_alert", courses: courses.enrolled %}
<div class="basic-hero has-image">
  <div class="hero-content">
    <div class="np-resource-title">Discover the intersection of science, reason, and faith</div>
    <div class="np-resource-title" style="font-size:2.25em;">Magis Institute for Teachers & Catechists</div>
  </div>
</div>
{% comment %} {% include "sub_navigation" %} {% endcomment %}
<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>
      {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %}
    </div>
    {% if features.training_events? %}
      <div class="np-grid-spacing col-xs-12 col-sm-4">
        <div class="np-dashboard-resources-title">
          {% t .upcoming_events %}
        </div>
          {% include "training_events_dashboard" %}
      </div>
    {% endif %}
  </div>
</main>
{% include "footer" %}

