Cin7 templates were all messed up. Fixed them. Downloaded and backed up Scintilla's new templates that Raj was working on for commerce.

This commit is contained in:
Norm Rasmussen
2025-07-02 13:39:55 -04:00
parent 69cfb846b4
commit 23d799b75b
215 changed files with 5969 additions and 3164 deletions

View File

@ -1,17 +1,54 @@
{% assign omni = false %}
{% assign core = false %}
{% assign log_out = true %}
{% if current_person.signed_in? %}
{% assign log_out = false %}
{% for group in current_person.groups %}
{% if group.name contains 'Core' %}
{% assign core = true %}
{% elsif group.name contains 'Omni' %}
{% 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>
{% elsif log_out %}
<div class="hero-text lora">Welcome to Cin7 Academy</div>
{% comment %} {% elsif multiprod %} {% endcomment %}
{% comment %} <div class="hero-text lora">Welcome to Cin7 Academy</div> {% endcomment %}
{% 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">Learn Cin7 Core by your function with Learning Paths</div>
<div class="section-content">
{% include 'learning_path_carousel_core' %}
</div>
<div class="heading lora">Grow and broaden your Cin7 Core expertise with Deep Dives</div>
<div class="section-content">
{% include "category_carousel_core"%}
</div>
{% elsif omni %}
<div class="heading lora">New to Cin7 Omni? Start learning here!</div>
<div class="section-content">
{% include "category_carousel"%}
</div>
{% elsif log_out %}
<div class="heading lora">Learn Cin7 Core by your function with Learning Paths</div>
<div class="section-content">
{% include 'learning_path_carousel_core' %}
@ -24,6 +61,7 @@
<div class="section-content">
{% include "category_carousel"%}
</div>
{% endif %}
</div>
<div class="section np-max-width">
<div class="heading lora">Featured Courses: Integrations</div>