{% assign access_group = false %}
{% if current_person.groups.any? %}
  {% for group in current_person.groups %}
	  {% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' %}
			{% assign access_group = true %}
			{% comment %}
	< ----------------------------->
			The carousel for the access agent group goes here.
	< ----------------------------->
			{% endcomment %}
	  <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 ACCESS</div>
			  <h3 class="feature-card-content-title chubb">
            Chubb Access Agent Onboarding
        </h3>
        <div class="feature-card-description lato">
					Our onboarding learning paths provide an introduction to Chubb’s coverages, services, and available resources, so you can give your clients the protection they deserve — and help your business succeed.
          <div class="note-desc">
			<br><span class="bold-text">Note: These learning paths are designed solely for Chubb Access agents. The Chubb Access program (“Chubb Access”) provides agents an opportunity to offer their clients exceptional Chubb insurance products and services. Chubb Access agents receive quotes for coverage through their relationship with Chubb Insurance Solutions Agency Inc. (“CISA”), California license no. 0D12120. Insurance is offered by CISA and CISA is the broker of record for all policies issued through Chubb Access and the Chubb Access portal.</a> </span>
          </div>
        </div>
        <div class="feature-card-btn-container">
            	<a class="feature-course-btn turquoise lato" href="app/learning_paths/5a9a9113-4b9e-4e4c-ad52-fc3d036b8283">
              Launch Personal
            </a>
           	 <a class="feature-course-btn turquoise lato" href="app/learning_paths/2225dbe0-3cb8-4222-9380-91bdd05069a4">
              Launch Commercial
            </a>

        </div>
    </div>
    <div class="feature-card-image feature-content">
        <img
        class="feature-card-image"
        alt="cornerstone"
        src="https://chubbeducation.com/wp-content/uploads/Chubb_Access_by_CISA.png"
      >
    </div>
</div>
</div>
		{% endif %}
	{% endfor %}
{% endif %}


{% if current_person.groups.any? %}
  {% for group in current_person.groups %}
	  {% if group.id == '5766ee65-0f6e-42fa-b932-a26b3bbb1636' %}
			{% comment %}
	< ----------------------------->
			The carousel for the Cornerstone group goes here.
	< ----------------------------->
			{% endcomment %}
	  <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>
{% else %}
	{% unless access_group %}
			{% comment %}
	< ----------------------------->
			The carousel for the remainder of the groups.
	< ----------------------------->
			{% endcomment %}
<div class="feature-card-wrapper">
    <div class="feature-card-container">
      <div class="feature-card-content feature-content">
        <div class="short-message">CONVENIENT, CONNECTED LEARNING</div>
          <h3 class="feature-card-content-title chubb">
              Welcome
          </h3>
          <div class="feature-card-description lato">
            Our Online Learning Center offers a variety of
            interactive, on-demand programs across multiple categories to help you expand your knowledge
            and increase your revenue.
          </div>
          <div class="feature-card-btn-container">
              <a class="feature-course-btn purple lato" href="/app/catalog">
                Explore the Catalog
              </a>
          </div>
      </div>
      <div class="feature-card-image feature-content">
          <img
          class="feature-card-image"
          alt="woman"
          src="https://s3.amazonaws.com/static.northpass.com/Chubb/assets/businesswoman.jpg"
        >
      </div>
  </div>
</div>
<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">
          Our onboarding learning paths provide an introduction to Chubb’s coverages, services, and available resources, so you can give your clients the protection they deserve — and help your business succeed.
          <div class="note-desc">
            <br><span class="bold-text">Note:</span> These learning paths are designed for agents onboarding to Chubb; however, all agents can access the included courses. Specific quoting workflows and access may vary by appointment, please confirm with your Chubb representative.
          </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://chubbeducation.com/wp-content/uploads/Agent-Onboarding-1.png"
      >
    </div>
</div>
</div>
<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 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>
{% endunless %}
			{% endif %}
	{% endfor %}
{% endif %}

