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 %}
|
|
|
|
|
<div class="np-card-ribbon" {% if course.ribbon == "Omni" %} style="background: #0026b2;"{% endif %}>
|
|
|
|
|
{{ 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-02-05 17:48:39 -05:00
|
|
|
<div class="recommended">
|
|
|
|
|
Recommended for:<br>{{course.properties.recommended_for}}
|
|
|
|
|
</div>
|
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 %}
|
|
|
|
|
<div class="course-time">
|
|
|
|
|
<i class="far fa-clock"></i>
|
|
|
|
|
{{course.properties.course_duration}} min
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
2024-01-19 19:47:00 -05:00
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|