diff --git a/website/api/controllers/view-transparency.js b/website/api/controllers/view-transparency.js index c079ed5300..7267792026 100644 --- a/website/api/controllers/view-transparency.js +++ b/website/api/controllers/view-transparency.js @@ -6,7 +6,6 @@ module.exports = { description: 'Display "Transparency" page.', - exits: { success: { @@ -17,9 +16,8 @@ module.exports = { fn: async function () { - // Respond with view. - return {}; + return {showSecureframeBanner: this.req.param('utm_content') === 'secureframe'}; } diff --git a/website/assets/images/logo-secureframe-46x48@2x.png b/website/assets/images/logo-secureframe-46x48@2x.png new file mode 100644 index 0000000000..86107888f9 Binary files /dev/null and b/website/assets/images/logo-secureframe-46x48@2x.png differ diff --git a/website/assets/js/components/animated-arrow-button.component.js b/website/assets/js/components/animated-arrow-button.component.js index 00e7df9e76..d7a42e0049 100644 --- a/website/assets/js/components/animated-arrow-button.component.js +++ b/website/assets/js/components/animated-arrow-button.component.js @@ -14,6 +14,8 @@ parasails.registerComponent('animatedArrowButton', { // ╩ ╩╚═╚═╝╩ ╚═╝ props: [ 'buttonType', + 'arrowColor',// For customizing the color of the animated arrow. e.g., arrow-color="#FFF" + 'textColor',// For customizing the color of the button text. e.g., text-color="#FFF" ], // ╦╔╗╔╦╔╦╗╦╔═╗╦ ╔═╗╔╦╗╔═╗╔╦╗╔═╗ @@ -22,6 +24,8 @@ parasails.registerComponent('animatedArrowButton', { data: function (){ return { type: 'secondary', + strokeColor: this.arrowColor ? this.arrowColor : '#FF5C83', + fontColor: this.textColor ? this.textColor : '#192147' // FUTURE: support more button types (primary and secondary) // type: this.buttonType && this.buttonType === 'primary' ? 'primary' : 'secondary', }; @@ -32,8 +36,8 @@ parasails.registerComponent('animatedArrowButton', { // ╩ ╩ ╩ ╩ ╩╩═╝ template: ` - - + + diff --git a/website/assets/js/pages/transparency.page.js b/website/assets/js/pages/transparency.page.js index 211b9f441f..be7cfde1f3 100644 --- a/website/assets/js/pages/transparency.page.js +++ b/website/assets/js/pages/transparency.page.js @@ -4,6 +4,7 @@ parasails.registerPage('transparency', { // ╩╝╚╝╩ ╩ ╩╩ ╩╩═╝ ╚═╝ ╩ ╩ ╩ ╩ ╚═╝ data: { //… + showSecureframeBanner: false, }, // ╦ ╦╔═╗╔═╗╔═╗╦ ╦╔═╗╦ ╔═╗ diff --git a/website/assets/styles/components/animated-arrow-button.component.less b/website/assets/styles/components/animated-arrow-button.component.less index 60102c4d7b..61d9b459b8 100644 --- a/website/assets/styles/components/animated-arrow-button.component.less +++ b/website/assets/styles/components/animated-arrow-button.component.less @@ -21,7 +21,7 @@ height: 12px; width: 12px; fill: none; - stroke: #FF5C83; + // stroke: #FF5C83; « Note: this is overridden by the arrow-color prop; } [purpose='arrow-line'] { opacity: 0; diff --git a/website/assets/styles/pages/transparency.less b/website/assets/styles/pages/transparency.less index ac5831ccf0..4e787318f6 100644 --- a/website/assets/styles/pages/transparency.less +++ b/website/assets/styles/pages/transparency.less @@ -128,6 +128,31 @@ } } } + [purpose='secureframe-banner'] { + width: 100%; + text-align: center; + color: #FFF; + h2, p { + color: #FFF; + } + h2 { + margin-bottom: 16px; + } + [parasails-component='animated-arrow-button'] { + font-weight: 600; + } + border-radius: 16px; + background: #091922; + padding: 32px; + img { + height: 48px; + width: 45.474px; + margin-bottom: 16px; + margin-left: auto; + margin-right: auto; + } + } + [purpose='feature-headline'] { max-width: 510px; margin-bottom: 80px; @@ -332,6 +357,12 @@ margin-right: auto; } } + [purpose='secureframe-banner'] { + padding: 32px 16px; + h2 { + font-size: 24px; + } + } } @media (max-width: 375px) { diff --git a/website/views/pages/transparency.ejs b/website/views/pages/transparency.ejs index 12f255e580..4e478e147c 100644 --- a/website/views/pages/transparency.ejs +++ b/website/views/pages/transparency.ejs @@ -25,7 +25,14 @@
- +
+
+ Secureframe logo +

Automate compliance.
Improve security. Reduce risk.

+

Build trust with customers using automation backed by world-class experts

+ Learn more +
+

Don’t make me think about IT