From a9fbe76bc3c0aa4968bf0aad2cc590061410f83c Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 20 Dec 2024 17:16:13 -0600 Subject: [PATCH 1/4] add styles for video in start flow --- website/assets/styles/pages/start.less | 28 ++++++++++++++++++++++---- website/views/pages/start.ejs | 13 ++++++------ 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/website/assets/styles/pages/start.less b/website/assets/styles/pages/start.less index 7e42ac554cab..90f539642372 100644 --- a/website/assets/styles/pages/start.less +++ b/website/assets/styles/pages/start.less @@ -44,6 +44,26 @@ padding-top: 32px; margin-right: 20px; } + [purpose='form-with-video-container'] { + width: 100%; + // max-width: 960px; + padding-left: 64px; + padding-right: 64px; + padding-top: 32px; + } + [purpose='embedded-video'] { + position: relative; + margin-bottom: 40px; + width: 100%; + padding-bottom: 57%; + iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + } [purpose='form-tip'] { margin-top: 32px; padding: 16px; @@ -321,9 +341,9 @@ padding-top: 60px; padding-left: 40px; padding-right: 40px; - max-width: 600px; + // max-width: 600px; } - [purpose='form-container'] { + [purpose='form-container'], [purpose='form-with-video-container'] { padding: 0; // min-width: unset; max-width: 504px; @@ -341,7 +361,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 +380,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..314c6da6a050 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 15 minutes

+
+ +

Got questions? Ask us anything.

@@ -760,7 +761,7 @@
-
+
From 662dff3ea808145cdd630aced5998c3caeb05ecb Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 20 Dec 2024 17:23:55 -0600 Subject: [PATCH 2/4] update embedded link and styles --- website/assets/styles/pages/start.less | 11 ++++++++--- website/views/pages/start.ejs | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/website/assets/styles/pages/start.less b/website/assets/styles/pages/start.less index 90f539642372..dbe97b208803 100644 --- a/website/assets/styles/pages/start.less +++ b/website/assets/styles/pages/start.less @@ -46,7 +46,7 @@ } [purpose='form-with-video-container'] { width: 100%; - // max-width: 960px; + max-width: 1200px; padding-left: 64px; padding-right: 64px; padding-top: 32px; @@ -343,9 +343,14 @@ padding-right: 40px; // max-width: 600px; } - [purpose='form-container'], [purpose='form-with-video-container'] { + [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; diff --git a/website/views/pages/start.ejs b/website/views/pages/start.ejs index 314c6da6a050..e359edf557f3 100644 --- a/website/views/pages/start.ejs +++ b/website/views/pages/start.ejs @@ -439,9 +439,9 @@
🚀
-

Fleet in 15 minutes

+

Fleet in 19 minutes

- +