Files
Gainsight/Custom_Templates/customer_templates/Swift Medical/homepage.html.liquid
2022-11-11 21:54:43 -05:00

102 lines
4.5 KiB
Plaintext

{% include "header" %}
{% include "course_version_outdated_alert", courses: courses.featured %}
{% include "sub_navigation" %}
<main class="np-main np-homepage">
<div class="np-homepage-hero">
<img class="np-homepage-hero-image"
src="{{ homepage.artwork_url }}"
alt="{{ homepage.headline }}"
/>
<div class="np-homepage-hero-content">
<div class="np-homepage-headline np-header-font-color col-xs-9 col-md-8 col-lg-6 np-stretch-content">
{{ homepage.headline }}
</div>
<div class="np-homepage-subheadline np-header-font-color col-xs-9 col-md-8 col-lg-6 np-stretch-content">
{{ homepage.subheadline }}
</div>
<div class="row">
<a class="np-homepage-hero-cta np-button col-xs-5 col-md-4 col-lg-3 np-stretch-content swiftPink-button mr-1" href="{% route learning_path %}">
Swift 101
</a>
<a class="np-homepage-hero-cta np-button col-xs-5 col-md-4 col-lg-3 np-stretch-content ml-1" href="{% route catalog %}">
More Swift Courses
</a>
</div>
</div>
</div>
<div class="np-homepage-featured np-max-width">
<div class="np-homepage-featured-text">
<div class="np-homepage-headline">
{{ homepage.featured_courses_headline }}
</div>
<div class="np-homepage-subheadline">
{{ homepage.featured_courses_subheadline }}
</div>
</div>
{% if courses.featured.any? %}
<div class="np-homepage-featured-courses row">
{% for course in courses.featured %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
{% include "cards_course" with course %}
</div>
{% endfor %}
</div>
{% else %}
<div class="np-homepage-featured-empty">
<div class="np-zero-state-text">
{% t .empty, key: current_school.course_vocabulary %}
</div>
<img
class="np-zero-state-courses"
alt="{% t .empty, key: current_school.course_vocabulary %}"
/>
</div>
{% endif %}
</div>
<div class="np-max-width">
<div class="np-homepage-featured-text">
<div class="np-homepage-headline m-sub">
Learn more about the Swift Medical Team
</div>
</div>
<div class="np-homepage-featured-courses row">
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileSandy-1.png">
</div>
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content ">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileKayla-1.png">
</div>
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileAmy-1.png">
</div>
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileRob-1.png">
</div>
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileJose-1.png">
</div>
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content ">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileEmma-1.png">
</div>
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileDebra-1.png">
</div>
<div class="col-xs-6 col-md-4 col-lg-3 np-stretch-content">
<img class="np-card-image" src="https://info.swiftmedical.com/hubfs/+%20People%20Photos,%20Headshots/ProfileBob-1.png">
</div>
</div>
<div class="np-homepage-featured-text mt-3">
<div class="np-homepage-headline m-sub">
How to Use Swift - Quick Video Walkthrough
</div>
<div class="center ">
<video class="small-shadow" width="100%" height="auto" poster="https://info.swiftmedical.com/hubfs/Instructional%20Video/Full%20Wound%20Evaluation%20-%20Image.png" controls>
<source src="https://info.swiftmedical.com/hubfs/Instructional%20Video/Full%20Wound%20Evaluation.mp4" />
</video>
</div>
</div>
</div>
</main>
{% include "footer" %}