LJ Hooker changes. Skuid fix on homepage.
This commit is contained in:
@ -0,0 +1,23 @@
|
||||
{% capture settings_path %}{% route account %}{% endcapture %}
|
||||
{% capture transcript_path %}{% route transcript %}{% endcapture %}
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
{% unless current_school.sso_active? %}
|
||||
<nav class="np-tabs np-account-tabs">
|
||||
<div class="np-tabs-content">
|
||||
<div class="np-tab{% if page.path == settings_path %} np-tab-active{% endif %}">
|
||||
<a class="np-tab-link" href="{{ settings_path}}">
|
||||
{% t .profile_settings %}
|
||||
</a>
|
||||
<div class="np-tab-indicator np-button-background-color"></div>
|
||||
</div>
|
||||
<div class="np-tab{% if page.path == transcript_path %} np-tab-active{% endif %}">
|
||||
<a class="np-tab-link" href="{{ transcript_path }}">
|
||||
{% t .transcript %}
|
||||
</a>
|
||||
<div class="np-tab-indicator np-button-background-color"></div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
@ -173,7 +173,7 @@
|
||||
<div class="carousel-card-container">
|
||||
<img class="featured_instructors_carousel_image" src="https://i.ibb.co/MN7tyz5/Luke-Whitelam-1.png" />
|
||||
<div class="card-content-container">
|
||||
<div class="instructor-heading">Luke Whitelam</div>
|
||||
<div class="instructor-heading">Luke Whitelum</div>
|
||||
{% comment %} <div class="instructor-profession">State Manager (QLD/NT)</div> {% endcomment %}
|
||||
<div class="instructor-profession">Strategic Growth NSW</div>
|
||||
<div class="instructor-desc">
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
<div class="np-training-session-cta-note np-training-session-tile-badge np-training-session-tile-badge-{{ training_session.status.type }}">
|
||||
{% if training_session.approved? %}
|
||||
<i class="far fa-check np-training-session-icon"></i>
|
||||
{% endif %}
|
||||
{{ training_session.status.label }}
|
||||
</div>
|
||||
@ -44,4 +44,4 @@
|
||||
padding: 0 18px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
</a>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %} {% endcomment %}
|
||||
</div>
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
<script>
|
||||
addEventListener('DOMContentLoaded', () => {
|
||||
let categoriesOrder = ['sales', 'property-management', 'leadership', 'systems-and-technology', 'marketing', 'commercial', 'webinars']
|
||||
|
||||
|
||||
let coursesWrapper = document.querySelector('.carousel-order-wrapper');
|
||||
categoriesOrder.forEach(category => {
|
||||
if (category !== 'ALL') {
|
||||
@ -195,4 +195,4 @@
|
||||
coursesWrapper.appendChild(courseSection);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="coach-image">
|
||||
<div class="coach-description">
|
||||
<div class="coach-name">Luke Whitelam</div>
|
||||
<div class="coach-name">Luke Whitelum</div>
|
||||
<div class="coach-job">Strategic Growth NSW</div>
|
||||
<div class="coach-desc">
|
||||
<div class="specialties">
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
{% include "header" %}
|
||||
{% include "account_tabs" %}
|
||||
|
||||
<main class="np-main np-subpage-container np-transcript">
|
||||
{% transcript %}
|
||||
</main>
|
||||
|
||||
{% include "footer" %}
|
||||
@ -17,7 +17,7 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@ -41,10 +41,10 @@
|
||||
</div>
|
||||
<div class="see-all-btn-container">
|
||||
<a class="see-all-btn" href="/app/courses-category?category={{category_joined}}">See All</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%
|
||||
include "categories_carousel",
|
||||
{%
|
||||
include "categories_carousel",
|
||||
items: courses.enrolled,
|
||||
topic: enrolled_category,
|
||||
%}
|
||||
@ -168,4 +168,4 @@
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@ -92,9 +92,6 @@
|
||||
{% 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 %}
|
||||
|
||||
Reference in New Issue
Block a user