Files
Gainsight/Custom_Templates/customer_templates/Pipedrive - Learn/video-tutorials.html.liquid

36 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-09-12 18:25:34 -04:00
{% 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">
{% include "green_banner_image",
banner_title: '<span>Video Tutorials</span>',
banner_text: '<span>Welcome to Pipedrives video tutorials section, where youll find video and CRM training resources to help your business grow with our CRM software.</span>',
banner_button_text: '<span>Sign up for courses</span>',
banner_button_link: "#sso-widget",
banner_image_url: "https://s3.amazonaws.com/static.northpass.com/pipedrive/homepage-card-webinars.webp"
%}
{% include "video_tutorials_courses", lang: "en" %}
{% include "video_tutorials_page_info" %}
{% include 'opinions' %}
{% include 'video_tutorials_faq' %}
{% unless current_person.signed_in? %}
{% include "green_banner_text_bg_image",
banner_title: '<span>Unlock videos for free</span>',
banner_text: "",
banner_button_text: '<span>Sign up</span>',
banner_button_link: "#sso-widget"
%}
{% 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 %}