WilliamSonoma templates. Chubb CISA script. Cloning for Anthology Partners.

This commit is contained in:
Norm Rasmussen
2025-01-14 22:33:32 -05:00
parent 29b4ca7292
commit bcd5664f26
6 changed files with 45 additions and 192 deletions

Binary file not shown.

View File

@ -36,4 +36,4 @@
text-decoration: none;
}
</style>
</style>

View File

@ -15,7 +15,19 @@
Supplementals
</a>
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
</div>
</div>
{% for course in courses.enrolled %}
{% for category in course.categories %}
{% if category.name == "Instructor-Led" %}
<div class="np-sub-navigation-content-item ilt-link">
<a class="np-sub-navigation-content-item-link" href="/app/instructor-led-training">
Instructor-Led Training
</a>
<div class="np-sub-navigation-content-item-bar np-button-background-color"></div>
</div>
{% endif %}
{% endfor %}
{% endfor %}
</div>
</nav>
@ -44,4 +56,7 @@
if (window.location.pathname == "/app/supplementals") {
document.querySelector(".supplementals-link").classList.add("active")
}
if (window.location.pathname == "/app/instructor-led-training") {
document.querySelector(".ilt-link").classList.add("active")
}
</script>

View File

@ -0,0 +1,25 @@
{% include "header" %}
<div class="np-homepage-hero">
<img class="np-homepage-hero-image" src="{{ homepage.artwork_url }}" />
</div>
{% include "course_version_outdated_alert", courses: courses.in_catalog %}
{% include "sub_navigation" %}
<main class="np-main np-catalog np-subpage-container np-max-width">
<div class="np-catalog-header-wrapper">
<div class="np-catalog-header">
<div class="np-resource-title">{{ custom_page.headline }}</div>
<div class="np-resource-subtitle">{{ custom_page.subheadline }}</div>
</div>
</div>
{% for course in courses.enrolled %}
{% for category in course.categories %}
{% if category.name == "Instructor-Led" %}
<div class="row row-with-thumbnails">
{% include "cards_course" with course %}
</div>
</div>
{% endif %}
{% endfor %}
{% endfor %}
</main>
{% include "footer" %}