2024-01-31 17:32:20 -05:00
|
|
|
<div class="card" categories="{%for category in course.categories%}{{category.name}},{%endfor%}" duration="{{course.properties.course_duration}}">
|
2024-01-19 19:47:00 -05:00
|
|
|
{% capture course_path %}{% route course, id: course.id %}{% endcapture %}
|
|
|
|
|
<a class="lp-link" href="{{ course_path }}">
|
|
|
|
|
<div class="card-image">
|
|
|
|
|
<img
|
|
|
|
|
alt="{{ course.name }}"
|
|
|
|
|
src="{{ course.image_url }}"
|
|
|
|
|
class="learning-path-card-image"
|
|
|
|
|
/>
|
2024-01-31 17:32:20 -05:00
|
|
|
{% if course.ribbon %}
|
2024-06-03 17:27:33 -04:00
|
|
|
<div class="np-card-ribbon" {% if course.ribbon == "Omni" %} style="background: #0026b2;"
|
|
|
|
|
{% elsif course.ribbon == "Core"%} style="background: #05CBBF"
|
|
|
|
|
{% else %} style="background: #213343"
|
|
|
|
|
{% endif %}>
|
2024-01-31 17:32:20 -05:00
|
|
|
{{ course.ribbon }}
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
2024-01-19 19:47:00 -05:00
|
|
|
</div>
|
|
|
|
|
<div class="card-content">
|
2024-01-31 17:32:20 -05:00
|
|
|
<h3 class="card-content-title course-name">
|
|
|
|
|
{{ course.name }}
|
2024-01-19 19:47:00 -05:00
|
|
|
</h3>
|
2024-11-18 15:06:48 -05:00
|
|
|
|
2024-01-19 19:47:00 -05:00
|
|
|
<div class="course-desc">
|
|
|
|
|
{{ course.short_description }}
|
|
|
|
|
</div>
|
2024-02-05 17:48:39 -05:00
|
|
|
{% if course.properties.course_duration %}
|
2024-11-18 15:06:48 -05:00
|
|
|
|
|
|
|
|
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;">
|
|
|
|
|
<div class="course-time" style="margin-right: 15px;">
|
|
|
|
|
<i class="far fa-clock"></i>
|
|
|
|
|
{{course.properties.course_duration}} min
|
|
|
|
|
</div>
|
|
|
|
|
<div class="recommended" style="margin-left: auto;">
|
|
|
|
|
Recommended for:<br>{{course.properties.recommended_for}}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-05 17:48:39 -05:00
|
|
|
{% endif %}
|
2024-01-19 19:47:00 -05:00
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|