From 9ee251ae3d019a8a26263fcb99331e4401644b74 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 20 Dec 2024 17:48:11 -0600 Subject: [PATCH] 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. --- website/assets/styles/pages/start.less | 35 +++++++++++++++++++++++--- website/views/pages/start.ejs | 13 +++++----- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/website/assets/styles/pages/start.less b/website/assets/styles/pages/start.less index 7e42ac554cab..5c0e7823c8a1 100644 --- a/website/assets/styles/pages/start.less +++ b/website/assets/styles/pages/start.less @@ -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; diff --git a/website/views/pages/start.ejs b/website/views/pages/start.ejs index 4c4669abe45b..e359edf557f3 100644 --- a/website/views/pages/start.ejs +++ b/website/views/pages/start.ejs @@ -1,6 +1,6 @@
-
+
<%// ┌─┐┌┬┐┌─┐┬─┐┌┬┐ // └─┐ │ ├─┤├┬┘ │ // └─┘ ┴ ┴ ┴┴└─ ┴ %> @@ -439,13 +439,14 @@
🚀
-

Is it any good?

-
- +

Fleet in 19 minutes

+
+ +

Got questions? Ask us anything.

@@ -760,7 +761,7 @@
-
+