diff --git a/special-pages/pages/new-tab/app/next-steps/nextsteps.data.js b/special-pages/pages/new-tab/app/next-steps/nextsteps.data.js index 2746ef12cc..cac2f196e5 100644 --- a/special-pages/pages/new-tab/app/next-steps/nextsteps.data.js +++ b/special-pages/pages/new-tab/app/next-steps/nextsteps.data.js @@ -60,6 +60,14 @@ export const variants = { summary: t('nextSteps_pinAppToTaskbarWindows_summary'), actionText: t('nextSteps_pinAppToTaskbarWindows_actionText'), }), + /** @param {(translationId: keyof enStrings) => string} t */ + subscription: (t) => ({ + id: 'subscription', + icon: 'Subscription', + title: t('nextSteps_subscription_title'), + summary: t('nextSteps_subscription_summary'), + actionText: t('nextSteps_subscription_actionText'), + }), }; export const otherText = { diff --git a/special-pages/pages/new-tab/app/next-steps/strings.json b/special-pages/pages/new-tab/app/next-steps/strings.json index 24095660cd..3c5d9bbf7c 100644 --- a/special-pages/pages/new-tab/app/next-steps/strings.json +++ b/special-pages/pages/new-tab/app/next-steps/strings.json @@ -94,5 +94,17 @@ "nextSteps_pinAppToTaskbarWindows_confirmationText": { "title": "Pinned to Taskbar!", "note": "Button text after clicking on the Next Steps card for adding DDG app to OS dock" + }, + "nextSteps_subscription_title": { + "title": "Unlock Your Free Trial", + "note": "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary": { + "title": "Try our subscription featuring a VPN + 3 more premium features.", + "note": "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText": { + "title": "Try Free for 7 Days", + "note": "Button text of the Next Steps card for trying the DuckDuckGo subscription" } } diff --git a/special-pages/pages/new-tab/messages/types/next-steps.json b/special-pages/pages/new-tab/messages/types/next-steps.json index 36092e01e7..5db336cb51 100644 --- a/special-pages/pages/new-tab/messages/types/next-steps.json +++ b/special-pages/pages/new-tab/messages/types/next-steps.json @@ -30,7 +30,8 @@ "emailProtection", "duckplayer", "addAppToDockMac", - "pinAppToTaskbarWindows" + "pinAppToTaskbarWindows", + "subscription" ] } } @@ -39,4 +40,4 @@ ] } } -} \ No newline at end of file +} diff --git a/special-pages/pages/new-tab/public/icons/Subscription-128.svg b/special-pages/pages/new-tab/public/icons/Subscription-128.svg new file mode 100644 index 0000000000..9a163dafee --- /dev/null +++ b/special-pages/pages/new-tab/public/icons/Subscription-128.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/special-pages/pages/new-tab/public/locales/de/new-tab.json b/special-pages/pages/new-tab/public/locales/de/new-tab.json index 50019c1679..40792553b1 100644 --- a/special-pages/pages/new-tab/public/locales/de/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/de/new-tab.json @@ -296,6 +296,18 @@ "title" : "An die Taskleiste angeheftet!", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Schalte deine kostenlose Testversion frei", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Teste unser Abonnement mit VPN + 3 weiteren Premium-Funktionen.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "7 Tage lang kostenlos testen", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Weniger anzeigen", "note" : "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/en/new-tab.json b/special-pages/pages/new-tab/public/locales/en/new-tab.json index 49f78a7ece..b5b40a40ac 100644 --- a/special-pages/pages/new-tab/public/locales/en/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/en/new-tab.json @@ -297,6 +297,18 @@ "title": "Pinned to Taskbar!", "note": "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title": { + "title": "Unlock Your Free Trial", + "note": "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary": { + "title": "Try our subscription featuring a VPN + 3 more premium features.", + "note": "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText": { + "title": "Try Free for 7 Days", + "note": "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less": { "title": "Show less", "note": "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/es/new-tab.json b/special-pages/pages/new-tab/public/locales/es/new-tab.json index 3fd8414ca9..241b894a3e 100644 --- a/special-pages/pages/new-tab/public/locales/es/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/es/new-tab.json @@ -296,6 +296,18 @@ "title" : "¡Anclada a tu barra de tareas!", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Accede a tu prueba gratuita", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Prueba nuestra suscripción con una VPN y 3 funciones prémium adicionales.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "Prueba gratuita durante 7 días", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Mostrar menos", "note" : "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/fr/new-tab.json b/special-pages/pages/new-tab/public/locales/fr/new-tab.json index 98954f26e2..b8891c105b 100644 --- a/special-pages/pages/new-tab/public/locales/fr/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/fr/new-tab.json @@ -296,6 +296,18 @@ "title" : "Épinglée à la barre des tâches !", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Accédez à votre essai gratuit", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Essayez notre abonnement comprenant un VPN + 3 fonctionnalités premium supplémentaires.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "Essayez gratuitement pendant 7 jours", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Réduire", "note" : "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/it/new-tab.json b/special-pages/pages/new-tab/public/locales/it/new-tab.json index 9bc834f3f4..99c524f04c 100644 --- a/special-pages/pages/new-tab/public/locales/it/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/it/new-tab.json @@ -296,6 +296,18 @@ "title" : "Aggiunto alla barra delle applicazioni!", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Sblocca la tua prova gratuita", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Prova il nostro abbonamento con una VPN + altre 3 funzionalità premium.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "Prova gratis per 7 giorni", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Mostra meno", "note" : "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/nl/new-tab.json b/special-pages/pages/new-tab/public/locales/nl/new-tab.json index 96adab6522..9fc40e0ef9 100644 --- a/special-pages/pages/new-tab/public/locales/nl/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/nl/new-tab.json @@ -296,6 +296,18 @@ "title" : "Vastgemaakt aan de taakbalk!", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Ontgrendel je gratis proefperiode", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Probeer ons abonnement met een VPN en nog drie extra premiumfuncties.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "Probeer 7 dagen gratis", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Minder weergeven", "note" : "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/pl/new-tab.json b/special-pages/pages/new-tab/public/locales/pl/new-tab.json index b214407ac1..d048f347f6 100644 --- a/special-pages/pages/new-tab/public/locales/pl/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/pl/new-tab.json @@ -296,6 +296,18 @@ "title" : "Przypięto do paska zadań!", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Rozpocznij darmowy okres próbny", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Wypróbuj subskrypcję obejmującą sieć VPN i 3 inne funkcje premium.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "Wypróbuj za darmo przez 7 dni", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Pokaż mniej", "note" : "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/pt/new-tab.json b/special-pages/pages/new-tab/public/locales/pt/new-tab.json index de6e71ccc3..e3a50afdc5 100644 --- a/special-pages/pages/new-tab/public/locales/pt/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/pt/new-tab.json @@ -296,6 +296,18 @@ "title" : "Afixado na barra de tarefas!", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Desbloqueia a tua avaliação gratuita", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Experimenta a nossa subscrição com uma VPN + 3 funcionalidades premium adicionais.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "Experimentar grátis durante 7 dias", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Mostrar menos", "note" : "Button label to display fewer items" diff --git a/special-pages/pages/new-tab/public/locales/ru/new-tab.json b/special-pages/pages/new-tab/public/locales/ru/new-tab.json index b1905972fe..5577c14398 100644 --- a/special-pages/pages/new-tab/public/locales/ru/new-tab.json +++ b/special-pages/pages/new-tab/public/locales/ru/new-tab.json @@ -296,6 +296,18 @@ "title" : "Закреплено на панели задач!", "note" : "Button text after clicking on the Next Steps card for adding DDG app to OS dock" }, + "nextSteps_subscription_title" : { + "title" : "Получите бесплатную пробную версию", + "note" : "Title of the Next Steps card for unlocking your free trial of DuckDuckGo subscription" + }, + "nextSteps_subscription_summary" : { + "title" : "Попробуйте нашу подписку, включающую VPN и еще 3 премиум-функции.", + "note" : "Summary of the Next Steps card about the DuckDuckGo subscription" + }, + "nextSteps_subscription_actionText" : { + "title" : "Пробная версия на 7 дней", + "note" : "Button text of the Next Steps card for trying the DuckDuckGo subscription" + }, "favorites_show_less" : { "title" : "Показать меньше результатов", "note" : "Button label to display fewer items" @@ -444,4 +456,4 @@ "title" : "Свернуть", "note" : "Button label that hides the expanded browsing history items." } -} +} \ No newline at end of file diff --git a/special-pages/pages/new-tab/readme.md b/special-pages/pages/new-tab/readme.md index 35d116338f..d0b7853414 100644 --- a/special-pages/pages/new-tab/readme.md +++ b/special-pages/pages/new-tab/readme.md @@ -121,6 +121,28 @@ - **Example**: `?rmf-delay=10000` - **Options**: Time in milliseconds + ### Next Steps Cards + - **Purpose**: Displays the different Next Steps cards + - **Parameter**: `next-steps` + - **Example**: `?next-steps=bringStuff` + - **Options**: + - `bringStuff` + - `defaultApp` + - `blockCookies` + - `emailProtection` + - `duckplayer` + - `addAppToDockMac` + - `pinAppToTaskbarWindows` + - `subscription` + + ### Freemium PIR Banner + - **Purpose**: Tests different PIR banner states + - **Parameter**: `pir` + - **Example**: `?pir=onboarding` + - **Options**: + - `onboarding` - Shows onboarding PIR banner + - `scan_results` - Shows scan results PIR banner + ## Privacy Protections widget ### Activity @@ -170,15 +192,7 @@ - **Options**: Any positive integer - ## Experiment Parameters - ### Freemium PIR Banner - - **Purpose**: Tests different PIR banner states - - **Parameter**: `pir` - - **Example**: `?pir=onboarding` - - **Options**: - - `onboarding` - Shows onboarding PIR banner - - `scan_results` - Shows scan results PIR banner ### Subscription Win-back Banner - **Purpose**: Tests different win-back banner states diff --git a/special-pages/pages/new-tab/types/new-tab.ts b/special-pages/pages/new-tab/types/new-tab.ts index 41205f9521..560fc8bd02 100644 --- a/special-pages/pages/new-tab/types/new-tab.ts +++ b/special-pages/pages/new-tab/types/new-tab.ts @@ -93,7 +93,8 @@ export type NextStepsCardTypes = | "emailProtection" | "duckplayer" | "addAppToDockMac" - | "pinAppToTaskbarWindows"; + | "pinAppToTaskbarWindows" + | "subscription"; export type NextStepsCards = { id: NextStepsCardTypes; }[];