{% include "header" %}
<main class="np-main np-homepage">
  <div class="np-homepage-hero">
    <img class="np-homepage-hero-image"
      src="{{ homepage.artwork_url }}"
      alt="{{ homepage.headline }}"
    />
    <div class="np-homepage-hero-content">
      <div class="np-homepage-headline np-header-font-color">
        {{ homepage.headline }}
      </div>
      <div class="np-homepage-subheadline np-header-font-color">
        {{ homepage.subheadline }}
      </div>
    </div>
  </div>
  {% include "sub_navigation" %}
  <div class="np-homepage-featured np-max-width">
    <div class="np-homepage-featured-text">
      <div class="np-homepage-headline">
        {{ homepage.featured_courses_headline }}
      </div>
      <div class="np-homepage-subheadline">
        {{ homepage.featured_courses_subheadline }}
      </div>
    </div>
    <div class="row np-flex-center">
      <div class="col-xs-12 col-sm-8">
    <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>
    <div class="np-grid-spacing col-xs-12 col-sm-4">
      <div class="np-dashboard-resources-title">
        Course Progress
      </div>
        {% include "completion_dashboard" %}
      </div>
    </div>
  </div>  
</main>
{% include "footer" %}

<style>
  .np-homepage-headline {
    font-size: 30px !important;
    color: #FB9200;
  }
  .np-card {
    padding-bottom: 1rem !important;
  }
</style>