Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-1832/change intro hub copy to be opt in #436

Merged
merged 5 commits into from Aug 22, 2019

Update home header info opted out string key. Simplify headerInfoText…

… logic in HomeView
  • Loading branch information
wlycdgr committed Aug 20, 2019
commit 8ddb2408b83f1b006245b20476692049ccea4282
@@ -1386,7 +1386,7 @@
"hub_home_header_checkbox_label": {
"message": "Share additional anonymous analytics data to improve Ghostery’s performance."
},
"hub_home_header_info_opt_in": {
"hub_home_header_info_opted_out": {
"message": "New users are opted out of participating in Ghostery Rewards and Human Web by default. You may opt in to these recommended features in custom setup or in the extension. "
},
"hub_home_header_info": {
@@ -34,8 +34,8 @@ const HomeView = (props) => {
isPlus,
} = props;
const accountHref = `https://account.${globals.GHOSTERY_DOMAIN}.com`;
const headerInfoText = (globals.BROWSER_INFO && globals.BROWSER_INFO.name && globals.BROWSER_INFO.name === 'firefox')
? t('hub_home_header_info_opt_in')
const headerInfoText = (globals.BROWSER_INFO && globals.BROWSER_INFO.name === 'firefox')
? t('hub_home_header_info_opted_out')
: t('hub_home_header_info');
const tutorialFeatureClassNames = ClassNames('HomeView__onboardingFeature columns flex-container align-middle flex-dir-column', {
'feature-tutorial-complete': tutorial_complete,
ProTip! Use n and p to navigate between commits in a pull request.