Skuid templates were changed on a demo. Williams-Sonoma improvements. Script was updated slightly.

This commit is contained in:
Norm Rasmussen
2024-10-15 17:02:33 -04:00
parent acb4e38d79
commit b3b6b4afea
4 changed files with 63 additions and 38 deletions

View File

@ -92,6 +92,9 @@
{% endif%}
{% endfor %}
{{ school.custom_properties.banner_text}}
<if></if>
{% if view_more_counter >= 4%}
<button class="np-top-button np-button-font-color np-button np-button-big view-more-button" onclick="viewMore()">View More</button>
{% endif %}
@ -296,11 +299,11 @@
margin: auto;
}
[data-controls="prev"] {
[data-controls="prev"] {
margin-left: -3%;
}
[data-controls="next"] {
[data-controls="next"] {
margin-right: -3%;
}
@ -389,7 +392,7 @@
@media (min-width: 1025px) and (max-width: 2500px) {
.recent-view-header {
padding-top: 1%;
}
}
@ -481,4 +484,4 @@
.np-card-text-wrapper {
display: flex;
}
</style>
</style>

View File

@ -8,7 +8,6 @@
/* 4.3 Overview */
/* 4.4 Dashboard filter */
/* 5. Course */
/* 1. Global */
@media (min-width: 769px) and (max-width: 1600px) {
@ -1022,4 +1021,4 @@ footer {
.np-top-cta-progress-content{
margin-bottom: 0.5rem;
}
}
}

View File

@ -2,6 +2,7 @@
{% assign new_hire_progress = 0 %}
{% assign day_offset_in_seconds = 864000 %}
{% assign zoom_url = "NULL" %}
{% assign in_center_group = false %}
{% for learning_path in learning_paths.enrolled %}
{% for category in learning_path.categories %}
@ -26,6 +27,15 @@
{% endfor %}
{% endif %}
{% for group in current_person.groups %}
{% if group.name contains " IC " %}
{% assign in_center_group = true %}
{% else %}
{% assign in_center_group = false %}
{% endif %}
{% endfor %}
{% include "header" %}
<main class="np-main np-homepage">
<div class="np-homepage-hero">
@ -45,7 +55,7 @@
{% include "new_hire_homepage"
, zoom_url: zoom_url %}
{% else %}
{% if is_enrolled_in_new_hire_lp == true %}
{% if is_enrolled_in_new_hire_lp == true or in_center_group == true %}
{% if new_hire_progress == 100 %}
<script>
console.log("User new hire progress is 100")
@ -75,7 +85,7 @@
{% endif %}
{% endif %} {% endcomment %}
{% else %}
{% if new_hire_progress > 0 %}
{% if new_hire_progress > 0 or in_center_group == true %}
<script>
window.location.replace("/app/dashboard")
</script>