Deleted the start page files since I use arc now. Updated Chubb's templates to look into their issues with images.
This commit is contained in:
@ -0,0 +1,23 @@
|
||||
{% capture settings_path %}{% route account %}{% endcapture %}
|
||||
{% capture transcript_path %}{% route transcript %}{% endcapture %}
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
{% unless current_school.sso_active? %}
|
||||
<nav class="np-tabs np-account-tabs">
|
||||
<div class="np-tabs-content">
|
||||
<div class="np-tab{% if page.path == settings_path %} np-tab-active{% endif %}">
|
||||
<a class="np-tab-link" href="{{ settings_path}}">
|
||||
{% t .profile_settings %}
|
||||
</a>
|
||||
<div class="np-tab-indicator np-button-background-color"></div>
|
||||
</div>
|
||||
<div class="np-tab{% if page.path == transcript_path %} np-tab-active{% endif %}">
|
||||
<a class="np-tab-link" href="{{ transcript_path }}">
|
||||
{% t .transcript %}
|
||||
</a>
|
||||
<div class="np-tab-indicator np-button-background-color"></div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
@ -1,3 +1,43 @@
|
||||
{% if current_person.groups.any? %}
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.id == '5766ee65-0f6e-42fa-b932-a26b3bbb1636' %}
|
||||
<div class="feature-card-wrapper">
|
||||
<div class="feature-card-container">
|
||||
<div class="feature-card-content feature-content">
|
||||
<div class="short-message">Recognizing Chubb's most valued partners</div>
|
||||
<h3 class="feature-card-content-title chubb">
|
||||
Cornerstone Agents
|
||||
</h3>
|
||||
<div class="feature-card-description lato">
|
||||
As a Cornerstone partner you have access to an expanded library of interactive, on-demand programs across multiple categories to assist with your professional development and help grow your business.
|
||||
<div class="note-desc">
|
||||
<br><span class="bold-text">Explore the exclusive curricula below or <a href="https://chubb.northpass.com/app/catalog">browse the entire catalog</a> </span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature-card-btn-container">
|
||||
<a class="feature-course-btn turquoise lato" href="/app/learning_paths/c2fa75f4-2102-4655-8e4f-6673377fd165">
|
||||
Personal Insurance
|
||||
</a>
|
||||
<a class="feature-course-btn turquoise lato" href="/app/learning_paths/f4432764-6a4c-4ae7-b9a8-9cec25f20f66">
|
||||
Employee Benefits
|
||||
</a>
|
||||
<a class="feature-course-btn turquoise lato" href="/app/learning_paths/e5d64a8c-cb99-43b7-89d4-746e0a2cdc12">
|
||||
Business Skills
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature-card-image feature-content">
|
||||
<img
|
||||
class="feature-card-image"
|
||||
alt="cornerstone"
|
||||
src="https://chubbeducation.com/wp-content/uploads/Cornerstone-OLC-Carousel-Image.png"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<div class="feature-card-wrapper">
|
||||
<div class="feature-card-container">
|
||||
<div class="feature-card-content feature-content">
|
||||
@ -51,47 +91,34 @@
|
||||
<img
|
||||
class="feature-card-image"
|
||||
alt="rocket"
|
||||
src="https://s3.amazonaws.com/static.northpass.com/Chubb/assets/launch-rocket-become-an-agent-01.jpg"
|
||||
src="https://chubbeducation.com/wp-content/uploads/Agent-Onboarding-1.png"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% if current_person.groups.any? %}
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.id == '5766ee65-0f6e-42fa-b932-a26b3bbb1636' %}
|
||||
<div class="feature-card-wrapper">
|
||||
<div class="feature-card-container">
|
||||
<div class="feature-card-content feature-content">
|
||||
<div class="short-message">GETTING STARTED WITH CHUBB</div>
|
||||
<h3 class="feature-card-content-title chubb">
|
||||
Agent Onboarding
|
||||
</h3>
|
||||
<div class="feature-card-description lato">
|
||||
Lorem Ipsum
|
||||
<div class="note-desc">
|
||||
<br><span class="bold-text">Note:</span>
|
||||
Lorem Ipsum
|
||||
<div class="feature-card-wrapper">
|
||||
<div class="feature-card-container">
|
||||
<div class="feature-card-content feature-content">
|
||||
<div class="short-message">NEW COURSE</div>
|
||||
<h3 class="feature-card-content-title chubb">
|
||||
Professional Liability Insurance
|
||||
</h3>
|
||||
<div class="feature-card-description lato">
|
||||
Chubb's Professional Liability Insurance provides tailored coverage for a wide variety of professional service industries, providing the protection they need in today's business climate.
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature-card-btn-container">
|
||||
<a class="feature-course-btn yellow lato" href="/app/learning_paths/f7211693-fa8a-478f-8707-bb90f08202ae">
|
||||
Launch Personal
|
||||
</a>
|
||||
<a class="feature-course-btn yellow lato" href="/app/learning_paths/2a7c70ba-fa0b-4a5c-a900-2b31daf87cdc">
|
||||
Launch Commercial
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature-card-image feature-content">
|
||||
<img
|
||||
class="feature-card-image"
|
||||
alt="rocket"
|
||||
src="https://s3.amazonaws.com/static.northpass.com/Chubb/assets/launch-rocket-become-an-agent-01.jpg"
|
||||
>
|
||||
</div>
|
||||
<div class="feature-card-btn-container">
|
||||
<a class="feature-course-btn purple lato" href="app/courses/1554bd01-f154-4ce6-b797-6bef080e1b61">
|
||||
Launch Course
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="feature-card-image feature-content">
|
||||
<img
|
||||
class="feature-card-image"
|
||||
alt="Professional Liability"
|
||||
src="https://chubbeducation.com/wp-content/uploads/New-Course-Professional-Liability.png"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
programs that support the profitable growth of Chubb’s agents and brokers and Chubb’s strategic goals.
|
||||
</div>
|
||||
<div class="footer-visit-us lato">
|
||||
Visit us on <a href="https://chubbeducation.com/">chubbeducation.com</a>
|
||||
Visit us on <a href="https://chubbeducation.com/">chubbeducation.com</a>.
|
||||
</div>
|
||||
<div class="footer-links lato">
|
||||
<a href="https://www.chubb.com/us-en/terms-of-use.html">Terms of Use</a>
|
||||
@ -22,6 +22,9 @@
|
||||
<hr class="horizontal-line"/>
|
||||
<a href="https://www.chubb.com/us-en/online-privacy-policy.html#CCPA-section">California Resident Privacy Policy</a>
|
||||
</div>
|
||||
<div class="footer-links lato">
|
||||
© 2024 Chubb. All rights reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@ -10,9 +10,9 @@
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.4/tiny-slider.css">
|
||||
|
||||
<!-- Slick -->
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<script src=
|
||||
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js">
|
||||
</script>
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.css"/>
|
||||
<!-- Add the slick-theme.css if you want default styling -->
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css"/>
|
||||
@ -86,11 +86,11 @@
|
||||
categoryFiltersArray.forEach(function(category, index) {
|
||||
category.textContent = category.textContent.replace('$', '');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function resultCounter() {
|
||||
if (window.location.pathname.includes('search')) {
|
||||
if (window.location.pathname.includes('search')) {
|
||||
var searchCardsLenght = document.querySelectorAll('.np-search-result').length;
|
||||
var searchNumber = document.getElementById('search-number').innerText = searchCardsLenght;
|
||||
}
|
||||
@ -111,4 +111,4 @@
|
||||
resultCounter();
|
||||
removeCertifacteeVerificationCard();
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
<div class="recommended-carousel-wrapper">
|
||||
<div class="recommended-carousel">
|
||||
{% for course in courses.enrolled %}
|
||||
{% for course in courses.in_catalog%}
|
||||
{% for category in course.categories %}
|
||||
{% if category.name == 'Recommended' %}
|
||||
<div class="carousel-card-container">
|
||||
@ -0,0 +1,6 @@
|
||||
<div class="np-training-session-cta-note np-training-session-tile-badge np-training-session-tile-badge-{{ training_session.status.type }}">
|
||||
{% if training_session.approved? %}
|
||||
<i class="far fa-check np-training-session-icon"></i>
|
||||
{% endif %}
|
||||
{{ training_session.status.label }}
|
||||
</div>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user