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:
Norm Rasmussen
2024-08-22 17:08:24 -04:00
parent c5324b4683
commit ce9ad7ae88
137 changed files with 132 additions and 2023 deletions

View File

@ -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 %}

View File

@ -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-wrapper">
<div class="feature-card-container"> <div class="feature-card-container">
<div class="feature-card-content feature-content"> <div class="feature-card-content feature-content">
@ -51,47 +91,34 @@
<img <img
class="feature-card-image" class="feature-card-image"
alt="rocket" 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> </div>
</div> </div>
{% if current_person.groups.any? %} <div class="feature-card-wrapper">
{% for group in current_person.groups %} <div class="feature-card-container">
{% if group.id == '5766ee65-0f6e-42fa-b932-a26b3bbb1636' %} <div class="feature-card-content feature-content">
<div class="feature-card-wrapper"> <div class="short-message">NEW COURSE</div>
<div class="feature-card-container"> <h3 class="feature-card-content-title chubb">
<div class="feature-card-content feature-content"> Professional Liability Insurance
<div class="short-message">GETTING STARTED WITH CHUBB</div> </h3>
<h3 class="feature-card-content-title chubb"> <div class="feature-card-description lato">
Agent Onboarding 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.
</h3>
<div class="feature-card-description lato">
Lorem Ipsum
<div class="note-desc">
<br><span class="bold-text">Note:</span>
Lorem Ipsum
</div> </div>
</div> <div class="feature-card-btn-container">
<div class="feature-card-btn-container"> <a class="feature-course-btn purple lato" href="app/courses/1554bd01-f154-4ce6-b797-6bef080e1b61">
<a class="feature-course-btn yellow lato" href="/app/learning_paths/f7211693-fa8a-478f-8707-bb90f08202ae"> Launch Course
Launch Personal </a>
</a> </div>
<a class="feature-course-btn yellow lato" href="/app/learning_paths/2a7c70ba-fa0b-4a5c-a900-2b31daf87cdc"> </div>
Launch Commercial <div class="feature-card-image feature-content">
</a> <img
</div> class="feature-card-image"
</div> alt="Professional Liability"
<div class="feature-card-image feature-content"> src="https://chubbeducation.com/wp-content/uploads/New-Course-Professional-Liability.png"
<img >
class="feature-card-image" </div>
alt="rocket" </div>
src="https://s3.amazonaws.com/static.northpass.com/Chubb/assets/launch-rocket-become-an-agent-01.jpg"
>
</div>
</div> </div>
</div>
{% endif %}
{% endfor %}
{% endif %}

View File

@ -13,7 +13,7 @@
programs that support the profitable growth of Chubbs agents and brokers and Chubbs strategic goals. programs that support the profitable growth of Chubbs agents and brokers and Chubbs strategic goals.
</div> </div>
<div class="footer-visit-us lato"> <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>
<div class="footer-links lato"> <div class="footer-links lato">
<a href="https://www.chubb.com/us-en/terms-of-use.html">Terms of Use</a> <a href="https://www.chubb.com/us-en/terms-of-use.html">Terms of Use</a>
@ -22,6 +22,9 @@
<hr class="horizontal-line"/> <hr class="horizontal-line"/>
<a href="https://www.chubb.com/us-en/online-privacy-policy.html#CCPA-section">California Resident Privacy Policy</a> <a href="https://www.chubb.com/us-en/online-privacy-policy.html#CCPA-section">California Resident Privacy Policy</a>
</div> </div>
<div class="footer-links lato">
&#169; 2024 Chubb. All rights reserved.
</div>
</div> </div>
</div> </div>
</footer> </footer>

View File

@ -17,7 +17,7 @@
<div class="recommended-carousel-wrapper"> <div class="recommended-carousel-wrapper">
<div class="recommended-carousel"> <div class="recommended-carousel">
{% for course in courses.enrolled %} {% for course in courses.in_catalog%}
{% for category in course.categories %} {% for category in course.categories %}
{% if category.name == 'Recommended' %} {% if category.name == 'Recommended' %}
<div class="carousel-card-container"> <div class="carousel-card-container">

View File

@ -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