{% assign omni = false %}
{% assign core = false %}
{% assign log_out = true %}

{% if current_person.signed_in? %}
  {% assign log_out = false %}
  {% for group in current_person.groups %}
    {% if group.name contains 'Core' %}
      {% assign core = true %}
      {% elsif group.name contains 'Omni' %}
        {% assign omni = true %}
    {% endif %}
  {% endfor %}
{% endif %}

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


<div class="hero-homepage">
  <div class="np-max-width">
    <div class="hero-text ">My Dashboard</div>
    <div class="hero-subheading">Easily view your badges, start and resume courses and learning paths, and revisit courses you’ve completed here on your dashboard.</div>
  </div>
</div>
<div class="section np-max-width">
      <div class="heading-dashboard lora">My Badges</div>
      <div class="section-content">
    {% include 'my_badges_carousel' %}
  </div>
</div>
<div class="section np-max-width">
  <div class="heading-dashboard lora">My Courses & Paths in Progress</div>
  <div class="section-content">
    {% include 'my_learning_paths_and_courses_carousel' %}
    </div>
    </div>
<div class="section np-max-width">
      <div class="heading-dashboard lora">Completed Courses</div>
      <div class="section-content">
    {% include 'my_courses_carousel' %}
  </div>
</div>
<div class="section np-max-width">
  <div class="heading-dashboard lora">My Live Events</div>
  <div class="section-content">
    {% include "training_events_dashboard" %}
  </div>
</div>
{% include "footer" %}
