diff --git a/website/assets/images/cloud-city-cta-256x145@2x.png b/website/assets/images/cloud-city-cta-256x145@2x.png new file mode 100644 index 0000000000..e14daa707f Binary files /dev/null and b/website/assets/images/cloud-city-cta-256x145@2x.png differ diff --git a/website/assets/styles/pages/articles/basic-article.less b/website/assets/styles/pages/articles/basic-article.less index 3268a844e5..63b98d05e0 100644 --- a/website/assets/styles/pages/articles/basic-article.less +++ b/website/assets/styles/pages/articles/basic-article.less @@ -131,7 +131,7 @@ transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 500ms; - a:not([purpose='edit-button']) { + [purpose='sidebar-link'] { margin-bottom: 8px; display: block; color: #515774; @@ -164,7 +164,7 @@ border-bottom: 1px solid #E2E4EA; } .header-hidden { // For scrolling the sidebar with the sticky header - transform: translateY(-80px); + transform: translateY(-120px); } [purpose='article-container'] { max-width: 800px; @@ -256,6 +256,107 @@ background-color: rgba(25, 33, 71, 0.1); } } + + [purpose='sidebar-cta'] { + padding: 0px; + border-radius: 12px; + border: 1px solid #E2E4EA; + background: #FFF; + min-height: 290px; + text-align: center; + margin-top: 24px; + margin-bottom: 8px; + max-width: 256px; + a { + text-decoration: none; + } + &:hover { + box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 0.03); + } + [purpose='cta-image'] { + height: 145px; + background-image: url('/images/cloud-city-cta-256x145@2x.png'); + border-top-left-radius: 12px; + border-top-right-radius: 12px; + background-size: 100% 145px; + background-position: center bottom; + } + [purpose='cta-text'] { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 0px 24px 24px 24px; + h4 { + color: #192147; + text-align: center; + font-size: 20px; + font-weight: 800; + line-height: 120%; + margin-bottom: 0px; + } + p { + color: #515774; + text-align: center; + font-size: 14px; + font-weight: 400; + line-height: 150%; + margin-bottom: 8px; + } + } + [purpose='cta-button'] { + display: flex; + width: 140px; + height: 36px; + padding: 16px 32px; + justify-content: center; + align-items: center; + color: #FFF; + text-align: center; + font-size: 14px; + font-weight: 700; + line-height: 150%; + margin-bottom: 16px; + } + [purpose='cta-platform-icons'] { + img { + height: 16px; + &:not(:last-of-type) { + margin-right: 16px; + } + } + } + } + + [purpose='sidebar-contact-cta'] { + display: flex; + padding: 16px; + align-items: center; + border-radius: 8px; + border: 1px solid #E2E4EA; + background: #FFF; + font-size: 14px; + line-height: 150%; + color: @core-fleet-black; + p { + line-height: 120%; + margin-bottom: 0px; + font-weight: 800; + } + [parasails-component='animated-arrow-button'] { + line-height: 150%; + } + img { + width: 20px; + height: 18.947px; + margin-right: 10px; + } + &:hover { + box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 0.03); + text-decoration: none; + } + } + [purpose='article-details'] { font-size: 14px; line-height: 20px; diff --git a/website/assets/styles/pages/handbook/basic-handbook.less b/website/assets/styles/pages/handbook/basic-handbook.less index 60cb15b3e0..431cb9ef60 100644 --- a/website/assets/styles/pages/handbook/basic-handbook.less +++ b/website/assets/styles/pages/handbook/basic-handbook.less @@ -206,6 +206,7 @@ margin-right: 10px; } &:hover { + box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 0.03); text-decoration: none; } } diff --git a/website/views/pages/articles/basic-article.ejs b/website/views/pages/articles/basic-article.ejs index 292a276383..9331b25846 100644 --- a/website/views/pages/articles/basic-article.ejs +++ b/website/views/pages/articles/basic-article.ejs @@ -56,12 +56,52 @@
See what Fleet can do
+ Start now + <% } else if (['2 - Aware', '3 - Intrigued'].includes(me.psychologicalStage)) {%> +Continue getting started with Fleet
+ Continue + <% } else if (me.psychologicalStage === '4 - Has use case') {%> +Get set up with Fleet
+ Continue + <% } else if (['5 - Personally confident', '6 - Has team buy-in'].includes(me.psychologicalStage)) {%> +Let’s get you set up!
+ Continue + <%}%> +
+
+
+
Edit page