diff --git a/index.html b/index.html index 1dbec75..cc571c5 100755 --- a/index.html +++ b/index.html @@ -1,11 +1,40 @@ - + + + + diff --git a/public/locales/v1/de/female_de.json b/public/locales/v1/de/female_de.json index f4433af..e2b3d5d 100644 --- a/public/locales/v1/de/female_de.json +++ b/public/locales/v1/de/female_de.json @@ -540,10 +540,10 @@ "special_offer": "Sonderangebot", "title": "Personalisierte Lektüre für ", "total_today": "Gesamtbetrag heute", - "cost": "Ihre Kosten alle 2 Wochen nach der Testphase" + "cost": "Ihre Kosten alle 1 Wochen nach der Testphase" }, "policy_link": "Abonnement-Richtlinie", - "subscription_policy": "Sie melden sich für ein 2-wöchiges Abonnement an. Durch die Fortsetzung stimmen Sie zu, dass, wenn Sie nicht vor dem Ende der -tägigen Testphase für kündigen, Ihnen automatisch alle 2 Wochen berechnet wird, bis Sie in den Einstellungen kündigen. Erfahren Sie mehr über die Kündigungs- und Rückerstattungsrichtlinie in ", + "subscription_policy": "Sie melden sich für ein 1-wöchige Abonnement an. Durch die Fortsetzung stimmen Sie zu, dass, wenn Sie nicht vor dem Ende der -tägigen Testphase für kündigen, Ihnen automatisch alle 1 Wochen berechnet wird, bis Sie in den Einstellungen kündigen. Erfahren Sie mehr über die Kündigungs- und Rückerstattungsrichtlinie in ", "your_reading": "Ihre Lektüre", "content": "Inhalt", "content_list": { diff --git a/public/locales/v1/de/male_de.json b/public/locales/v1/de/male_de.json index 1c7a3b9..e048ec7 100644 --- a/public/locales/v1/de/male_de.json +++ b/public/locales/v1/de/male_de.json @@ -543,10 +543,10 @@ "special_offer": "Sonderangebot", "title": "Personalisierte Lesung für ", "total_today": "Heute gesamt", - "cost": "Deine Kosten pro 2 Wochen nach der Probezeit" + "cost": "Deine Kosten pro 1 Wochen nach der Probezeit" }, "policy_link": "Abonnementbedingungen", - "subscription_policy": "Du schließt ein 2-wöchentliches Abonnement ab. Indem du fortfährst, stimmst du zu, dass, wenn du nicht vor Ablauf der -tägigen Probezeit für den kündigst, dir automatisch alle 2 Wochen berechnet wird, bis du in den Einstellungen kündigst. Erfahre mehr über Kündigungs- und Rückerstattungsrichtlinien in ", + "subscription_policy": "Du schließt ein 1-wöchentlichen Abonnement ab. Indem du fortfährst, stimmst du zu, dass, wenn du nicht vor Ablauf der -tägigen Probezeit für den kündigst, dir automatisch alle 1 Wochen berechnet wird, bis du in den Einstellungen kündigst. Erfahre mehr über Kündigungs- und Rückerstattungsrichtlinien in ", "your_reading": "Deine Lesung", "content": "Inhalt", "content_list": { diff --git a/public/locales/v1/en/female_en.json b/public/locales/v1/en/female_en.json index 6ff6bc4..cef0b05 100644 --- a/public/locales/v1/en/female_en.json +++ b/public/locales/v1/en/female_en.json @@ -546,10 +546,10 @@ "special_offer": "Special offer", "title": "Personalized reading for ", "total_today": "Total today", - "cost": "Your cost per 2 weeks after trial" + "cost": "Your cost per 1 week after trial" }, "policy_link": "Subscription policy", - "subscription_policy": "You are enrolling in 2 weeks subscription. By continuing you agree that if you don't cancel prior to the end of the -day trial for the you will automatically be charged every 2 weeks until you cancel in settings. Learn more about cancellation and refund policy in ", + "subscription_policy": "You are enrolling in 1 week subscription. By continuing you agree that if you don't cancel prior to the end of the -day trial for the you will automatically be charged every 1 week until you cancel in settings. Learn more about cancellation and refund policy in ", "your_reading": "Your reading", "content": "Content", "content_list": { diff --git a/public/locales/v1/en/male_en.json b/public/locales/v1/en/male_en.json index 6ff6bc4..cef0b05 100644 --- a/public/locales/v1/en/male_en.json +++ b/public/locales/v1/en/male_en.json @@ -546,10 +546,10 @@ "special_offer": "Special offer", "title": "Personalized reading for ", "total_today": "Total today", - "cost": "Your cost per 2 weeks after trial" + "cost": "Your cost per 1 week after trial" }, "policy_link": "Subscription policy", - "subscription_policy": "You are enrolling in 2 weeks subscription. By continuing you agree that if you don't cancel prior to the end of the -day trial for the you will automatically be charged every 2 weeks until you cancel in settings. Learn more about cancellation and refund policy in ", + "subscription_policy": "You are enrolling in 1 week subscription. By continuing you agree that if you don't cancel prior to the end of the -day trial for the you will automatically be charged every 1 week until you cancel in settings. Learn more about cancellation and refund policy in ", "your_reading": "Your reading", "content": "Content", "content_list": { diff --git a/public/locales/v1/es/female_es.json b/public/locales/v1/es/female_es.json index 609e184..495c1ed 100644 --- a/public/locales/v1/es/female_es.json +++ b/public/locales/v1/es/female_es.json @@ -543,10 +543,10 @@ "special_offer": "Oferta especial", "title": "Lectura personalizada por ", "total_today": "Total hoy", - "cost": "Tu costo cada 2 semanas después de la prueba" + "cost": "Tu costo cada 1 semana después de la prueba" }, "policy_link": "Política de suscripción", - "subscription_policy": "Te estás inscribiendo en una suscripción de 2 semanas. Al continuar, aceptas que si no cancelas antes del final del período de prueba de días por , se te cobrará automáticamente cada 2 semanas hasta que canceles en la configuración. Obtén más información sobre la política de cancelación y reembolso en ", + "subscription_policy": "Te estás inscribiendo en una suscripción de 1 semana. Al continuar, aceptas que si no cancelas antes del final del período de prueba de días por , se te cobrará automáticamente cada 1 semana hasta que canceles en la configuración. Obtén más información sobre la política de cancelación y reembolso en ", "your_reading": "Tu lectura", "content": "Contenido", "content_list": { @@ -886,4 +886,4 @@ "app_number_one": "La aplicación de astrología #1 confiada por más de " } } -} \ No newline at end of file +} diff --git a/public/locales/v1/es/male_es.json b/public/locales/v1/es/male_es.json index 0f669bf..c79c3a7 100644 --- a/public/locales/v1/es/male_es.json +++ b/public/locales/v1/es/male_es.json @@ -543,10 +543,10 @@ "special_offer": "Oferta especial", "title": "Lectura personalizada por ", "total_today": "Total hoy", - "cost": "Tu costo por 2 semanas después del período de prueba" + "cost": "Tu costo por 1 semana después del período de prueba" }, "policy_link": "Política de suscripción", - "subscription_policy": "Te estás inscribiendo en una suscripción de 2 semanas. Al continuar, aceptas que si no cancelas antes del final del período de prueba de días por , se te cobrará automáticamente cada 2 semanas hasta que lo canceles en configuraciones. Obtén más información sobre la política de cancelación y reembolso en ", + "subscription_policy": "Te estás inscribiendo en una suscripción de 1 semana. Al continuar, aceptas que si no cancelas antes del final del período de prueba de días por , se te cobrará automáticamente cada 1 semana hasta que lo canceles en configuraciones. Obtén más información sobre la política de cancelación y reembolso en ", "your_reading": "Tu lectura", "content": "Contenido", "content_list": { diff --git a/public/locales/v1/fr/female_fr.json b/public/locales/v1/fr/female_fr.json index 98ec1be..5f13fdf 100644 --- a/public/locales/v1/fr/female_fr.json +++ b/public/locales/v1/fr/female_fr.json @@ -543,10 +543,10 @@ "special_offer": "Offre spéciale", "title": "Lecture personnalisée pour ", "total_today": "Total aujourd'hui", - "cost": "Votre coût toutes les 2 semaines après l'essai" + "cost": "Votre coût toutes les 1 semaine après l'essai" }, "policy_link": "Politique d'abonnement", - "subscription_policy": "Vous souscrivez à un abonnement de 2 semaines. En continuant, vous acceptez que si vous ne résiliez pas avant la fin de l'essai de jours pour , vous serez automatiquement facturé toutes les 2 semaines jusqu'à ce que vous annuliez dans les paramètres. En savoir plus sur la politique d'annulation et de remboursement dans ", + "subscription_policy": "Vous souscrivez à un abonnement de 1 semaine. En continuant, vous acceptez que si vous ne résiliez pas avant la fin de l'essai de jours pour , vous serez automatiquement facturé toutes les 1 semaine jusqu'à ce que vous annuliez dans les paramètres. En savoir plus sur la politique d'annulation et de remboursement dans ", "your_reading": "Votre lecture", "content": "Contenu", "content_list": { diff --git a/public/locales/v1/fr/male_fr.json b/public/locales/v1/fr/male_fr.json index 71b9832..41298e7 100644 --- a/public/locales/v1/fr/male_fr.json +++ b/public/locales/v1/fr/male_fr.json @@ -540,10 +540,10 @@ "special_offer": "Offre spéciale", "title": "Lecture personnalisée pour ", "total_today": "Total aujourd'hui", - "cost": "Votre coût par 2 semaines après l'essai" + "cost": "Votre coût par 1 semaine après l'essai" }, "policy_link": "Politique d'abonnement", - "subscription_policy": "Vous vous inscrivez à un abonnement de 2 semaines. En continuant, vous acceptez que si vous ne vous désabonnez pas avant la fin de l'essai de jours pour , vous serez automatiquement facturé toutes les 2 semaines jusqu'à ce que vous annuliez dans les paramètres. Découvrez-en plus sur la politique d'annulation et de remboursement dans ", + "subscription_policy": "Vous vous inscrivez à un abonnement de 1 semaine. En continuant, vous acceptez que si vous ne vous désabonnez pas avant la fin de l'essai de jours pour , vous serez automatiquement facturé toutes les 1 semaine jusqu'à ce que vous annuliez dans les paramètres. Découvrez-en plus sur la politique d'annulation et de remboursement dans ", "your_reading": "Votre lecture", "content": "Contenu", "content_list": { diff --git a/public/locales/v1/hi/female_hi.json b/public/locales/v1/hi/female_hi.json index 8d34f9b..f3a483b 100644 --- a/public/locales/v1/hi/female_hi.json +++ b/public/locales/v1/hi/female_hi.json @@ -543,10 +543,10 @@ "special_offer": "विशेष प्रस्ताव", "title": " में व्यक्तिगत रीडिंग", "total_today": "आज कुल", - "cost": "ट्रायल के बाद हर 2 सप्ताह के लिए आपकी लागत" + "cost": "ट्रायल के बाद हर 1 सप्ताह के लिए आपकी लागत" }, "policy_link": "सदस्यता नीति", - "subscription_policy": "आप 2 सप्ताह की सदस्यता में नामांकित हो रहे हैं। जारी रखते हुए आप सहमत होते हैं कि यदि आप -दिन की ट्रायल अवधि के अंत से पहले के लिए रद्द नहीं करते हैं, तो आपको स्वचालित रूप से हर 2 सप्ताह में का शुल्क लगाया जाएगा जब तक आप सेटिंग्स में रद्द नहीं करते। में रद्दीकरण और रिफंड नीति के बारे में और जानें।", + "subscription_policy": "आप 1 सप्ताह की सदस्यता में नामांकित हो रहे हैं। जारी रखते हुए आप सहमत होते हैं कि यदि आप -दिन की ट्रायल अवधि के अंत से पहले के लिए रद्द नहीं करते हैं, तो आपको स्वचालित रूप से हर 1 सप्ताह में का शुल्क लगाया जाएगा जब तक आप सेटिंग्स में रद्द नहीं करते। में रद्दीकरण और रिफंड नीति के बारे में और जानें।", "your_reading": "आपकी रीडिंग", "content": "सामग्री", "content_list": { diff --git a/public/locales/v1/hi/male_hi.json b/public/locales/v1/hi/male_hi.json index 4882320..a2c3cb0 100644 --- a/public/locales/v1/hi/male_hi.json +++ b/public/locales/v1/hi/male_hi.json @@ -540,10 +540,10 @@ "special_offer": "विशेष प्रस्ताव", "title": " के लिए व्यक्तिगत पठन", "total_today": "आज कुल", - "cost": "प्रारंभिक परीक्षण के बाद प्रत्येक 2 सप्ताह की लागत" + "cost": "प्रारंभिक परीक्षण के बाद प्रत्येक 1 सप्ताह की लागत" }, "policy_link": "सदस्यता नीति", - "subscription_policy": "आप 2 सप्ताह की सदस्यता में नामांकन कर रहे हैं। यदि आप -दिन के परीक्षण के अंत से पहले को रद्द नहीं करते हैं तो आपसे का स्वचालित रूप से हर 2 सप्ताह में शुल्क लिया जाएगा जब तक आप सेटिंग्स में रद्द नहीं करते। रद्द करने और वापसी नीति के बारे में अधिक जानने के लिए देखें", + "subscription_policy": "आप 1 सप्ताह की सदस्यता में नामांकन कर रहे हैं। यदि आप -दिन के परीक्षण के अंत से पहले को रद्द नहीं करते हैं तो आपसे का स्वचालित रूप से हर 1 सप्ताह में शुल्क लिया जाएगा जब तक आप सेटिंग्स में रद्द नहीं करते। रद्द करने और वापसी नीति के बारे में अधिक जानने के लिए देखें", "your_reading": "आपका पठन", "content": "सामग्री", "content_list": { diff --git a/public/locales/v1/pt-br/female_pt-br.json b/public/locales/v1/pt-br/female_pt-br.json index f50a351..d7dcad9 100644 --- a/public/locales/v1/pt-br/female_pt-br.json +++ b/public/locales/v1/pt-br/female_pt-br.json @@ -543,10 +543,10 @@ "special_offer": "Oferta especial", "title": "Leitura personalizada por ", "total_today": "Total hoje", - "cost": "Seu custo por 2 semanas após o teste" + "cost": "Seu custo por 1 semana após o teste" }, "policy_link": "Política de assinatura", - "subscription_policy": "Você está se inscrevendo em uma assinatura de 2 semanas. Ao continuar, você concorda que, se não cancelar antes do final do período de teste de dias por , será cobrada automaticamente a cada 2 semanas pelo valor de até que cancele nas configurações. Saiba mais sobre a política de cancelamento e reembolso em ", + "subscription_policy": "Você está se inscrevendo em uma assinatura de 1 semana. Ao continuar, você concorda que, se não cancelar antes do final do período de teste de dias por , será cobrada automaticamente a cada 1 semana pelo valor de até que cancele nas configurações. Saiba mais sobre a política de cancelamento e reembolso em ", "your_reading": "Sua leitura", "content": "Conteúdo", "content_list": { diff --git a/public/locales/v1/pt-br/male_pt-br.json b/public/locales/v1/pt-br/male_pt-br.json index 9f584e1..6b262b0 100644 --- a/public/locales/v1/pt-br/male_pt-br.json +++ b/public/locales/v1/pt-br/male_pt-br.json @@ -540,10 +540,10 @@ "special_offer": "Oferta especial", "title": "Leitura personalizada por ", "total_today": "Total hoje", - "cost": "Seu custo a cada 2 semanas após o teste" + "cost": "Seu custo a cada 1 semana após o teste" }, "policy_link": "Política de Assinatura", - "subscription_policy": "Você está se inscrevendo em uma assinatura de 2 semanas. Ao continuar, você concorda que, se não cancelar antes do final do teste de dias por , será cobrado automaticamente a cada 2 semanas até que cancele nas configurações. Saiba mais sobre a política de cancelamento e reembolso em ", + "subscription_policy": "Você está se inscrevendo em uma assinatura de 1 semana. Ao continuar, você concorda que, se não cancelar antes do final do teste de dias por , será cobrado automaticamente a cada 1 semana até que cancele nas configurações. Saiba mais sobre a política de cancelamento e reembolso em ", "your_reading": "Sua leitura", "content": "Conteúdo", "content_list": { diff --git a/public/locales/v1/pt-pt/female_pt-pt.json b/public/locales/v1/pt-pt/female_pt-pt.json index 488bf14..1048130 100644 --- a/public/locales/v1/pt-pt/female_pt-pt.json +++ b/public/locales/v1/pt-pt/female_pt-pt.json @@ -543,10 +543,10 @@ "special_offer": "Oferta especial", "title": "Leitura personalizada por ", "total_today": "Total hoje", - "cost": "Custo por cada 2 semanas após o período experimental" + "cost": "Custo por cada 1 semana após o período experimental" }, "policy_link": "Política de subscrição", - "subscription_policy": "Estás a inscrever-te numa subscrição de 2 semanas. Ao continuar, concordas que, se não cancelares antes do final do período experimental de dias por , serás automaticamente cobrada a cada 2 semanas até cancelares nas configurações. Sabe mais sobre a política de cancelamento e reembolso em ", + "subscription_policy": "Estás a inscrever-te numa subscrição de 1 semana. Ao continuar, concordas que, se não cancelares antes do final do período experimental de dias por , serás automaticamente cobrada a cada 1 semana até cancelares nas configurações. Sabe mais sobre a política de cancelamento e reembolso em ", "your_reading": "A tua leitura", "content": "Conteúdo", "content_list": { diff --git a/public/locales/v1/pt-pt/male_pt-pt.json b/public/locales/v1/pt-pt/male_pt-pt.json index d874d1f..66f3ee3 100644 --- a/public/locales/v1/pt-pt/male_pt-pt.json +++ b/public/locales/v1/pt-pt/male_pt-pt.json @@ -543,10 +543,10 @@ "special_offer": "Oferta especial", "title": "Leitura personalizada por ", "total_today": "Total hoje", - "cost": "O teu custo por 2 semanas após o teste" + "cost": "O teu custo por 1 semana após o teste" }, "policy_link": "Política de subscrição", - "subscription_policy": "Estás a inscrever-te numa subscrição de 2 semanas. Ao continuar, concordas que se não cancelares antes do final do teste de dias por , serás automaticamente cobrado a cada 2 semanas até que canceles nas definições. Sabe mais sobre a política de cancelamento e reembolso na ", + "subscription_policy": "Estás a inscrever-te numa subscrição de 1 semana. Ao continuar, concordas que se não cancelares antes do final do teste de dias por , serás automaticamente cobrado a cada 1 semana até que canceles nas definições. Sabe mais sobre a política de cancelamento e reembolso na ", "your_reading": "A tua leitura", "content": "Conteúdo", "content_list": { diff --git a/public/locales/v1/ru/female_ru.json b/public/locales/v1/ru/female_ru.json index 9663055..28d364a 100644 --- a/public/locales/v1/ru/female_ru.json +++ b/public/locales/v1/ru/female_ru.json @@ -543,10 +543,10 @@ "special_offer": "Специальное предложение", "title": "Персонализированный прогноз за ", "total_today": "Итого сегодня", - "cost": "Ваша стоимость каждые 2 недели после окончания пробного периода" + "cost": "Ваша стоимость каждую неделю после окончания пробного периода" }, "policy_link": "Политика подписки", - "subscription_policy": "Вы оформляете подписку на 2 недели. Продолжая, вы соглашаетесь с тем, что если не отмените свою подписку до конца -дневного пробного периода за , то с вас автоматически будет списываться каждые 2 недели до тех пор, пока вы не отмените подписку в настройках. Узнайте больше о политике отмены и возврата в ", + "subscription_policy": "Вы оформляете подписку на 1 неделю. Продолжая, вы соглашаетесь с тем, что если не отмените свою подписку до конца -дневного пробного периода за , то с вас автоматически будет списываться каждую неделю до тех пор, пока вы не отмените подписку в настройках. Узнайте больше о политике отмены и возврата в ", "your_reading": "Ваш прогноз", "content": "Содержание", "content_list": { diff --git a/public/locales/v1/ru/male_ru.json b/public/locales/v1/ru/male_ru.json index 1e6ba5e..4d5a614 100644 --- a/public/locales/v1/ru/male_ru.json +++ b/public/locales/v1/ru/male_ru.json @@ -543,10 +543,10 @@ "special_offer": "Специальное предложение", "title": "Персонализированный прогноз за ", "total_today": "Всего сегодня", - "cost": "Ваша стоимость за 2 недели после пробного периода" + "cost": "Ваша стоимость за 1 неделю после пробного периода" }, "policy_link": "Политика подписки", - "subscription_policy": "Вы подписываетесь на 2-недельную подписку. Продолжая, вы соглашаетесь с тем, что если не отмените подписку до конца -дневного пробного периода за , с вас автоматически будет списываться каждые 2 недели до тех пор, пока вы не отмените подписку в настройках. Узнайте больше о политике отмены и возврата в ", + "subscription_policy": "Вы подписываетесь на 1-недельную подписку. Продолжая, вы соглашаетесь с тем, что если не отмените подписку до конца -дневного пробного периода за , с вас автоматически будет списываться каждую неделю до тех пор, пока вы не отмените подписку в настройках. Узнайте больше о политике отмены и возврата в ", "your_reading": "Ваш прогноз", "content": "Содержание", "content_list": { diff --git a/src/api/resources/Paywall.ts b/src/api/resources/Paywall.ts index 30b48b1..0d04a03 100644 --- a/src/api/resources/Paywall.ts +++ b/src/api/resources/Paywall.ts @@ -15,7 +15,8 @@ export enum EPlacementKeys { "aura.placement.redesign.main" = "aura.placement.redesign.main", "aura.placement.email.marketing" = "aura.placement.email.marketing", "aura.placement.secret.discount" = "aura.placement.secret.discount", - "aura.placement.palmistry.main" = "aura.placement.palmistry.main" + "aura.placement.palmistry.main" = "aura.placement.palmistry.main", + "aura.placement.palmistry.redesign" = "aura.placement.palmistry.redesign" } export interface ResponseGetSuccess { @@ -55,6 +56,7 @@ export interface IPaywallProduct { trialDuration: number; trialPrice: number; trialPriceId: string; + currency?: string; } interface IPaywallProperties { diff --git a/src/api/resources/User.ts b/src/api/resources/User.ts index 7010679..82fed09 100644 --- a/src/api/resources/User.ts +++ b/src/api/resources/User.ts @@ -136,7 +136,8 @@ export enum ESourceAuthorization { "aura.palmistry" = "aura.palmistry", "aura.chat" = "aura.chat", "aura.moons" = "aura.moons", - "aura.main.new" = "aura.main.new" + "aura.main.new" = "aura.main.new", + "aura.palmistry.new" = "aura.palmistry.new" } export enum EGender { diff --git a/src/components/PalmistryV1/components/PaymentModal/index.tsx b/src/components/PalmistryV1/components/PaymentModal/index.tsx index c934158..6a8837b 100644 --- a/src/components/PalmistryV1/components/PaymentModal/index.tsx +++ b/src/components/PalmistryV1/components/PaymentModal/index.tsx @@ -39,7 +39,9 @@ function PaymentModal(props: HTMLAttributes) { setHeight={setHeight} activeProduct={activeProductFromStore} returnUrl={returnUrl} - placementKey={EPlacementKeys["aura.placement.palmistry.main"]} + placementKey={ + EPlacementKeys["aura.placement.palmistry.redesign"] + } /> )} diff --git a/src/components/PalmistryV1/pages/Email/index.tsx b/src/components/PalmistryV1/pages/Email/index.tsx index f62338b..10bcd21 100644 --- a/src/components/PalmistryV1/pages/Email/index.tsx +++ b/src/components/PalmistryV1/pages/Email/index.tsx @@ -54,7 +54,7 @@ function Email() { const authorize = async () => { metricService.reachGoal(EGoals.LEAD, [EMetrics.FACEBOOK]); - await authorization(email, ESourceAuthorization["aura.palmistry"]); + await authorization(email, ESourceAuthorization["aura.palmistry.new"]); }; useEffect(() => { diff --git a/src/components/PalmistryV1/pages/Payment/index.tsx b/src/components/PalmistryV1/pages/Payment/index.tsx index d97d74a..3a4dbe3 100644 --- a/src/components/PalmistryV1/pages/Payment/index.tsx +++ b/src/components/PalmistryV1/pages/Payment/index.tsx @@ -32,7 +32,7 @@ function Payment() { useEffect(() => { if (subscriptionStatus !== "subscribed") return; const timer = setTimeout(() => { - navigate(routes.client.palmistryDiscount()); + navigate(routes.client.skipTrial()); }, 1500); return () => clearTimeout(timer); }, [navigate, subscriptionStatus]); diff --git a/src/components/PalmistryV1/pages/TrialChoice/index.tsx b/src/components/PalmistryV1/pages/TrialChoice/index.tsx index 5d9e924..98a8c6f 100644 --- a/src/components/PalmistryV1/pages/TrialChoice/index.tsx +++ b/src/components/PalmistryV1/pages/TrialChoice/index.tsx @@ -19,7 +19,7 @@ function TrialChoice() { const navigate = useNavigate(); const dispatch = useDispatch(); const { products, isLoading, currency, getText } = usePaywall({ - placementKey: EPlacementKeys["aura.placement.palmistry.main"], + placementKey: EPlacementKeys["aura.placement.palmistry.redesign"], localesPlacement: ELocalesPlacement.V1, }); diff --git a/src/components/palmistry/palmistry-container/palmistry-container.css b/src/components/palmistry/palmistry-container/palmistry-container.css index 8d3d5ea..dfb9db7 100644 --- a/src/components/palmistry/palmistry-container/palmistry-container.css +++ b/src/components/palmistry/palmistry-container/palmistry-container.css @@ -424,7 +424,7 @@ max-width: 400px; min-width: 250px; outline: none; - padding: 12px 12px 5px; + padding: 12px 12px 15px; transition: border-color 0.3s ease; width: 100%; } diff --git a/src/hooks/paywall/defaultPaywalls.ts b/src/hooks/paywall/defaultPaywalls.ts index 1379fdf..87c2bc2 100644 --- a/src/hooks/paywall/defaultPaywalls.ts +++ b/src/hooks/paywall/defaultPaywalls.ts @@ -512,5 +512,100 @@ export const defaultPaywalls: { [key in EPlacementKeys]: IPaywall } = { "_id": "664542bbfe0a8eb4ee0b4f29" } ] + }, + "aura.placement.palmistry.redesign": { + "_id": "66565a0ee4ad13456f7d0079", + "key": "aura.paywall.palmistry.main", + "name": "Palmistry Redesign", + "properties": [ + { + "key": "text.0", + "value": "We've helped millions of people to\nreveal the destiny of their love life\nand what the future holds for them\nand their families.", + "_id": "664542bbfe0a8eb4ee0b4f27" + }, + { + "key": "text.1", + "value": "It costs us $13.21 to compensate our AURA\nemployees for the trial, but please choose the\namount you are comfortable with.", + "_id": "664542bbfe0a8eb4ee0b4f29" + } + ], + "products": [ + { + "_id": "65ff043dfc0fcfc4be550035", + "key": "compatibility.pdf.trial.0", + "productId": "prod_PnStTEBzrPLgvL", + "name": "Сompatibility AURA | Trial $0.99", + "priceId": "price_1PpFiwIlX4lgwUxruq9bpp0j", + "type": "subscription", + "description": "Description", + "discountPrice": null, + "discountPriceId": null, + "isDiscount": false, + "isFreeTrial": false, + "isTrial": true, + "price": 1900, + "trialDuration": 7, + "trialPrice": 99, + "trialPriceId": "price_1PpFoNIlX4lgwUxrP4l0lbE5", + "currency": "usd" + }, + { + "_id": "66420b6e859ff1199d3a6e88", + "key": "compatibility.pdf.trial.1", + "productId": "prod_PnStTEBzrPLgvL", + "name": "Сompatibility AURA | Trial $5.00", + "priceId": "price_1PpFiwIlX4lgwUxruq9bpp0j", + "type": "subscription", + "description": "Description", + "discountPrice": null, + "discountPriceId": null, + "isDiscount": false, + "isFreeTrial": false, + "isTrial": true, + "price": 1900, + "trialDuration": 7, + "trialPrice": 500, + "trialPriceId": "price_1PpFpMIlX4lgwUxrKX7uwKMa", + "currency": "usd" + }, + { + "_id": "66420be1859ff1199d3a6e89", + "key": "compatibility.pdf.trial.2", + "productId": "prod_PnStTEBzrPLgvL", + "name": "Сompatibility AURA | Trial $9.00", + "priceId": "price_1PpFiwIlX4lgwUxruq9bpp0j", + "type": "subscription", + "description": "Description", + "discountPrice": null, + "discountPriceId": null, + "isDiscount": false, + "isFreeTrial": false, + "isTrial": true, + "price": 1900, + "trialDuration": 7, + "trialPrice": 900, + "trialPriceId": "price_1PpFpiIlX4lgwUxrGp2qwZph", + "currency": "usd" + }, + { + "_id": "66420c1c859ff1199d3a6e8a", + "key": "compatibility.pdf.trial.3", + "productId": "prod_PnStTEBzrPLgvL", + "name": "Сompatibility AURA | Trial $13.76", + "priceId": "price_1PpFiwIlX4lgwUxruq9bpp0j", + "type": "subscription", + "description": "Description", + "discountPrice": null, + "discountPriceId": null, + "isDiscount": false, + "isFreeTrial": false, + "isTrial": true, + "price": 1900, + "trialDuration": 7, + "trialPrice": 1200, + "trialPriceId": "price_1PqzysIlX4lgwUxrai849j9H", + "currency": "usd" + } + ] } } \ No newline at end of file diff --git a/src/store/paywalls.ts b/src/store/paywalls.ts index 2d5d7b0..31322f5 100644 --- a/src/store/paywalls.ts +++ b/src/store/paywalls.ts @@ -23,13 +23,15 @@ const initialState: TPaywalls = { "aura.placement.email.marketing": null, "aura.placement.secret.discount": null, "aura.placement.palmistry.main": null, + "aura.placement.palmistry.redesign": null, isMustUpdate: { "aura.placement.v1.mike": true, "aura.placement.main": true, "aura.placement.redesign.main": true, "aura.placement.email.marketing": true, "aura.placement.secret.discount": true, - "aura.placement.palmistry.main": true + "aura.placement.palmistry.main": true, + "aura.placement.palmistry.redesign": true, }, }