fleet/website/views/partials/calendar-banner.partial.ejs
Eric df301648b0
Website: Fix homepage and calendar-banner partial (#18826)
Related to: https://github.com/fleetdm/fleet/issues/18825

Changes:
- Added a missing closing parenthesis to the conditional added to the
homepage in https://github.com/fleetdm/fleet/pull/18822 and the calendar
banner partial in https://github.com/fleetdm/fleet/pull/18824
2024-05-08 01:41:21 -05:00

29 lines
2 KiB
Text
Vendored
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div purpose="calendar-feature" class="d-flex flex-lg-row flex-column-reverse justify-content-between mx-auto align-items-center">
<div purpose="calendar-feature-text" class="d-flex flex-column">
<div purpose="new-badge">NEW</div>
<% if(!primaryBuyingSituation) {%>
<h3>"This is a terrible time to mess with my computer."</h3> <!-- Turn OS updates into coffee breaks --> <!-- Break time for you, update time for your computer -->
<p>Install updates and force restarts when your users computers are actually free.</p>
<%} else if(['mdm'].includes(primaryBuyingSituation)) {%>
<h3>Timing is everything</h3>
<p>Install updates and force restarts when your users computers are actually free.</p>
<%} else if(['eo-it'].includes(primaryBuyingSituation)) {%>
<h3>Patch your C-suite with confidence</h3>
<p>Install updates and force restarts when your users computers are actually free.</p>
<%} else if(['vm', 'eo-security'].includes(primaryBuyingSituation)) {%>
<h3>Tell employees why</h3>
<p>Use AI to explain why your security policies matter, and install required updates en masse without locking people out of meetings.</p>
<%} %>
<% if (primaryBuyingSituation && !['eo-security'].includes(primaryBuyingSituation)) { %><div purpose="calendar-checklist" class="flex-column d-flex">
<p>Say goodbye to annoying IT notifications and restarts.</p>
<p>Use AI to explain why your security policies matter.</p>
<p>Stop making exceptions for executives when OS updates lock them out of important meetings.</p>
</div><% } %>
<div purpose="video-button" class="d-flex flex-row align-items-center" @click="clickOpenVideoModal('calendar')">
<img src="/images/icon-play-video-32x32@2x.png" alt="play button">Watch the video
</div>
</div>
<div purpose="feature-video">
<video autoplay loop playsinline muted purpose="calendar-video"><source src="/videos/calendar-feature-video.mp4" type="video/mp4"></video>
</div>
</div>