mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 00:18:27 +00:00
Website: Add embedded video to /start flow. (#24979)
Changes: - Updated the 'Is it any good" step of the /start questionnaire to have an embedded youtube video of mikermcneil demoing Fleet.
This commit is contained in:
parent
ab95a0f107
commit
9ee251ae3d
2 changed files with 38 additions and 10 deletions
35
website/assets/styles/pages/start.less
vendored
35
website/assets/styles/pages/start.less
vendored
|
|
@ -44,6 +44,28 @@
|
|||
padding-top: 32px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
[purpose='form-with-video-container'] {
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
padding-left: 64px;
|
||||
padding-right: 64px;
|
||||
padding-top: 32px;
|
||||
}
|
||||
[purpose='embedded-video'] {
|
||||
position: relative;
|
||||
margin-bottom: 40px;
|
||||
width: 100%;
|
||||
padding-bottom: 56%;
|
||||
iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
[purpose='form-tip'] {
|
||||
margin-top: 32px;
|
||||
padding: 16px;
|
||||
|
|
@ -321,11 +343,16 @@
|
|||
padding-top: 60px;
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
max-width: 600px;
|
||||
// max-width: 600px;
|
||||
}
|
||||
[purpose='form-with-video-container'] {
|
||||
padding: 0;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
}
|
||||
[purpose='form-container'] {
|
||||
padding: 0;
|
||||
// min-width: unset;
|
||||
max-width: 504px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
|
@ -341,7 +368,7 @@
|
|||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
}
|
||||
[purpose='form-container'] {
|
||||
[purpose='form-container'], [purpose='form-with-video-container'] {
|
||||
min-width: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
|
@ -360,7 +387,7 @@
|
|||
margin-right: unset;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
[purpose='form-container'] {
|
||||
[purpose='form-container'], [purpose='form-with-video-container'] {
|
||||
width: 100%;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
|
|
|
|||
13
website/views/pages/start.ejs
vendored
13
website/views/pages/start.ejs
vendored
|
|
@ -1,6 +1,6 @@
|
|||
<div id="start" v-cloak>
|
||||
<div class="d-flex container d-flex flex-row" purpose="page-container">
|
||||
<div purpose="form-container">
|
||||
<div :purpose="[[currentStep !== 'is-it-any-good' ? 'form-container' : 'form-with-video-container']]">
|
||||
<%// ┌─┐┌┬┐┌─┐┬─┐┌┬┐
|
||||
// └─┐ │ ├─┤├┬┘ │
|
||||
// └─┘ ┴ ┴ ┴┴└─ ┴ %>
|
||||
|
|
@ -439,13 +439,14 @@
|
|||
<div purpose="form-progress-bar"><div purpose="current-progress" style="width: 50%"></div></div>
|
||||
<img purpose="success-icon" alt="🚀" src="/images/icon-form-success-16x16@2x.png">
|
||||
</div>
|
||||
<h2>Is it any good?</h2>
|
||||
<div purpose="start-cards">
|
||||
<a purpose="card" class="w-100" href="https://youtu.be/QpdRADHWP_o?feature=shared&t=1333" target="_blank">
|
||||
<h2>Fleet in 19 minutes</h2>
|
||||
<div purpose="embedded-video">
|
||||
<iframe src="https://www.youtube.com/embed/07ErAAahRsg?rel=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
|
||||
<!-- <a purpose="card" class="w-100" href="https://youtu.be/QpdRADHWP_o?feature=shared&t=1333" target="_blank">
|
||||
<img alt="Watch a demo" src="/images/play-button-64x64@2x.png">
|
||||
<h2>Watch a demo</h2>
|
||||
<p>See what Fleet can do</p>
|
||||
</a>
|
||||
</a> -->
|
||||
</div>
|
||||
<p>Got questions? <a purpose="contact-link" href="/contact">Ask us anything</a>.</p>
|
||||
|
||||
|
|
@ -760,7 +761,7 @@
|
|||
</ajax-form>
|
||||
</div>
|
||||
</div>
|
||||
<div purpose="form-image" :class="currentStep === 'start' ? 'stage-one' : ['thanks-for-checking-out-fleet'].includes(currentStep) ? 'cloud-city' : ['2 - Aware'].includes(psychologicalStage) ? 'stage-two' : ['3 - Intrigued'].includes(psychologicalStage) ? 'stage-three' : ['4 - Has use case'].includes(psychologicalStage) ? 'stage-four' : ['5 - Personally confident'].includes(psychologicalStage) ? 'stage-five' : ['6 - Has team buy-in'].includes(psychologicalStage) ? 'stage-six' : 'd-none w-0'">
|
||||
<div purpose="form-image" :class="currentStep === 'is-it-any-good' ? 'd-none w-0' : currentStep === 'start' ? 'stage-one' : ['thanks-for-checking-out-fleet'].includes(currentStep) ? 'cloud-city' : ['2 - Aware'].includes(psychologicalStage) ? 'stage-two' : ['3 - Intrigued'].includes(psychologicalStage) ? 'stage-three' : ['4 - Has use case'].includes(psychologicalStage) ? 'stage-four' : ['5 - Personally confident'].includes(psychologicalStage) ? 'stage-five' : ['6 - Has team buy-in'].includes(psychologicalStage) ? 'stage-six' : 'd-none w-0'">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue