{% assign category_advisors = false %}

{% for group in current_person.groups %}
  {% if group.name == 'Category Advisors' %}
    {% assign category_advisors = true %}
  {% endif %}
{% endfor %}

{% unless category_advisors %}
    <script>
        window.location.replace('/app');
    </script>
{% endunless %}

{% include "header" %}
{% include "sub_navigation" %}
<main class="np-main np-learning-paths np-subpage-container np-max-width">
    {% include 'advisors_banners' %}
  <div class="np-learning-paths-main advisors-lps-container">
    {% include "learning_paths_index_advisors", items: learning_paths.available %}
  </div>
</main>
{% include "footer" %}

<style>
    .advisors-lps-container {
        margin-top: 40px;
    }
</style>