Updated Pipedrive's templates, mostly.

This commit is contained in:
Norm Rasmussen
2024-09-12 18:25:34 -04:00
parent 70b5d04b26
commit e78efae8aa
353 changed files with 5405 additions and 1769 deletions

View File

@ -0,0 +1,71 @@
{% if current_person.signed_in? == false and current_school.sso_active? == false %}
<script> window.location.replace('/learners/sign_in')</script>
{% else %}
<script>
if (window.localStorage.getItem('academy-language') === "de") {
window.location.href = "/app/de-homepage";
}
</script>
{% include "header" %}
<main class="homepage">
{% if current_person.signed_in? %}
{% assign new_person = true %}
{% for course in courses.enrolled %}
{% if course.started? %}
{% assign new_person = false %}
{% break %}
{% endif %}
{% endfor %}
{% if new_person %}
{% include 'homepage_banner_new_person' %}
{% include 'homepage_recommended' %}
{% include "homepage_generic_cards" %}
{% include "homepage_page_info" %}
{% include "opinions" %}
{% include 'homepage_faq' %}
{% else %}
{% include 'homepage_banner' %}
{% include 'homepage_latest_courses' %}
{% endif %}
{% else %}
{% include "green_banner_text",
banner_title: '<span>Pipedrive Learn</span>',
banner_text: '<span>Welcome to Pipedrive Learn! Here, youll find CRM training videos to help you learn CRM management and sales skills. Explore everything from in-depth sales, marketing and CRM courses to quick tutorials on specific CRM tools.</span>',
banner_button_text: '<span>Register now</span>',
banner_button_link: "#sso-widget"
%}
{% include "homepage_generic_cards" %}
{% include "homepage_page_info" %}
{% include "opinions" %}
{% include 'homepage_faq' %}
{% endif %}
{% include "green_banner_image_alt",
banner_title: '<span>How to get the most out of Pipedrive</span>',
banner_text: '<span>
Pipedrive CRM is overflowing with intelligent tools to improve your sales and marketing processes. Our CRM platform offers everything from <a href="https://www.pipedrive.com/en/products/email-marketing-software/marketing-automation-tool">marketing automation</a> features to in-depth sales reports.<br>
Seamlessly keep track of leads and potential customers with Pipedrives intuitive pipeline view. Get notified when your prospects are ready to close a deal so you can follow up at precisely the right time.<br><br>
Centralize all your customer information under one roof and integrate it with your digital marketing tools. Add custom fields for contacts and separate them by industries to ensure you target the hottest leads.<br>
Start using Pipedrive Learn today to make the most of your powerful CRM tool and keep the deals rolling in.<br>
</span>',
banner_button_text: '<span>Start today</span>',
banner_button_link: "#sso-widget",
banner_image_url: "https://s3.amazonaws.com/static.northpass.com/pipedrive/example_alt_banner.png"
%}
</main>
{% include "footer" %}
{% endif %}
<script>
{% if current_person.signed_in? == false and current_school.sso_active? %}
const redirectionLink = 'https://user-learn.pipedrive.com/app'
document.querySelector('#redirect-between-academies').setAttribute('href', redirectionLink)
{% endif %}
</script>