diff --git a/_locales/de/messages.json b/_locales/de/messages.json index f56575c72..056553fd0 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Benutzerdefiniertes Setup abgeschlossen" }, - "hub_home_feature_supporter_text": { - "message": "Stufen Sie hoch auf Ghostery Plus und schalten Sie spezielle Funktionen frei." - }, "hub_setup_page_title": { "message": "Ghostery Hub - Setup" }, diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 0d501d046..022d1b77e 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1300,8 +1300,14 @@ "hub_home_feature_setup_button_alt": { "message": "Custom Setup Complete" }, - "hub_home_feature_supporter_text": { - "message": "Upgrade to Ghostery Plus and unlock special features." + "hub_home_plus_upgrade_text": { + "message": "Go beyond basic privacy. Upgrade your Ghostery plan to receive device-level protection, VPN access, and more!" + }, + "hub_home_plus_upgrade_button_text": { + "message": "Upgrade now" + }, + "hub_home_plus_full_protection": { + "message": "You are fully protected!" }, "hub_setup_page_title": { "message": "Ghostery Hub - Setup" diff --git a/_locales/es/messages.json b/_locales/es/messages.json index ca950cecc..3aa3cba07 100644 --- a/_locales/es/messages.json +++ b/_locales/es/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Instalación personalizada completa" }, - "hub_home_feature_supporter_text": { - "message": "Mejora a Ghostery Plus y desbloquea funciones especiales." - }, "hub_setup_page_title": { "message": "Centro de Ghostery: instalación" }, diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index 5778d47e9..2ee2bd5f5 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Configuration personnalisée terminée" }, - "hub_home_feature_supporter_text": { - "message": "Passez à Ghostery Plus et découvrez des fonctionnalités spéciales." - }, "hub_setup_page_title": { "message": "Hub Ghostery — Configuration" }, diff --git a/_locales/hu/messages.json b/_locales/hu/messages.json index b5adb32d9..8ca888c92 100644 --- a/_locales/hu/messages.json +++ b/_locales/hu/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Egyéni telepítés kész" }, - "hub_home_feature_supporter_text": { - "message": "Bővítsen Ghostery Plus verzióra és oldjon fel különleges funkciókat!" - }, "hub_setup_page_title": { "message": "Ghostery Központ - Beállítás" }, diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 4f96655c8..86646e4db 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Configurazione Personalizzata Completa" }, - "hub_home_feature_supporter_text": { - "message": "Effettua l'upgrade a Ghostery Plus e sblocca funzioni speciali." - }, "hub_setup_page_title": { "message": "Ghostery Hub - Configurazione" }, diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json index a5117aeb7..d0796d067 100644 --- a/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "カスタム設定完了" }, - "hub_home_feature_supporter_text": { - "message": "「Ghostery プラス」にアップグレードして高度な機能をご利用ください。" - }, "hub_setup_page_title": { "message": "Ghostery ハブ - 設定" }, diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json index 552c7f1e7..e864941bb 100644 --- a/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "사용자 지정 설정 완료" }, - "hub_home_feature_supporter_text": { - "message": "Ghostery Plus로 업그레이드하고 특별 기능을 새롭게 이용하세요." - }, "hub_setup_page_title": { "message": "Ghostery 허브 - 설정" }, diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json index ca289d98d..ec02fb68e 100644 --- a/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Aangepaste instelling voltooid" }, - "hub_home_feature_supporter_text": { - "message": "Upgrade naar Ghostery Plus en ontgrendel speciale opties." - }, "hub_setup_page_title": { "message": "Ghostery Instellen" }, diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json index 118832adc..ff3dc3b8f 100644 --- a/_locales/pl/messages.json +++ b/_locales/pl/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Konfiguracja niestandardowa zakończona" }, - "hub_home_feature_supporter_text": { - "message": "Zaktualizuj do Ghostery Plus i odblokuj funkcje specjalne." - }, "hub_setup_page_title": { "message": "Hub Ghostery - Konfiguracja" }, diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json index 6268b6fb3..ce7fd3876 100644 --- a/_locales/pt_BR/messages.json +++ b/_locales/pt_BR/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Configuração personalizada concluída" }, - "hub_home_feature_supporter_text": { - "message": "Atualize para o Ghostery Plus e desbloqueie recursos especiais." - }, "hub_setup_page_title": { "message": "Ghostery Hub - Configuração" }, diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 33ad86903..d5d4f8958 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "Пользовательская настройка завершена" }, - "hub_home_feature_supporter_text": { - "message": "Обновитесь до Ghostery Plus и разблокируйте специальные функции." - }, "hub_setup_page_title": { "message": "Ghostery Hub - Настройка" }, diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 8421abd5f..e4cbd40a7 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "自定义设置完毕" }, - "hub_home_feature_supporter_text": { - "message": "升级为Ghostery Plus,解锁特别功能。" - }, "hub_setup_page_title": { "message": "Ghostery Hub - 设置" }, diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index 45c167688..1de8c6c27 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -1294,9 +1294,6 @@ "hub_home_feature_setup_button_alt": { "message": "自定義設置完成" }, - "hub_home_feature_supporter_text": { - "message": "升級至Ghostery Plus并解鎖特別特色。" - }, "hub_setup_page_title": { "message": "Ghostery 中心 - 設置 " }, diff --git a/app/hub/Views/HomeView/HomeView.jsx b/app/hub/Views/HomeView/HomeView.jsx index b591fadde..188183ddb 100644 --- a/app/hub/Views/HomeView/HomeView.jsx +++ b/app/hub/Views/HomeView/HomeView.jsx @@ -34,7 +34,7 @@ const HomeView = (props) => { enable_metrics, changeMetrics, email, - isPlus, + isPremium } = props; const accountHref = globals.ACCOUNT_BASE_URL; @@ -61,6 +61,9 @@ const HomeView = (props) => { const setupButtonClassNames = ClassNames('HomeView__featureButton button primary', { hollow: setup_complete, }); + const upgradeContainerClassNames = ClassNames('HomeView__upgradeContainer row align-center-middle', { + 'purple-border': !isPremium + }); return (
@@ -141,17 +144,17 @@ const HomeView = (props) => {
-
-
-
- {t('hub_home_feature_supporter_text')} +
+
+
+ {t('hub_home_plus_upgrade_text')}
-
-
- - {isPlus ? t('already_subscribed') : t('get_ghostery_plus')} +
+ + {isPremium ? t('hub_home_plus_full_protection') : t('hub_home_plus_upgrade_button_text')}
+
@@ -166,7 +169,7 @@ HomeView.propTypes = { enable_metrics: PropTypes.bool.isRequired, changeMetrics: PropTypes.func.isRequired, email: PropTypes.string.isRequired, - isPlus: PropTypes.bool.isRequired, + isPremium: PropTypes.bool.isRequired, }; export default HomeView; diff --git a/app/hub/Views/HomeView/HomeView.scss b/app/hub/Views/HomeView/HomeView.scss index 7a228b9cc..1e0d4a1fc 100644 --- a/app/hub/Views/HomeView/HomeView.scss +++ b/app/hub/Views/HomeView/HomeView.scss @@ -15,7 +15,7 @@ .HomeView { padding-top: 45px; padding-bottom: 25px; - color: #4a4a4a; + color: $tundora; } .HomeView--bolded { font-weight: 700; @@ -28,14 +28,14 @@ margin-right: 23px; } .HomeView__header h1 { - color: #4a4a4a; + color: $tundora; margin-bottom: 19px; } .HomeView__headerTagline { margin-top: 7px; font-size: 20px; line-height: 30px; - color: #4a4a4a; + color: $tundora; } .HomeView__supportContainer { margin-top: 12px; @@ -54,7 +54,7 @@ margin-top: 7px; padding: 27px 12px 30px; border-radius: 4px; - background-color: #f0f3f4; + background-color: $porcelain; } .HomeView__onboardingFeature { margin: 0 8px; @@ -64,23 +64,32 @@ margin: 7px 0 4px; max-width: 1px; padding: 0; - background-color: #979797; + background-color: $dark-silver; } .HomeView__dividerHorizontal { margin: 0 25px; height: 1px; width: 100%; padding: 0; - background-color: #979797; + background-color: $dark-silver; } -.HomeView__plus { +.HomeView__upgradeContainer { + display: flex; margin-top: 22px; padding: 22px 12px; - background-color: #f0f3f4; + background-color: $porcelain; border-radius: 4px; + + &.purple-border { + box-shadow: 0 0 8px 5px $dark-magenta; + border: solid 1.6px $dark-magenta; + } } -.HomeView__plusFeature { - padding: 0 36px; +.HomeView__upgradeIcon { + background-image: upgradeShieldIcon($baby-blue, $tundora); + margin: 0px 35px 0 30px; + height: 50px; + width: 49px; } .HomeView__featureIcon { height: 50px; @@ -89,44 +98,36 @@ background-repeat: no-repeat; background-position: center center; } +.HomeView__upgradeText { + width: 226px; + font-size: 16px; + font-weight: bold; + line-height: 1.69; +} +.HomeView__featureButton { + margin: auto; +} .HomeView__onboardingFeature.feature-tutorial .HomeView__featureIcon { - background-image: buildIconWand(#4a4a4a, #daf4ff); + background-image: buildIconWand($tundora, $baby-blue); } .HomeView__onboardingFeature.feature-tutorial-complete .HomeView__featureIcon { width: 100px; margin: 0 0 0 50px; - background-image: buildIconWandCheck(#4a4a4a, #daf4ff, #1dafed); + background-image: buildIconWandCheck($tundora, $baby-blue, $ghosty-blue-alt); } .HomeView__onboardingFeature.feature-setup .HomeView__featureIcon { - background-image: buildIconClipboard(#4a4a4a, #daf4ff); + background-image: buildIconClipboard($tundora, $baby-blue); } .HomeView__onboardingFeature.feature-setup-complete .HomeView__featureIcon { width: 100px; margin: 0 0 0 50px; - background-image: buildIconClipboardCheck(#4a4a4a, #daf4ff, #1dafed); -} -.HomeView__featureIcon.feature-plus { - position: relative; - margin-left: auto; - margin-right: auto; - top: -25px; - height: 46px; - background-image: buildIconGhosteryPlus(#4a4a4a, #daf4ff); - background-size: contain; + background-image: buildIconClipboardCheck($tundora, $baby-blue, $ghosty-blue-alt); } .HomeView__featureTitle { text-align: center; font-size: 18px; padding: 22px 0 10px; } -.HomeView__featureText { - text-align: center; - font-size: 14px; - line-height: 27px; -} -.HomeView__featureButton { - margin: 0; -} .HomeView__onboarding .HomeView__featureButton { margin-top: 26px; min-width: 130px; @@ -150,8 +151,20 @@ .HomeView__onboardingFeature.feature-setup-complete { margin: 35px 0 15px; } + .HomeView__upgradeContainer { + flex-direction: column; + } + .HomeView__upgradeIcon { + margin: 0 auto 15px auto; + } + .HomeView__upgradeText { + text-align: center; + margin: auto; + } + .HomeView__featureButton { + margin-top: 25px; + } } - // Firefox Font Size Override and Image Size Override @-moz-document url-prefix() { .HomeView--firefoxFontSize { diff --git a/app/hub/Views/HomeView/HomeViewContainer.jsx b/app/hub/Views/HomeView/HomeViewContainer.jsx index 53e472312..7183d2a88 100644 --- a/app/hub/Views/HomeView/HomeViewContainer.jsx +++ b/app/hub/Views/HomeView/HomeViewContainer.jsx @@ -137,7 +137,7 @@ class HomeViewContainer extends Component { enable_metrics={enable_metrics} changeMetrics={this._handleToggleMetrics} email={user ? user.email : ''} - isPlus={isPlus} + isPremium={isPremium} />
); diff --git a/app/hub/Views/HomeView/__tests__/HomeView.test.jsx b/app/hub/Views/HomeView/__tests__/HomeView.test.jsx index 16d25247b..7777bd442 100644 --- a/app/hub/Views/HomeView/__tests__/HomeView.test.jsx +++ b/app/hub/Views/HomeView/__tests__/HomeView.test.jsx @@ -28,7 +28,7 @@ describe('app/hub/Views/HomeView component', () => { enable_metrics: true, changeMetrics: () => {}, email: 'test@example.com', - isPlus: true, + isPremium: true, }; const component = renderer.create( @@ -47,7 +47,7 @@ describe('app/hub/Views/HomeView component', () => { enable_metrics: false, changeMetrics: () => {}, email: '', - isPlus: false, + isPremium: false, }; const component = renderer.create( @@ -67,7 +67,7 @@ describe('app/hub/Views/HomeView component', () => { enable_metrics: false, changeMetrics: jest.fn(), email: '', - isPlus: false, + isPremium: false, }; const component = shallow(); diff --git a/app/hub/Views/HomeView/__tests__/__snapshots__/HomeView.test.jsx.snap b/app/hub/Views/HomeView/__tests__/__snapshots__/HomeView.test.jsx.snap index 0df31b9a5..c1523a3f7 100644 --- a/app/hub/Views/HomeView/__tests__/__snapshots__/HomeView.test.jsx.snap +++ b/app/hub/Views/HomeView/__tests__/__snapshots__/HomeView.test.jsx.snap @@ -139,29 +139,26 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
- hub_home_feature_supporter_text + hub_home_plus_upgrade_text
-
- get_ghostery_plus + hub_home_plus_upgrade_button_text
@@ -313,29 +310,26 @@ exports[`app/hub/Views/HomeView component Snapshot tests with react-test-rendere
- hub_home_feature_supporter_text + hub_home_plus_upgrade_text
-
- already_subscribed + hub_home_plus_full_protection
diff --git a/app/scss/partials/_colors.scss b/app/scss/partials/_colors.scss index 4695aab80..c9152e37d 100644 --- a/app/scss/partials/_colors.scss +++ b/app/scss/partials/_colors.scss @@ -20,6 +20,7 @@ $dark-gray: #111111; //bnkd_top_header $medium-gray: #333333; //form_label $bright-gray: #394045; //bknd_secondary_nav, $header-color $pale-sky: #6E7B86; //secondary_nav_active_tab +$dark-silver: #979797; $silver-chalice: #A3A3A3; //form_field_border $tundora: #4A4A4A; //body-font-color $light-gray: #A6A6A6; //top_nav, button_disabled @@ -34,10 +35,12 @@ $white: #FFFFFF; /* BLUES */ $ghosty-blue: #00AEF0; +$ghosty-blue-alt: #1dafed; $active-blue: #48ACD3; //top_nav_active_tab $link-blue: #2092BF; //primary-color $button-primary: #3AA2CF; $dark-cyan-blue: #325e97; //insights modal border +$baby-blue: #DAF4FF; //plus-upgrade icon /* GREENS */ $spring-green: #6aa103; diff --git a/app/scss/partials/_hub_svgs.scss b/app/scss/partials/_hub_svgs.scss index 2fa697ffa..5d90c76ac 100644 --- a/app/scss/partials/_hub_svgs.scss +++ b/app/scss/partials/_hub_svgs.scss @@ -76,8 +76,8 @@ @function buildIconWandCheck($primary-color, $secondary-color, $tertiary-color) { @return url('data:image/svg+xml;charset%3dUS-ASCII,%3Csvg%20width%3D%2290%22%20height%3D%2245%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20d%3D%22M68.68%2037C63.443%2032.894%2058.256%2028.823%2053%2024.704c1.29-1.671%202.544-3.303%203.846-4.987l11.089%208.691C73.728%2021.951%2079.521%2015.501%2085.353%209L90%2013.233C82.883%2021.17%2075.8%2029.063%2068.68%2037%22%20fill%3D%22#{_url-friendly-color($tertiary-color)}%22/%3E%3Cpath%20fill%3D%22#{_url-friendly-color($secondary-color)}%22%20d%3D%22M20%2021l6-6%2025%2023-6%207z%22/%3E%3Cpath%20d%3D%22M46.92%2038.41L17.702%2010.42c-.747-.715-1.653-1.022-2.613-1.022s-1.92.358-2.612%201.022l-.587.562a3.5%203.5%200%200%200%200%205.057l29.165%2027.94c.747.715%201.653%201.021%202.613%201.021s1.92-.358%202.612-1.022l.64-.51c1.44-1.43%201.44-3.678%200-5.057zM13.33%2012.413l.586-.562c.32-.306.693-.46%201.12-.46.426%200%20.853.154%201.12.46l4.052%203.882-2.826%202.707-4.052-3.882c-.587-.562-.587-1.532%200-2.145zm32.044%2029.574l-.586.562c-.32.307-.694.46-1.12.46-.427%200-.853-.153-1.12-.46l-23.62-22.627%202.826-2.708%2023.673%2022.68a1.423%201.423%200%200%201-.053%202.093zM26.5%206.896c2.08%200%203.733%202.196%203.733%204.086%200%20.562.48%201.021%201.066%201.021.586%200%201.066-.46%201.066-1.021%200-1.89%201.6-4.086%203.733-4.086.586%200%201.066-.46%201.066-1.022s-.48-1.022-1.066-1.022c-2.026%200-3.733-1.583-3.733-3.575%200-.562-.48-1.022-1.066-1.022-.587%200-1.066.46-1.066%201.022%200%201.94-1.653%203.575-3.733%203.575-.586%200-1.066.46-1.066%201.022s.48%201.022%201.066%201.022zm4.746-2.401c.426.562.96%201.073%201.546%201.43-.587.409-1.12.97-1.546%201.584-.427-.613-.96-1.175-1.547-1.584.64-.357%201.12-.868%201.547-1.43zm-15.57%2027.378c-1.332%200-2.452-1.073-2.452-2.35%200-.562-.48-1.021-1.066-1.021-.587%200-1.067.46-1.067%201.021%200%201.277-1.12%202.35-2.452%202.35-.587%200-1.067.46-1.067%201.021%200%20.562.48%201.022%201.067%201.022%201.28%200%202.452%201.328%202.452%202.707%200%20.562.48%201.022%201.067%201.022.586%200%201.066-.46%201.066-1.022%200-1.379%201.173-2.707%202.453-2.707.586%200%201.066-.46%201.066-1.022%200-.561-.48-1.021-1.066-1.021zm-3.518%201.788c-.214-.256-.427-.511-.694-.715.267-.205.48-.41.694-.613.213.255.426.46.693.613-.267.255-.533.46-.693.715zM9.277%205.414c.587%200%201.067-.46%201.067-1.021%200-.562-.48-1.022-1.067-1.022-1.333%200-2.452-1.072-2.452-2.35C6.825.46%206.345%200%205.758%200c-.586%200-1.066.46-1.066%201.022%200%201.277-1.12%202.35-2.453%202.35-.586%200-1.066.459-1.066%201.02%200%20.563.48%201.022%201.066%201.022%201.28%200%202.453%201.328%202.453%202.707%200%20.562.48%201.022%201.066%201.022.587%200%201.067-.46%201.067-1.022%200-1.379%201.173-2.707%202.452-2.707zM5.758%205.16c-.213-.255-.426-.51-.693-.715.267-.204.48-.409.693-.613.214.255.427.46.694.613-.267.255-.48.46-.694.715zm-.64%2017.162c0%20.562-.48%201.022-1.066%201.022-.213%200-.426.306-.426.613%200%20.562-.48%201.021-1.067%201.021-.586%200-1.066-.46-1.066-1.021%200-.307-.267-.613-.427-.613C.48%2023.343%200%2022.883%200%2022.32S.48%2021.3%201.066%2021.3a.412.412%200%200%200%20.427-.409c0-.562.48-1.022%201.066-1.022.587%200%201.067.46%201.067%201.022%200%20.255.213.409.426.409.64%200%201.067.46%201.067%201.021z%22%20fill%3D%22#{_url-friendly-color($primary-color)}%22%20fill-rule%3D%22nonzero%22/%3E%3C/g%3E%3C/svg%3E'); } -@function buildIconGhosteryPlus($primary-color, $secondary-color) { - @return url('data:image/svg+xml;charset%3dUS-ASCII,%3Csvg%20width%3D%2284%22%20height%3D%2277%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M79.858%2074.75L43.1%2057.9c-.579-.315-1.447-.315-2.026%200L4.604%2074.75c-.867.472-2.604%200-2.604-.63V2.786C2%202.315%202.579%202%203.447%202h76.99c.868%200%201.447.315%201.447.787V74.12c.58.63-1.157%201.103-2.026.63z%22%20fill%3D%22#{_url-friendly-color($secondary-color)}%22%20stroke%3D%22#{_url-friendly-color($primary-color)}%22%20stroke-width%3D%223.353%22/%3E%3Cpath%20d%3D%22M47.156%2037.256c-1.186%201.592-2.981%203.32-4.879%203.184-2.405-.169-2.473-2.676-1.728-4.912.746-2.237%202.474-5.557%204.676-8.64.271-.373.61-.34.88-.034.746%201.118.577%202.642-.643%204.574-1.254%201.999-1.931%203.354-2.643%204.98-.711%201.66-.61%202.88.17%202.948%201.321.102%203.185-2.27%205.014-5.218%202.135-3.456%203.117-5.794%204.202-7.25.339-.475.576-.543.847-.204.508.61.78%202.1-.034%203.795-.746%201.525-2.44%204.066-3.219%205.794-.88%201.931-.745%203.354.474%203.287%201.423-.068%203.151-2.304%204.473-4.676.17-.305.474-.34.61-.034.135.27.17%201.186-.305%202.134-.983%201.898-3.083%203.626-5.083%203.626-2.202%200-3.083-1.39-2.812-3.354zM25.98%2022.754c-1.152-.136-1.796-.712-2.135-1.423-.17-.373-.101-.576.339-.61%202.812-.305%205.353-1.728%207.657-1.83%201.728-.067%203.22.475%204.032%202.813.712%202.032.136%203.998-1.016%205.793-1.694%202.643-5.353%205.184-9.792%206.031-.78.136-1.525%200-2.1-.338-.95%201.863-1.966%204.1-3.152%206.912-.135.338-.305.338-.542.101-.474-.508-.813-1.524-.305-3.354.881-3.083%204.066-9.453%207.014-14.095zm-2.033%208.538c7.59-1.423%2011.384-6.912%2010.47-9.284-.712-1.863-4.1-.101-6.337.543%200%20.914-.338%202.1-1.287%203.727-.881%201.558-1.83%203.117-2.846%205.014zm12.773%201.932c-1.355%203.32-1.728%206.132-.203%206.268%201.627.135%203.998-2.304%205.32-4.913.237-.44.61-.475.745%200%20.17.542.034%201.287-.339%202.1-.474%201.017-2.947%203.83-5.658%203.761-2.338-.067-3.592-1.694-2.812-5.353%201.253-5.895%205.116-12.028%208.572-15.62.508-.542.983-.61%201.457-.17.982.882%201.186%202.135.78%203.728-1.051%204.167-4.846%208.233-7.862%2010.199zm.61-1.457c4.642-3.761%206.54-9.183%206.1-9.454-.441-.27-2.949%203.49-5.286%207.827a18.192%2018.192%200%200%200-.814%201.627zm18.06%202.676c1.389-1.897%202.914-4.1%203.896-5.827.17-1.322.508-1.966%201.22-2.61.745-.677%201.525-.813%201.83-.508.338.34.169.712-.272%201.491-.135.203-.237.407-.372.644-.237%203.117.406%205.76.305%208.098-.068%201.321-.305%202.744-1.525%203.557%202.27-.847%203.693-2.88%204.54-4.71.17-.372.508-.27.644%200%20.136.306.102%201.187-.474%202.237a7.139%207.139%200%200%201-5.998%203.727c-1.965.068-3.862-.44-5.014-2.541-.813-1.525-.712-3.761.44-4.71.407-.339.678-.203.712.34.034.27.034.541.068.812zm3.828-3.659c-.982%201.796-2.236%203.66-3.523%205.489.508%201.965%201.49%203.354%202.609%203.015%201.558-.474%201.05-5.793.914-8.504z%22%20fill%3D%22#{_url-friendly-color($primary-color)}%22/%3E%3C/g%3E%3C/svg%3E'); +@function upgradeShieldIcon($primary-color, $secondary-color) { + @return url('data:image/svg+xml;charset%3dUS-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2249%22%20height%3D%2250%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cpath%20fill%3D%22#{_url-friendly-color($primary-color)}%22%20d%3D%22M5%207.108L26.488%200%2049%207.108c-.964%208.337-2.328%2014.769-4.093%2019.293-2.648%206.787-3.803%207.353-8.186%2012.185-2.922%203.222-6.333%205.93-10.233%208.124-.682%201.354-4.093-2.031-10.232-10.154C10.116%2028.432%206.364%2018.616%205%207.108z%22%2F%3E%3Cg%20fill%3D%22#{_url-friendly-color($secondary-color)}%22%20fill-rule%3D%22nonzero%22%3E%3Cpath%20d%3D%22M23.885%2025.324c-3.526-.003-6.383-3.099-6.386-6.918%200-.224-.167-.402-.371-.402s-.37.18-.37.402c-.004%203.819-2.861%206.914-6.387%206.918-.206%200-.371.181-.371.402%200%20.221.166.402.37.402%203.527.003%206.384%203.099%206.387%206.918%200%20.223.167.402.371.402s.37-.18.37-.402c.004-3.819%202.861-6.914%206.387-6.918.206%200%20.371-.181.371-.402%200-.221-.166-.402-.37-.402zm13.192-4.628c-2.351-.002-4.256-2.146-4.258-4.79%200-.154-.11-.278-.247-.278s-.247.125-.247.278c-.002%202.644-1.907%204.788-4.258%204.79-.137%200-.247.125-.247.278%200%20.154.11.278.247.278%202.351.002%204.256%202.146%204.258%204.79%200%20.154.11.278.247.278s.247-.125.247-.278c.002-2.644%201.907-4.788%204.258-4.79.137%200%20.247-.125.247-.278%200-.154-.11-.278-.247-.278zm-9.411-9.38a2.665%202.665%200%2001-2.662-2.662.154.154%200%2000-.308%200%202.665%202.665%200%2001-2.662%202.662.154.154%200%20000%20.308%202.665%202.665%200%20012.662%202.662.154.154%200%2000.308%200%202.665%202.665%200%20012.662-2.662.154.154%200%20000-.308z%22%2F%3E%3Cpath%20d%3D%22M23.326%2049.305l-.885-.51c-.08-.045-.14-.087-.178-.112l-.014-.01C9.425%2040.31%201.767%2027.486.109%2011.591c-.03-.286-.067-.748-.1-1.235a3.322%203.322%200%20012.362-3.429c1.79-.539%2010.16-3.601%2017.397-6.288C20.911.215%2022.108%200%2023.326%200s2.416.215%203.558.64c7.237%202.686%2015.608%205.748%2017.394%206.287a3.322%203.322%200%20012.366%203.435c-.033.482-.071.943-.1%201.23-1.66%2015.895-9.317%2028.718-22.146%2037.085l-.008.005c-.038.025-.1.068-.178.113l-.886.51zM3.56%2010.275c.028.383.057.735.08.948%201.505%2014.432%208.305%2026.132%2019.686%2033.902%2011.384-7.774%2018.181-19.472%2019.687-33.902.022-.213.051-.566.079-.947-2.674-.838-13.98-5.023-17.443-6.308a6.653%206.653%200%2000-4.646-.002C17.543%205.252%206.242%209.434%203.56%2010.275z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E'); } // Used in Setup Anti Suite View