diff --git a/website/assets/js/pages/articles/basic-article.page.js b/website/assets/js/pages/articles/basic-article.page.js index f8ff613fc2..a75de665c6 100644 --- a/website/assets/js/pages/articles/basic-article.page.js +++ b/website/assets/js/pages/articles/basic-article.page.js @@ -26,6 +26,10 @@ parasails.registerPage('basic-article', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - //… + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, } }); diff --git a/website/assets/js/pages/compliance.page.js b/website/assets/js/pages/compliance.page.js index 821907cdc5..d8d8de2fa9 100644 --- a/website/assets/js/pages/compliance.page.js +++ b/website/assets/js/pages/compliance.page.js @@ -20,6 +20,10 @@ parasails.registerPage('compliance', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - //… + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, } }); diff --git a/website/assets/js/pages/docs/basic-documentation.page.js b/website/assets/js/pages/docs/basic-documentation.page.js index 70936335cd..41cfb6553e 100644 --- a/website/assets/js/pages/docs/basic-documentation.page.js +++ b/website/assets/js/pages/docs/basic-documentation.page.js @@ -204,6 +204,11 @@ parasails.registerPage('basic-documentation', { // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, clickCTA: function (slug) { window.location = slug; }, diff --git a/website/assets/js/pages/get-started.page.js b/website/assets/js/pages/get-started.page.js index cfa1251495..96a8d5c3ab 100644 --- a/website/assets/js/pages/get-started.page.js +++ b/website/assets/js/pages/get-started.page.js @@ -25,6 +25,10 @@ parasails.registerPage('get-started', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - //… + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, } }); diff --git a/website/assets/js/pages/homepage.page.js b/website/assets/js/pages/homepage.page.js index 1ebb45aa3a..7a541f77fb 100644 --- a/website/assets/js/pages/homepage.page.js +++ b/website/assets/js/pages/homepage.page.js @@ -77,16 +77,10 @@ parasails.registerPage('homepage', { tweetsDiv.scrollBy(amountToScroll, 0); }, - clickChatButton: function() { - // Temporary hack to open the chat - // (there's currently no official API for doing this outside of React) - // - // > Alex: hey mike! if you're just trying to open the chat on load, we actually have a `defaultIsOpen` field - // > you can set to `true` :) i haven't added the `Papercups.open` function to the global `Papercups` object yet, - // > but this is basically what the functions look like if you want to try and just invoke them yourself: - // > https://github.com/papercups-io/chat-widget/blob/master/src/index.tsx#L4-L6 - // > ~Dec 31, 2020 - window.dispatchEvent(new Event('papercups:open')); + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } }, } }); diff --git a/website/assets/js/pages/imagine/unused-software.page.js b/website/assets/js/pages/imagine/unused-software.page.js index f51149586e..8bd6f4839f 100644 --- a/website/assets/js/pages/imagine/unused-software.page.js +++ b/website/assets/js/pages/imagine/unused-software.page.js @@ -20,6 +20,10 @@ parasails.registerPage('unused-software', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - //… + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, } }); diff --git a/website/assets/js/pages/osquery-management.page.js b/website/assets/js/pages/osquery-management.page.js index 6f7b4fa186..fcd8da8d79 100644 --- a/website/assets/js/pages/osquery-management.page.js +++ b/website/assets/js/pages/osquery-management.page.js @@ -20,6 +20,10 @@ parasails.registerPage('osquery-management', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - //… + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, } }); diff --git a/website/assets/js/pages/pricing.page.js b/website/assets/js/pages/pricing.page.js index 586de00ff5..95a5d8a80b 100644 --- a/website/assets/js/pages/pricing.page.js +++ b/website/assets/js/pages/pricing.page.js @@ -24,16 +24,10 @@ parasails.registerPage('pricing', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - clickChatButton: function() { - // Temporary hack to open the chat - // (there's currently no official API for doing this outside of React) - // - // > Alex: hey mike! if you're just trying to open the chat on load, we actually have a `defaultIsOpen` field - // > you can set to `true` :) i haven't added the `Papercups.open` function to the global `Papercups` object yet, - // > but this is basically what the functions look like if you want to try and just invoke them yourself: - // > https://github.com/papercups-io/chat-widget/blob/master/src/index.tsx#L4-L6 - // > ~Dec 31, 2020 - window.dispatchEvent(new Event('papercups:open')); + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } }, updateEstimatedTotal: function() { let total = diff --git a/website/assets/js/pages/reports/state-of-device-management.page.js b/website/assets/js/pages/reports/state-of-device-management.page.js index 210394358b..c10f5ee123 100644 --- a/website/assets/js/pages/reports/state-of-device-management.page.js +++ b/website/assets/js/pages/reports/state-of-device-management.page.js @@ -348,6 +348,12 @@ parasails.registerPage('state-of-device-management', { // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, + scrollSideNavigationWithHeader: function () { var navBar = document.querySelector('div[purpose="report-sidebar"]'); var scrollTop = window.pageYOffset || document.documentElement.scrollTop; diff --git a/website/assets/js/pages/sales-one-pager.page.js b/website/assets/js/pages/sales-one-pager.page.js index 67892491aa..d65fd76fac 100644 --- a/website/assets/js/pages/sales-one-pager.page.js +++ b/website/assets/js/pages/sales-one-pager.page.js @@ -20,6 +20,10 @@ parasails.registerPage('sales-one-pager', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - //… + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, } }); diff --git a/website/assets/styles/pages/docs/basic-documentation.less b/website/assets/styles/pages/docs/basic-documentation.less index 086bedf3dd..2990f49f9c 100644 --- a/website/assets/styles/pages/docs/basic-documentation.less +++ b/website/assets/styles/pages/docs/basic-documentation.less @@ -471,7 +471,9 @@ padding: 20px 16px; color: @core-fleet-black; width: 100%; + cursor: pointer; a { + text-decoration: none; color: @core-fleet-black; &:hover { diff --git a/website/generators/landing-page/templates/page-script.page.js.template b/website/generators/landing-page/templates/page-script.page.js.template index 7fc7c56f10..7ef2ae0db1 100644 --- a/website/generators/landing-page/templates/page-script.page.js.template +++ b/website/generators/landing-page/templates/page-script.page.js.template @@ -20,6 +20,10 @@ parasails.registerPage('<%= stem %>', { // ║║║║ ║ ║╣ ╠╦╝╠═╣║ ║ ║║ ║║║║╚═╗ // ╩╝╚╝ ╩ ╚═╝╩╚═╩ ╩╚═╝ ╩ ╩╚═╝╝╚╝╚═╝ methods: { - //… + clickOpenChatWidget: function() { + if(window.HubSpotConversations && window.HubSpotConversations.widget){ + window.HubSpotConversations.widget.open(); + } + }, } }); diff --git a/website/generators/landing-page/templates/page.ejs.template b/website/generators/landing-page/templates/page.ejs.template index f3dcf53325..5a6303aaf9 100644 --- a/website/generators/landing-page/templates/page.ejs.template +++ b/website/generators/landing-page/templates/page.ejs.template @@ -9,7 +9,7 @@

Vitae architecto reiciendis in temporibus consequatur doloremque reprehenderit perferendis? Eaque quod voluptates earum corporis, quo labore reprehenderit libero sint.

Try Fleet today - Talk to an expert + Talk to an expert
@@ -64,7 +64,7 @@
Try Fleet today - Talk to an expert + Talk to an expert
@@ -86,7 +86,7 @@

Think for yourself

Try it out - Talk to an expert + Talk to an expert
diff --git a/website/views/layouts/layout-customer.ejs b/website/views/layouts/layout-customer.ejs index f6c6c2db30..dd683fb8ac 100644 --- a/website/views/layouts/layout-customer.ejs +++ b/website/views/layouts/layout-customer.ejs @@ -170,9 +170,6 @@ */ %> <% /* Cookie consent banner */ %> - <% /* Chat (Papercups) */ %> - - <%/* Stripe.js */%> @@ -249,7 +246,6 @@ - @@ -294,13 +290,13 @@ // - https://github.com/lancedikson/bowser/tree/1fb99ced0e8834fd9662604bad7e0f0c3eba2786#rendering-engine-flags // -------------------------------------------------------------------- var LATEST_SUPPORTED_VERSION_BY_OS = { - iOS: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + iOS: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect Android: '6' }; var LATEST_SUPPORTED_VERSION_BY_USER_AGENT = { msedge: '16', // msie: '11', - safari: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + safari: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect firefox: '54',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) chrome: '51',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) opera: '38',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) diff --git a/website/views/layouts/layout-landing.ejs b/website/views/layouts/layout-landing.ejs index 14757eec0b..428cc47f1e 100644 --- a/website/views/layouts/layout-landing.ejs +++ b/website/views/layouts/layout-landing.ejs @@ -139,7 +139,6 @@ Fleet logo
- Talk to an expert Try it out
@@ -171,9 +170,6 @@ */ %> <% /* Cookie consent banner */ %> - <% /* Chat (Papercups) */ %> - - <%/* Stripe.js */%> @@ -250,7 +246,6 @@ - @@ -295,13 +290,13 @@ // - https://github.com/lancedikson/bowser/tree/1fb99ced0e8834fd9662604bad7e0f0c3eba2786#rendering-engine-flags // -------------------------------------------------------------------- var LATEST_SUPPORTED_VERSION_BY_OS = { - iOS: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + iOS: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect Android: '6' }; var LATEST_SUPPORTED_VERSION_BY_USER_AGENT = { msedge: '16', // msie: '11', - safari: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + safari: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect firefox: '54',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) chrome: '51',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) opera: '38',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) diff --git a/website/views/layouts/layout-sandbox.ejs b/website/views/layouts/layout-sandbox.ejs index ef14fd9f4b..a589271d82 100644 --- a/website/views/layouts/layout-sandbox.ejs +++ b/website/views/layouts/layout-sandbox.ejs @@ -297,11 +297,7 @@ */ %> <% /* Cookie consent banner */ %> - <% /* Chat (Papercups) */ %> - <%if(!optimizeForAppleWebview){%> - - - <%}%> + <%/* Stripe.js */%> @@ -377,7 +373,6 @@ - @@ -422,13 +417,13 @@ // - https://github.com/lancedikson/bowser/tree/1fb99ced0e8834fd9662604bad7e0f0c3eba2786#rendering-engine-flags // -------------------------------------------------------------------- var LATEST_SUPPORTED_VERSION_BY_OS = { - iOS: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + iOS: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect Android: '6' }; var LATEST_SUPPORTED_VERSION_BY_USER_AGENT = { msedge: '16', // msie: '11', - safari: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + safari: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect firefox: '54',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) chrome: '51',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) opera: '38',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) diff --git a/website/views/layouts/layout.ejs b/website/views/layouts/layout.ejs index 48e053cec6..d21d363e87 100644 --- a/website/views/layouts/layout.ejs +++ b/website/views/layouts/layout.ejs @@ -353,9 +353,6 @@ */ %> <% /* Cookie consent banner */ %> - <% /* Chat (Papercups) */ %> - - <%/* Stripe.js */%> @@ -449,7 +446,6 @@ - @@ -494,13 +490,13 @@ // - https://github.com/lancedikson/bowser/tree/1fb99ced0e8834fd9662604bad7e0f0c3eba2786#rendering-engine-flags // -------------------------------------------------------------------- var LATEST_SUPPORTED_VERSION_BY_OS = { - iOS: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + iOS: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect Android: '6' }; var LATEST_SUPPORTED_VERSION_BY_USER_AGENT = { msedge: '17', // msie: '11', - safari: '10',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect + safari: '11',//« earliest version to eliminate rare bug where `window.location` doesn't exist momentarily after doing a server-side redirect firefox: '54',//« earliest version to support both ES6 (for Vue.js) and unprefixed flexbox (for Bootstrap 4) chrome: '55',//« earliest version to support both ES6 (for Vue.js), unprefixed flexbox (for Bootstrap 4), and async functions opera: '42',//« earliest version to support both ES6 (for Vue.js), unprefixed flexbox (for Bootstrap 4), and async functions diff --git a/website/views/pages/articles/basic-article.ejs b/website/views/pages/articles/basic-article.ejs index a551df0a01..43b30a477e 100644 --- a/website/views/pages/articles/basic-article.ejs +++ b/website/views/pages/articles/basic-article.ejs @@ -28,7 +28,7 @@ Slack logo Join  the  Fleet  community on Slack - + Talk to an expert diff --git a/website/views/pages/compliance.ejs b/website/views/pages/compliance.ejs index e855b5572c..ce90321bd2 100644 --- a/website/views/pages/compliance.ejs +++ b/website/views/pages/compliance.ejs @@ -9,7 +9,7 @@

Automate security workflows in a single application by creating or installing policies to identify which devices comply with your security guidelines.

Try Fleet today - Talk to an expert + Talk to an expert
@@ -65,7 +65,7 @@
Try Fleet today - Talk to an expert + Talk to an expert
@@ -87,7 +87,7 @@

Think for yourself

Try it out - Talk to an expert + Talk to an expert
diff --git a/website/views/pages/docs/basic-documentation.ejs b/website/views/pages/docs/basic-documentation.ejs index ee1edd3696..f2a3a4e2e8 100644 --- a/website/views/pages/docs/basic-documentation.ejs +++ b/website/views/pages/docs/basic-documentation.ejs @@ -167,7 +167,7 @@ Support
- +
Target and configure specific devices

Target and configure specific devices

diff --git a/website/views/pages/get-started.ejs b/website/views/pages/get-started.ejs index 7afce4004f..9fd46bf257 100644 --- a/website/views/pages/get-started.ejs +++ b/website/views/pages/get-started.ejs @@ -64,7 +64,7 @@ Slack logo Ask for help on Slack
- Talk to an expert diff --git a/website/views/pages/homepage.ejs b/website/views/pages/homepage.ejs index 659acfc6c2..e753229725 100644 --- a/website/views/pages/homepage.ejs +++ b/website/views/pages/homepage.ejs @@ -10,7 +10,7 @@

Introducing the first GitOps-driven MDM with real-time visibility into every platform.

An opening quotation mark
@@ -95,7 +95,7 @@ <%/* Call to action */%>
@@ -218,7 +218,7 @@

Think for yourself

diff --git a/website/views/pages/imagine/unused-software.ejs b/website/views/pages/imagine/unused-software.ejs index e47f7a2508..6b0d1b4187 100644 --- a/website/views/pages/imagine/unused-software.ejs +++ b/website/views/pages/imagine/unused-software.ejs @@ -9,7 +9,7 @@

Automate security workflows in a single application by creating or installing policies to identify which devices comply with your security guidelines.

Try Fleet today - Talk to an expert + Talk to an expert
@@ -65,7 +65,7 @@
Try Fleet today - Talk to an expert + Talk to an expert
diff --git a/website/views/pages/osquery-management.ejs b/website/views/pages/osquery-management.ejs index 740a969de5..9d064f8e57 100644 --- a/website/views/pages/osquery-management.ejs +++ b/website/views/pages/osquery-management.ejs @@ -9,7 +9,7 @@

Use Fleet to harness the power of osquery to investigate all your computers and servers in real time.

Try Fleet today - Talk to an expert + Talk to an expert
@@ -63,7 +63,7 @@
Try Fleet today - Talk to an expert + Talk to an expert
@@ -85,7 +85,7 @@

Think for yourself

Try it out - Talk to an expert + Talk to an expert
diff --git a/website/views/pages/pricing.ejs b/website/views/pages/pricing.ejs index 64fd9cec2e..272fa6fa5b 100644 --- a/website/views/pages/pricing.ejs +++ b/website/views/pages/pricing.ejs @@ -52,7 +52,7 @@
- Talk to sales + Talk to sales
<%// Fleet Ultimate %> @@ -107,7 +107,7 @@
- Talk to sales + Talk to sales
@@ -183,14 +183,14 @@ Premium - + Talk to sales Ultimate - + Talk to sales @@ -341,7 +341,7 @@ Ask us anything - + Talk to an expert diff --git a/website/views/pages/reports/state-of-device-management.ejs b/website/views/pages/reports/state-of-device-management.ejs index d74278ab91..00dc6d7384 100644 --- a/website/views/pages/reports/state-of-device-management.ejs +++ b/website/views/pages/reports/state-of-device-management.ejs @@ -332,7 +332,7 @@
Get started - Talk to an expert + Talk to an expert
@@ -544,7 +544,7 @@
Try Fleet - Talk to an expert + Talk to an expert
diff --git a/website/views/pages/sales-one-pager.ejs b/website/views/pages/sales-one-pager.ejs index b1b872e5f5..e92b01363e 100644 --- a/website/views/pages/sales-one-pager.ejs +++ b/website/views/pages/sales-one-pager.ejs @@ -8,7 +8,7 @@

Any operating system, deployed anywhere.

Try it out - Talk to an expert + Talk to an expert
@@ -116,7 +116,7 @@
@@ -180,7 +180,7 @@
Get started - Talk to an expert + Talk to an expert
diff --git a/website/views/pages/try-fleet/register.ejs b/website/views/pages/try-fleet/register.ejs index 67dd46a2f9..e3c0b486f7 100644 --- a/website/views/pages/try-fleet/register.ejs +++ b/website/views/pages/try-fleet/register.ejs @@ -9,7 +9,7 @@ The fastest way to test Fleet. Get up and running in minutes. Ready for production deployments? Learn how to deploy Fleet.

-

Interested in testing Fleet’s MDM capabilities? Meet with us to learn more

+

Interested in testing Fleet’s MDM capabilities? Deploy your own Fleet