{% include "header" %}
{% include "homepage_hero" %}
{% 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-11">
      <div class="introduction">
        <div class="np-resource-title">Required Training</div>
        <div class="np-resource-subtitle">All Pals need to complete the below training. The information in it will help you better understand Papa, our members and how we all work together to ensure a safe and positive Papa community.</div>
      </div>
    </div>
  </div>

  <div class="row np-flex-center">
    {% comment %} {% if features.training_events? %}
    {% assign courses_index_col = "col-sm-8" %}
    {% assign cards_classes = "col-xs-12 col-sm-6 np-stretch-content " %}
    {% else %}
    {% assign courses_index_col = "col-sm-11" %}
    {% assign cards_classes = "col-xs-12 col-sm-6 col-md-4 np-stretch-content" %}
    {% endif %} {% endcomment %}
    <div class="col-xs-12 col-sm-11">
      {% if features.learning_paths? %}
        <div class="np-dashboard-resources-title">
          {% t shared.learning_paths %}
        </div>
        {% include "learning_paths_index", items: learning_paths.enrolled %}
      {% endif %}
      {% include "courses_index", class: "col-xs-12 col-sm-6 col-md-4 np-stretch-content" %}
    </div>
    {% comment %} {% 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 %} {% endcomment %}</div>
</main>
{% include "footer" %}