{% assign enrolled_lp = 0 %}
{% for learning_path in learning_paths.enrolled %}
  {% if learning_path.progress > 0 %}
    {% assign enrolled_lp = enrolled_lp | plus: 1 %}
  {% endif %}
{% endfor %}

{% include "header" %}
<div class="page-hero-container">
  <div class="hero-text-wrapper">
    <div class="hero-heading lang-en">Learning paths</div>
    <div class="hero-heading lang-de">Lernpfade</div>
    <div class="hero-heading lang-jp">学習プログラム</div>
    <div class="hero-heading lang-fr">Parcours d’apprentissage</div>
    <div class="hero-desc lang-en">The guides most relevant to you, all in one place.<br> Pick a use case and start exploring DeepL.</div>
    <div class="hero-desc lang-de">Die für Sie wichtigsten Leitfäden an einem Ort. <br>Wählen Sie einen Anwendungsfall und entdecken Sie DeepL.</div>
    <div class="hero-desc lang-jp">必要な動画や説明をテーマごとにまとめました。自分に合ったユースケースを選びDeepLの使い方を学びましょう。</div>
    <div class="hero-desc lang-fr">Les guides les plus pertinents pour vous, dans un seul et même endroit. Choisissez un cas d’utilisation et commencez à explorer DeepL.</div>
  </div>
</div>
<div class="np-homepage-featured np-max-width page-spacing">
  {% if enrolled_lp > 0 %}
    <section>
      {% include "your_lp" %}
    </section>
  {% endif %}
  <section>
    {% include "all_lp" %}
  </section>
</div>
{% include "footer" %}