diff --git a/.eslintrc.js b/.eslintrc.js index 1a07c41f3..d1af6c8b8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -83,6 +83,7 @@ module.exports = { 'react/no-access-state-in-setstate': [0], // TODO: enable this check 'react/no-danger': [0], 'react/prop-types': [0], + 'react/jsx-fragments': [1, 'element'], 'react/sort-comp': [2, { order: [ "static-variables", diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 3eee43116..1b545417a 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1802,6 +1802,9 @@ "subscribe_pitch": { "message": "While Ghostery is free, you can choose to support us through a small subscription of $2 per month in exchange for cool perks, such as color themes, priority help service, and more. Join our mission and subscribe!" }, + "subscribe_pitch_spring": { + "message": "Support us and unlock a new spring theme, personal tracking insights, and other special perks by upgrading to Ghostery Plus for $2 per month." + }, "subscribe_pitch_learn_more": { "message": "Learn more" }, @@ -2349,6 +2352,9 @@ "message": "Already subscribed? Sign In", "description": "Character limit (including spaces and punctuation): 28." }, + "already_subscribed_to_plus_sign_in": { + "message": "Already a plus subscriber?" + }, "promos_turned_off_notification": { "message": "Promos turned off. You can turn them back on in", "description": "translation must take into account that 'Settings' is appended to this string" @@ -2362,8 +2368,11 @@ "seven_day_free_trial": { "message": "7 Day Free Trial ($14/mo)" }, - "full_coverage_protection_promise": { - "message": "Get full-coverage protection across all browsers & apps on your device" + "spring_has_sprung": { + "message": "Spring has sprung!" + }, + "full_coverage_protection_promise": { + "message": "Get full-coverage protection across all browsers & apps on your device" }, "system_wide_tracker_and_ad_blocking": { "message": "System-wide tracker & ad-blocking" diff --git a/app/hub/Views/HomeView/HomeViewContainer.jsx b/app/hub/Views/HomeView/HomeViewContainer.jsx index babcbf1c1..c98e55b78 100644 --- a/app/hub/Views/HomeView/HomeViewContainer.jsx +++ b/app/hub/Views/HomeView/HomeViewContainer.jsx @@ -15,11 +15,12 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import QueryString from 'query-string'; import HomeView from './HomeView'; -import { PremiumPromoModal } from '../../../shared-components'; +import PromoModal from '../../../shared-components/PromoModal'; import { sendMessage } from '../../utils'; import globals from '../../../../src/classes/Globals'; const DOMAIN = globals.DEBUG ? 'ghosterystage' : 'ghostery'; +const PREMIUM = 'premium'; /** * @class Implement the Home View for the Ghostery Hub @@ -137,7 +138,8 @@ class HomeViewContainer extends Component { return (