{% comment %} skip-auth {% endcomment %}
{% if current_person.signed_in? == false and current_school.sso_active? == false %}
    <script> window.location.replace('/learners/sign_in')</script>
  {% else %}
    {% include "header" %}
    
    <main class="video-tutorials">
      {% assign banner_title = '<span class="lang-en">Video Tutorials</span>
          <span class="lang-de">Video-Tutorials</span>
          <span class="lang-es">Tutoriales en vídeo</span>
          <span class="lang-fr">Tutoriels vidéo</span>
          <span class="lang-br">Tutoriais em vídeo</span>'
      %}
      {% assign banner_text = '<span class="lang-en">Welcome to Pipedrive’s video tutorials section, where you’ll find video and CRM training resources to help your business grow with our CRM software.</span>
          <span class="lang-de">Willkommen im Video-Tutorial-Bereich von Pipedrive. Hier finden Sie Videos und andere CRM-Schulungsressourcen, die Ihr Unternehmen beim Wachstum mit unserer CRM-Software unterstützen.</span>
          <span class="lang-es">Bienvenido a la sección de tutoriales en vídeo de Pipedrive, donde encontrarás recursos de formación en vídeo y CRM para ayudar a tu empresa a crecer con nuestro software CRM.</span>
          <span class="lang-fr">Bienvenue dans la section des tutoriels vidéo de Pipedrive, où vous trouverez des vidéos et des ressources de formation CRM pour aider votre entreprise à se développer avec notre logiciel CRM.</span>
          <span class="lang-br">Bem-vindo(a) à seção de tutoriais em vídeo da Pipedrive, onde você encontrará recursos de treinamento em vídeo e CRM para ajudar seu negócio a crescer com nosso software de CRM.</span>'
      %}
      {% assign banner_button_text = '<span class="lang-en">Sign up for courses</span>
          <span class="lang-de">Für Kurse anmelden</span>
          <span class="lang-es">Inscríbete en los cursos</span>
          <span class="lang-fr">S&#39;inscrire à des cours</span>
          <span class="lang-br">Inscreva-se nos cursos</span>'
  %}
      {% assign banner_button_link = "#sso-widget" %}
      {% assign banner_image_url = "https://s3.amazonaws.com/static.northpass.com/pipedrive/homepage-card-webinars.webp" %}
      {% include "green_banner_image" %}
      
      {% include "video_tutorials_courses" %}
      {% include "video_tutorials_page_info" %}
      {% include 'opinions' %}
      {% include 'video_tutorials_faq' %}
      
      {% unless current_person.signed_in? %}
        {% assign banner_title = '<span class="lang-en">Unlock videos for free</span>
            <span class="lang-de">Videos kostenlos freischalten</span>
            <span class="lang-es">Desbloquear vídeos gratis</span>
            <span class="lang-fr">Débloquez des vidéos gratuitement</span>
            <span class="lang-br">Desbloquear vídeos de graça</span>'
        %}
        {% assign banner_text = "" %}
        {% assign banner_button_text = '<span class="lang-en">Sign up</span>
            <span class="lang-de">Anmelden</span>
            <span class="lang-es">Regístrate</span>
            <span class="lang-fr">S&#39;inscrire</span>
            <span class="lang-br">Cadastre-se</span>'
        %}
        {% assign banner_button_link = "#sso-widget" %}
        {% include "green_banner_text_bg_image" %}
      {% endunless %}
      </main>
    
    {% include "footer" %}
  {% endif %}
  
  {% if current_person.signed_in? == false and current_school.sso_active? %}
    <script>
      const redirectionLink = 'https://user-learn.pipedrive.com/app/video-tutorials'
      document.querySelector('#redirect-between-academies').setAttribute('href', redirectionLink)
    </script>
  {% endif %}
  