{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.enrolled %}
  <div class="np-homepage-hero">
    <img class="np-homepage-hero-image"
      src="{{ homepage.artwork_url }}"
      alt="{{ homepage.headline }}"
    />
  </div>
{% 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">
	  <div class="np-resource-title">
		Welcome, {{ current_person.first_name }}! &#128075;
	  </div>
	  <div class="np-resource-subtitle">
		Welcome to your personalized learning dashboard! Here, you'll discover all the courses and learning paths assigned to you. Additionally, you'll see an overview of upcoming workshops you've signed up for.
	  </div>
	  <div class="np-dashboard-resources-title">
		Your Courses
		{% comment %} {% t shared.course_vocabulary.plural, key: current_school.course_vocabulary %} {% endcomment %}
	  </div>
	  {% include "courses_index", class: "col-xs-12 col-sm-6 np-stretch-content" %}
      {% if features.learning_paths? %}
        <div class="np-dashboard-resources-title">
		  Your Learning Paths
          {% comment %} {% t shared.learning_paths %} {% endcomment %}
        </div>
        {% include "learning_paths_index", items: learning_paths.enrolled %}
      {% endif %}
    </div>
    {% if features.training_events? %}
      <div class="np-grid-spacing col-xs-12 col-sm-4">
        <div class="np-dashboard-resources-title">
		  Upcoming Workshops
          {% comment %} {% t .upcoming_events %} {% endcomment %}
        </div>
          {% include "training_events_dashboard" %}
      </div>
    {% endif %}
  </div>
</main>
{% include "footer" %}
