From 08d08d5602d29d98138340915e1657e212d53ecf Mon Sep 17 00:00:00 2001 From: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com> Date: Fri, 2 Aug 2024 01:09:51 +0900 Subject: [PATCH] Homepage tagline update (#20931) Updated homepage to include the new tagline that was settled in [this design review](https://us-65885.app.gong.io/call?id=186190266621232138&highlights=%5B%7B%22type%22%3A%22SHARE%22%2C%22from%22%3A2009%2C%22to%22%3A2061%7D%5D). --------- Co-authored-by: Eric --- website/assets/styles/pages/homepage.less | 4 ++++ website/views/pages/homepage.ejs | 4 ++-- website/views/partials/primary-tagline.partial.ejs | 8 +++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/website/assets/styles/pages/homepage.less b/website/assets/styles/pages/homepage.less index bffa783ff5..72c04a9868 100644 --- a/website/assets/styles/pages/homepage.less +++ b/website/assets/styles/pages/homepage.less @@ -60,7 +60,11 @@ min-width: 540px; text-align: center; h1 { + max-width: 640px; margin-bottom: 16px; + &.vm { + max-width: unset; + } } p { margin-bottom: 32px; diff --git a/website/views/pages/homepage.ejs b/website/views/pages/homepage.ejs index e068fde91b..d07b372d36 100644 --- a/website/views/pages/homepage.ejs +++ b/website/views/pages/homepage.ejs @@ -6,8 +6,8 @@
<%/* Hero text */%>
-

<%- partial('../partials/primary-tagline.partial.ejs') %>

-

Replace the sprawl with <%= primaryBuyingSituation === 'vm'? 'secure, open-source reporting that works the way you want' : primaryBuyingSituation === 'eo-security'? 'universal, open-source endpoint visibility' : 'secure, open-source device management that works the way you want' %>.

+

<%- partial('../partials/primary-tagline.partial.ejs') %>

+

Replace the sprawl with <%= primaryBuyingSituation === 'vm'? 'secure, open-source reporting that works the way you want' : primaryBuyingSituation === 'eo-security'? 'universal, open-source endpoint visibility' : 'a modern device management platform that works the way you want' %>.

Learn how Talk to us diff --git a/website/views/partials/primary-tagline.partial.ejs b/website/views/partials/primary-tagline.partial.ejs index 52bd6fc370..869c05f94f 100644 --- a/website/views/partials/primary-tagline.partial.ejs +++ b/website/views/partials/primary-tagline.partial.ejs @@ -1 +1,7 @@ -<%= typeof primaryBuyingSituation !== 'undefined' ? (primaryBuyingSituation === 'vm' ? 'Focus on vulnerabilities, not vendors' : primaryBuyingSituation === 'eo-security' ? 'Light in every corner' : primaryBuyingSituation === 'eo-it' ? 'Untangle your endpoints' : 'Your easiest MDM migration') : 'Your easiest MDM migration' %> +<%= + typeof primaryBuyingSituation === 'undefined' ? 'Open-source device management for everyone' // Default (no buying situation) + : primaryBuyingSituation === 'vm' ? 'Focus on vulnerabilities, not vendors' // vm + : primaryBuyingSituation === 'eo-security' ? 'Light in every corner'// eo-security + : primaryBuyingSituation === 'eo-it' ? 'Untangle your endpoints' : // eo-it + 'Open-source device management for everyone'// mdm +%>