Cin7's templates for both internal and external academies. Notes for Cin7 and G2. Wrote a backup script for Anthology in case the CSV workflow fails.

This commit is contained in:
Norm Rasmussen
2024-02-05 17:48:39 -05:00
parent e46883c0f8
commit aa3086c23e
243 changed files with 4494 additions and 50 deletions

View File

@ -0,0 +1,62 @@
{% assign omni = false %}
{% assign core = false %}
{% if current_person.signed_in? %}
{% for group in current_person.groups %}
{% if group.id == '9daeef1e-bd6c-47da-a343-ef772ba88300' %}
{% assign core = true %}
{% elsif group.id == 'afa31e2d-646e-4b7e-b65e-c426dc30ec5c' %}
{% assign omni = true %}
{% endif %}
{% endfor %}
{% endif %}
{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}
<main class="np-main homepage">
<div class="hero-homepage">
<div class="np-max-width">
{% if core %}
<div class="hero-text lora">Welcome to Cin7 Core Academy</div>
{% elsif omni %}
<div class="hero-text lora">Welcome to Cin7 Omni Academy</div>
{% else %}
<div class="hero-text lora">Welcome to Cin7 Academy</div>
{% endif %}
<div class="hero-subheading">Learn to create and manage a best-in-class inventory operation for your business.</div>
</div>
</div>
<div class="page-content">
<div class="section np-max-width">
{% if core %}
<div class="heading lora">New to Cin7 Core? Start learning here!</div>
<div class="section-content">
{% include 'learning_path_carousel' %}
</div>
{% elsif omni %}
<div class="heading lora">New to Cin7 Omni? Start learning here!</div>
<div class="section-content">
{% include "category_carousel"%}
</div>
{% endif %}
</div>
<div class="section np-max-width">
<div class="heading lora">Featured Courses: Integrations</div>
<div class="section-content">
{% include 'featured_courses' %}
</div>
</div>
<div class="button-wrapper">
<a class="catalog-btn" href="/app/catalog">Browse All Courses</a>
</div>
</div>
<div class="section section-info">
<div class="np-max-width info-section-padding">
{% include 'homepage_testimonials' %}
</div>
</div>
</div>
</main>
{% include "footer" %}