diff --git a/src/assets/lang/de/what-does-google-know-about-me.json b/src/assets/lang/de/what-does-google-know-about-me.json index 04638eace..577992f39 100644 --- a/src/assets/lang/de/what-does-google-know-about-me.json +++ b/src/assets/lang/de/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "What Does Google Know About Me?", - "section1": { "description": "Privacy groups have expressed alarm over Google's collection of personal data and everyone's heard of Google’s many privacy violations.", "footer": "It's no secret that Google collects personal information and tracks its users through Chrome, Google Search, Google Play apps, Google Maps, Youtube, and more. Prevent Google from accessing your data by adjusting your Google controls and settings." @@ -221,5 +220,47 @@ "title": "A cloud you can trust", "description": "Internxt’s job is to protect your data, not exploit it.", "cta": "Create free account" + }, + "tableSection": { + "title": "Internxt Tarife", + "hotLabel": "{{discount}}% Rabatt", + "planTitles": { + "header": "Wählen Sie Ihren Plan", + "homePage": "Wählen Sie den richtigen Tarif für Sie", + "lifetime": "Lifetime-Tarife", + "business": "Business-Tarife", + "lifetimeCampaign": { + "blueText": "50% Rabatt", + "normalText": "auf alle unsere exklusiven Lifetime-Tarife" + } + }, + "lifetimeDescription": "Einmal zahlen und lebenslang Datenschutz und Sicherheit genießen", + "planDescription": "Alle Internxt-Tarife haben vollen Zugang zu unserer Suite privater Lösungen mit neuester Sicherheitstechnologie: Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor, Meet und Mail. ", + "businessDescription": "Wir arbeiten derzeit an neuen Internxt-Tarifen, die exklusiv dafür entwickelt wurden, Ihr Unternehmen zu verteidigen, Ihre Mitarbeiter zu schützen und Ihre Rentabilität zu sichern.", + "businessDescription2": "Gewährleisten Sie die Sicherheit Ihrer Unternehmensdaten mit Internxts verschlüsselten Cloud-Speicher-Tarifen.", + "billingFrequency": { + "monthly": "Monatlich", + "annually": "Jährlich", + "lifetime": "Lifetime", + "individual": "Einzelperson", + "business": "Business" + }, + "freePlanCard": { + "eyeBrow": "Kostenlos", + "description": "Erhalten Sie 1 GB verschlüsselten Cloud-Speicher kostenlos", + "cta": "Tarif auswählen" + }, + "features": { + "endToEnd": "Ende-zu-Ende-Verschlüsselung", + "openSource": "Open Source und geprüft", + "anonymousAccount": "Anonyme Kontoerstellung", + "premiumSupport": "Premium-Kundensupport", + "guarantee": "30 Tage Geld-zurück-Garantie" + }, + "planStorage": { + "essential": "1TB", + "premium": "3TB", + "ultimate": "5TB" + } } -} +} \ No newline at end of file diff --git a/src/assets/lang/en/what-does-google-know-about-me.json b/src/assets/lang/en/what-does-google-know-about-me.json index c7a844de5..4ffe5d1ad 100644 --- a/src/assets/lang/en/what-does-google-know-about-me.json +++ b/src/assets/lang/en/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "What Does Google Know About Me?", - "section1": { "description": "Privacy groups have expressed alarm over Google's collection of personal data and everyone's heard of Google’s many privacy violations.", "footer": "It's no secret that Google collects personal information and tracks its users through Chrome, Google Search, Google Play apps, Google Maps, Youtube, and more. Prevent Google from accessing your data by adjusting your Google controls and settings." @@ -221,5 +220,48 @@ "title": "A cloud you can trust", "description": "Internxt’s job is to protect your data, not exploit it.", "cta": "Create free account" + }, + "tableSection": { + "title": "Internxt Plans", + "hotLabel": "{{discount}}% off", + "planTitles": { + "header": "Select your Plan", + "individuals": "Annual Plans", + "homePage": "Choose the right plan for you", + "lifetime": "Lifetime Plans", + "business": "Business Plans", + "lifetimeCampaign": { + "blueText": "50% off", + "normalText": "on all our exclusive lifetime plans" + } + }, + "lifetimeDescription": "Pay once and get privacy and security forever.", + "planDescription": "All Internxt plans are fully featured with complete access to our award-winning privacy suite consisting of Internxt Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor, Meet and Mail.", + "businessDescription": "We're currently working on new Internxt plans designed exclusively to defend your business, protect your employees, and secure your profitability.", + "businessDescription2": "Ensure your company's data security with Internxt's encrypted cloud storage plans.", + "billingFrequency": { + "monthly": "Monthly", + "annually": "Annual", + "lifetime": "Lifetime", + "individual": "Individual", + "business": "Business" + }, + "freePlanCard": { + "eyeBrow": "Get Free Encrypted Cloud", + "description": "Get 1 GB of encrypted cloud storage for free", + "cta": "Select plan" + }, + "features": { + "endToEnd": "End-to-end encryption", + "openSource": "Open source and audited", + "anonymousAccount": "Anonymous account creation", + "premiumSupport": "Premium customer support", + "guarantee": "30-day money-back guarantee" + }, + "planStorage": { + "essential": "1TB", + "premium": "3TB", + "ultimate": "5TB" + } } -} +} \ No newline at end of file diff --git a/src/assets/lang/es/what-does-google-know-about-me.json b/src/assets/lang/es/what-does-google-know-about-me.json index 460818be9..9476c8e1d 100644 --- a/src/assets/lang/es/what-does-google-know-about-me.json +++ b/src/assets/lang/es/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "¿Qué sabe Google de mí?", - "section1": { "description": "Los grupos de defensa de la privacidad han expresado su alarma por la recopilación de datos personales por parte de Google y todo el mundo ha oído hablar de las numerosas violaciones de la privacidad por parte de Google.", "footer": "No es ningún secreto que Google recopila información personal y rastrea a sus usuarios a través de Chrome, Google Search, las aplicaciones de Google Play, Google Maps y Youtube, entre otras. Evita que Google acceda a tus datos ajustando los controles y la configuración de Google." @@ -221,5 +220,48 @@ "title": "Una nube en la que puedes confiar", "description": "El trabajo de Internxt es proteger tus datos, no explotarlos.", "cta": "Crear cuenta gratuita" + }, + "tableSection": { + "title": "Planes de Internxt", + "hotLabel": "{{discount}}% de descuento", + "planTitles": { + "header": "Elige tu plan", + "individuals": "Planes Anuales", + "homePage": "Elige el plan adecuado para ti", + "lifetime": "Planes de por vida", + "business": "Planes para empresas", + "lifetimeCampaign": { + "blueText": "50% de descuento", + "normalText": "en todos nuestros planes exclusivos de por vida" + } + }, + "lifetimeDescription": "Paga una sola vez y disfruta de privacidad y seguridad de por vida", + "planDescription": "Todos los planes de Internxt dan acceso a nuestro paquete de soluciones privadas con tecnología de seguridad avanzada: Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor, Meet y Mail.", + "businessDescription": "Actualmente estamos trabajando en nuevos planes de Internxt diseñados exclusivamente para defender su negocio, proteger a sus empleados y asegurar su rentabilidad.", + "businessDescription2": "Garantiza la seguridad de los datos de la empresa con los planes de almacenamiento en la nube cifrados de Internxt.", + "billingFrequency": { + "monthly": "Mensual", + "annually": "Anual", + "lifetime": "De por vida", + "individual": "Individual", + "business": "Empresa" + }, + "freePlanCard": { + "eyeBrow": "Gratis", + "description": "Obtén 1 GB de almacenamiento en la nube cifrado gratis", + "cta": "Seleccionar plan" + }, + "features": { + "endToEnd": "Cifrado de extremo a extremo", + "openSource": "Código abierto y auditado", + "anonymousAccount": "Creación de cuenta anónima", + "premiumSupport": "Soporte al cliente premium", + "guarantee": "Garantía de devolución de 30 días" + }, + "planStorage": { + "essential": "1TB", + "premium": "3TB", + "ultimate": "5TB" + } } -} +} \ No newline at end of file diff --git a/src/assets/lang/fr/what-does-google-know-about-me.json b/src/assets/lang/fr/what-does-google-know-about-me.json index 55af7f13a..bac915691 100644 --- a/src/assets/lang/fr/what-does-google-know-about-me.json +++ b/src/assets/lang/fr/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "What Does Google Know About Me?", - "section1": { "description": "Privacy groups have expressed alarm over Google's collection of personal data and everyone's heard of Google’s many privacy violations.", "footer": "It's no secret that Google collects personal information and tracks its users through Chrome, Google Search, Google Play apps, Google Maps, Youtube, and more. Prevent Google from accessing your data by adjusting your Google controls and settings." @@ -221,5 +220,47 @@ "title": "A cloud you can trust", "description": "Internxt’s job is to protect your data, not exploit it.", "cta": "Create free account" + }, + "tableSection": { + "title": "Plans Internxt", + "hotLabel": "{{discount}}% remise", + "planTitles": { + "header": "Choisissez votre plan", + "homePage": "Choisissez le plan qui vous convient", + "lifetime": "Plans à vie", + "business": "Plans entreprise", + "lifetimeCampaign": { + "blueText": "50% de réduction", + "normalText": "sur tous nos plans exclusifs à vie" + } + }, + "lifetimeDescription": "Payez une seule fois et profitez de confidentialité et sécurité à vie", + "planDescription": "Tous les plans donnent un accès complet à notre suite de solutions privées dotées de la dernière technologie de sécurité : Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor, Meet et Mail. ", + "businessDescription": "Nous travaillons actuellement sur de nouveaux plans Internxt conçus exclusivement pour défendre votre entreprise, protéger vos employés et sécuriser votre rentabilité.", + "businessDescription2": "Assurez la sécurité des données de votre entreprise avec les plans de stockage cloud chiffrés d'Internxt.", + "billingFrequency": { + "monthly": "Mensuel", + "annually": "Annuel", + "lifetime": "À vie", + "individual": "Individuel", + "business": "Entreprise" + }, + "freePlanCard": { + "eyeBrow": "Gratuit", + "description": "Obtenez 1 Go de stockage cloud chiffré gratuitement", + "cta": "Sélectionner le plan" + }, + "features": { + "endToEnd": "Chiffrement de bout en bout", + "openSource": "Open source et audité", + "anonymousAccount": "Création de compte anonyme", + "premiumSupport": "Support client premium", + "guarantee": "Garantie satisfait ou remboursé 30 jours" + }, + "planStorage": { + "essential": "1To", + "premium": "3To", + "ultimate": "5To" + } } -} +} \ No newline at end of file diff --git a/src/assets/lang/it/what-does-google-know-about-me.json b/src/assets/lang/it/what-does-google-know-about-me.json index 55af7f13a..698bbc382 100644 --- a/src/assets/lang/it/what-does-google-know-about-me.json +++ b/src/assets/lang/it/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "What Does Google Know About Me?", - "section1": { "description": "Privacy groups have expressed alarm over Google's collection of personal data and everyone's heard of Google’s many privacy violations.", "footer": "It's no secret that Google collects personal information and tracks its users through Chrome, Google Search, Google Play apps, Google Maps, Youtube, and more. Prevent Google from accessing your data by adjusting your Google controls and settings." @@ -221,5 +220,48 @@ "title": "A cloud you can trust", "description": "Internxt’s job is to protect your data, not exploit it.", "cta": "Create free account" + }, + "tableSection": { + "title": "Piani Internxt", + "hotLabel": "{{discount}}% sconto", + "planTitles": { + "header": "Scegli il tuo piano", + "individuals": "Piani Annuali", + "homePage": "Scegli il piano giusto per te", + "lifetime": "Piani a vita", + "business": "Piani business", + "lifetimeCampaign": { + "blueText": "50% di sconto", + "normalText": "su tutti i nostri piani esclusivi a vita" + } + }, + "lifetimeDescription": "Paga una volta sola e goditi privacy e sicurezza per sempre", + "planDescription": "Tutti i piani Internxt hanno accesso completo alla nostra suite di soluzioni private dotate delle più recenti tecnologie di sicurezza: Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor, Meet e Mail. ", + "businessDescription": "Stiamo attualmente lavorando su nuovi piani Internxt progettati esclusivamente per difendere la tua azienda, proteggere i tuoi dipendenti e garantire la tua redditività.", + "businessDescription2": "Garantisci la sicurezza dei dati aziendali con i piani di archiviazione cloud crittografati di Internxt.", + "billingFrequency": { + "monthly": "Mensile", + "annually": "Annuale", + "lifetime": "A vita", + "individual": "Individuale", + "business": "Business" + }, + "freePlanCard": { + "eyeBrow": "Gratuito", + "description": "Ottieni 1 GB di archiviazione cloud crittografata gratuitamente", + "cta": "Seleziona piano" + }, + "features": { + "endToEnd": "Crittografia end-to-end", + "openSource": "Open source e verificato", + "anonymousAccount": "Creazione account anonimo", + "premiumSupport": "Supporto clienti premium", + "guarantee": "Garanzia soddisfatti o rimborsati 30 giorni" + }, + "planStorage": { + "essential": "1TB", + "premium": "3TB", + "ultimate": "5TB" + } } -} +} \ No newline at end of file diff --git a/src/assets/lang/ru/what-does-google-know-about-me.json b/src/assets/lang/ru/what-does-google-know-about-me.json index 55af7f13a..409d28650 100644 --- a/src/assets/lang/ru/what-does-google-know-about-me.json +++ b/src/assets/lang/ru/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "What Does Google Know About Me?", - "section1": { "description": "Privacy groups have expressed alarm over Google's collection of personal data and everyone's heard of Google’s many privacy violations.", "footer": "It's no secret that Google collects personal information and tracks its users through Chrome, Google Search, Google Play apps, Google Maps, Youtube, and more. Prevent Google from accessing your data by adjusting your Google controls and settings." @@ -221,5 +220,48 @@ "title": "A cloud you can trust", "description": "Internxt’s job is to protect your data, not exploit it.", "cta": "Create free account" + }, + "tableSection": { + "title": "Тарифы Internxt", + "hotLabel": "Скидка {{discount}}% ", + "planTitles": { + "header": " Выберите свой тариф", + "individuals": "Годовые Планы", + "homePage": "Выберите подходящий тариф", + "lifetime": "Пожизненные тарифы", + "business": "Бизнес-тарифы", + "lifetimeCampaign": { + "blueText": "Скидка 50%", + "normalText": "на все наши эксклюзивные пожизненные тарифы" + } + }, + "lifetimeDescription": "Заплатите один раз — наслаждайтесь конфиденциальностью и безопасностью навсегда.", + "planDescription": "Все тарифы предоставляют полный доступ к нашей экосистеме приватных сервисов на базе новейших технологий безопасности: Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor, Meet и Mail. ", + "businessDescription": "В настоящее время мы разрабатываем новые тарифы Internxt, созданные специально для защиты вашего бизнеса, сотрудников и обеспечения финансовой безопасности.", + "businessDescription2": "Обеспечьте надежную защиту корпоративных данных с помощью зашифрованного облачного хранилища Internxt.", + "billingFrequency": { + "monthly": "Ежемесячно", + "annually": "Ежегодно", + "lifetime": "Пожизненно", + "individual": "Для себя", + "business": "Для бизнеса" + }, + "freePlanCard": { + "eyeBrow": "Бесплатно", + "description": "Получите 1 ГБ зашифрованного облачного хранилища абсолютно бесплатно", + "cta": "Выбрать тариф" + }, + "features": { + "endToEnd": "Сквозное шифрование", + "openSource": "Открытый исходный код и пройденный аудит", + "anonymousAccount": "Анонимное создание аккаунта", + "premiumSupport": "Премиум-поддержка", + "guarantee": "30-дневная гарантия возврата денег" + }, + "planStorage": { + "essential": "1ТБ", + "premium": "3ТБ", + "ultimate": "5ТБ" + } } -} +} \ No newline at end of file diff --git a/src/assets/lang/zh-tw/what-does-google-know-about-me.json b/src/assets/lang/zh-tw/what-does-google-know-about-me.json index a6bc4ca3c..cd9cdbc1c 100644 --- a/src/assets/lang/zh-tw/what-does-google-know-about-me.json +++ b/src/assets/lang/zh-tw/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "Google 對我的了解是什麼?", - "section1": { "description": "隱私組織對 Google 收集個人數據感到擔憂,每個人都聽說過 Google 的許多隱私違規事件。", "footer": "毫不秘密地,Google 通過 Chrome、Google 搜索、Google Play 應用、Google 地圖、YouTube 等收集個人信息並跟蹤其用戶。通過調整 Google 控件和設置,防止 Google 訪問您的數據。" @@ -221,5 +220,48 @@ "title": "一個可以信任的雲", "description": "Internxt 的工作是保護你的數據,而不是利用它。", "cta": "創建免費帳戶" + }, + "tableSection": { + "title": "Internxt 方案", + "hotLabel": "{{discount}}% 折扣 ", + "planTitles": { + "header": " 選擇您的計劃", + "individuals": "年度計劃", + "homePage": "選擇適合您的方案", + "lifetime": "終身方案", + "business": "企業方案", + "lifetimeCampaign": { + "blueText": "5 折優惠", + "normalText": "所有專屬終身方案" + } + }, + "lifetimeDescription": "一次付費,終身享受隱私和安全保護", + "planDescription": "所有 Internxt 方案都可完整存取我們的私密解決方案套件,配備最新安全技術:Internxt Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor,Meet 和 Mail。", + "businessDescription": "我們目前正在開發專為保護您的事業、保護員工和確保獲利而設計的全新 Internxt 企業方案。", + "businessDescription2": "使用 Internxt 加密雲端儲存方案確保企業資料安全。", + "billingFrequency": { + "monthly": "月付", + "annually": "年付", + "lifetime": "終身", + "individual": "個人", + "business": "企業" + }, + "freePlanCard": { + "eyeBrow": "免費版", + "description": "免費獲得 1GB 加密雲端儲存空間", + "cta": "選擇方案" + }, + "features": { + "endToEnd": "端對端加密", + "openSource": "開源且經過稽核", + "anonymousAccount": "匿名帳戶建立", + "premiumSupport": "高級客戶支援", + "guarantee": "30 天退款保證" + }, + "planStorage": { + "essential": "1TB", + "premium": "3TB", + "ultimate": "5TB" + } } -} +} \ No newline at end of file diff --git a/src/assets/lang/zh/what-does-google-know-about-me.json b/src/assets/lang/zh/what-does-google-know-about-me.json index 55af7f13a..4fca6a0d6 100644 --- a/src/assets/lang/zh/what-does-google-know-about-me.json +++ b/src/assets/lang/zh/what-does-google-know-about-me.json @@ -1,7 +1,6 @@ { "HeroSection": { "mainTitle": "What Does Google Know About Me?", - "section1": { "description": "Privacy groups have expressed alarm over Google's collection of personal data and everyone's heard of Google’s many privacy violations.", "footer": "It's no secret that Google collects personal information and tracks its users through Chrome, Google Search, Google Play apps, Google Maps, Youtube, and more. Prevent Google from accessing your data by adjusting your Google controls and settings." @@ -221,5 +220,48 @@ "title": "A cloud you can trust", "description": "Internxt’s job is to protect your data, not exploit it.", "cta": "Create free account" + }, + "tableSection": { + "title": "Internxt 方案", + "hotLabel": "{{discount}}% 折扣", + "planTitles": { + "header": "选择您的计划 ", + "individuals": "年度计划", + "homePage": "選擇適合您的方案", + "lifetime": "終身方案", + "business": "企業方案", + "lifetimeCampaign": { + "blueText": "5 折優惠", + "normalText": "所有專屬終身方案" + } + }, + "lifetimeDescription": "一次付費,終身享受隱私和安全保護", + "planDescription": "所有 Internxt 方案都可完整存取我們的私密解決方案套件,配備最新安全技術:Internxt Drive, Send, VPN, Antivirus, Cleaner, Dark Web Monitor, Meet 和 Mail。", + "businessDescription": "我們目前正在開發專為保護您的事業、保護員工和確保獲利而設計的全新 Internxt 企業方案。", + "businessDescription2": "使用 Internxt 加密雲端儲存方案確保企業資料安全。", + "billingFrequency": { + "monthly": "月付", + "annually": "年付", + "lifetime": "終身", + "individual": "個人", + "business": "企業" + }, + "freePlanCard": { + "eyeBrow": "免費版", + "description": "免費獲得 1GB 加密雲端儲存空間", + "cta": "選擇方案" + }, + "features": { + "endToEnd": "端對端加密", + "openSource": "開源且經過稽核", + "anonymousAccount": "匿名帳戶建立", + "premiumSupport": "高級客戶支援", + "guarantee": "30 天退款保證" + }, + "planStorage": { + "essential": "1TB", + "premium": "3TB", + "ultimate": "5TB" + } } -} +} \ No newline at end of file diff --git a/src/components/layout/navbars/Navbar.tsx b/src/components/layout/navbars/Navbar.tsx index 686d8ff2c..a46f672ce 100644 --- a/src/components/layout/navbars/Navbar.tsx +++ b/src/components/layout/navbars/Navbar.tsx @@ -28,6 +28,7 @@ export interface NavbarProps { hideLogoLink?: boolean; hideCTA?: boolean; hideLoginButton?: boolean; + hideLanguage?: boolean; } const DRIVE_WEB_URL = 'https://drive.internxt.com'; @@ -217,7 +218,7 @@ export default function Navbar(props: Readonly) { )}
- {!props.hideNavbar ? : undefined} + {!props.hideNavbar && !props.hideLanguage ? : undefined}
{!props.isLinksHidden && ( @@ -455,7 +456,7 @@ export default function Navbar(props: Readonly) { Need a VPN? ) : undefined} - + {!props.hideLanguage && } { setMenuState(false); diff --git a/src/components/partnersTemplate/HeroSection.tsx b/src/components/partnersTemplate/HeroSection.tsx index dc70473cc..927eb9a57 100644 --- a/src/components/partnersTemplate/HeroSection.tsx +++ b/src/components/partnersTemplate/HeroSection.tsx @@ -27,6 +27,7 @@ interface HeroSectionForPartnerProps { isPrivacyTutor?: boolean; isUltimatePlan?: boolean; specialOffer?: boolean; + annualPlans?: boolean; } export default function HeroSection({ @@ -41,6 +42,7 @@ export default function HeroSection({ isUltimatePlan = false, isPcMag = false, specialOffer = false, + annualPlans = false, }: Readonly): JSX.Element { const [currency, setCurrency] = useState('€'); @@ -190,7 +192,11 @@ export default function HeroSection({ }`} > {parsePercentText(textContent.subtitle)} - {specialOffer ? {textContent.subtitle2} : {textContent.lifetimeSubtitle2}} + {specialOffer || annualPlans ? ( + {textContent.subtitle2} + ) : ( + {textContent.lifetimeSubtitle2} + )} )}

= { + baity: 'es', + heisect: 'de', + heise: 'de', + einfach: 'de', + bjoern: 'de', + apfelcast: 'de', + ct3003: 'de', + ition: 'de', + neumanndigital: 'de', + bluewin: 'de', + simon42: 'de', + madroz: 'fr', + justin: 'fr', + qinhui: 'fr', + benjamin: 'fr', + lefiltre: 'fr', + overfl0w: 'fr', + xataka: 'es', + macho: 'es', + letosa: 'es', + genius: 'es', + marcocreativo: 'es', + gbascunana: 'es', + alejavi: 'es', + tukaram: 'es', + payette: 'en', + christian: 'en', + tatiana: 'en', + devopstoolbox: 'en', + foci: 'en', + shannon: 'en', + cninternxtl: 'en', + cooltechzone: 'en', + spencer: 'en', + f4mi: 'en', + shortcircuit: 'en', + techlinked: 'en', + techquickie: 'en', + alexziskind: 'en', + clubic: 'fr', + cocadmin: 'fr', + lefiltreitalia: 'it', + gentiluomodigitale: 'it', + morrolinux: 'it', + speciale: 'it', + nfire: 'it', + ghareeb: 'fr', +}; + export const ALTERNATE_RECOMENDATED_PLAN_PATHS = new Set([]); export const DARK_MODE_PATHS = new Set(['oscar', 'rimembah', 'believemy', 'ghareeb']); -export const ALTERNATIVE_IMAGES_PATHS = new Set(['baity']); +export const ALTERNATIVE_IMAGES_PATHS = new Set(['baity', 'nfire']); export const ONLY_ULTIMATE_PLANS_PATHS = new Set(['ultimate']); export const ULTIMATE_PREMIUM_PLANS_PATHS = new Set([]); export const ANNUAL_PLANS_PATHS = new Set(['annual', 'ultimate']); @@ -93,8 +146,16 @@ export const ANNUAL_DISCOUNT_PLANS_PATHS = new Set([ 'privacytutor', 'heisect', 'xataka', - 'grabon', 'heise', + 'lukevoidx', + 'howmation', + 'aylabs', + 'bjoern', + 'simon42', + 'lefiltre', + 'devopstoolbox', + 'ition', + 'cocadmin', ]); export const COUPON_CODES = { @@ -168,6 +229,9 @@ export const COUPON_CODES = { techsagar: PromoCodeName.techsagar, levelupid: PromoCodeName.levelupid, privacytutor: PromoCodeName.privacyTutor, + lukevoidx: PromoCodeName.lukevoidx, + howmation: PromoCodeName.howmation, + aylabs: PromoCodeName.aylabs, }; interface OfferConfig { diff --git a/src/lib/types/index.ts b/src/lib/types/index.ts index 3b43c4e0a..f68933205 100644 --- a/src/lib/types/index.ts +++ b/src/lib/types/index.ts @@ -279,7 +279,11 @@ export enum PromoCodeName { techsagar = 'TECHSAGAR', levelupid = 'LEVELUPID', privacyTutor = 'PRIVACY', + lukevoidx = 'LUKEVOIDX', + howmation = 'HOWMATION', + aylabs = 'AYLABS', antivirus = 'ANTIV', + WGKAM = 'WGKAM', } export interface PromoCodeProps { diff --git a/src/pages/[filename].tsx b/src/pages/[filename].tsx index 9bbeaf41b..8911384c9 100644 --- a/src/pages/[filename].tsx +++ b/src/pages/[filename].tsx @@ -12,7 +12,7 @@ import FloatingCtaSectionv2 from '@/components/shared/FloatingCtaSectionV2'; import { PricingSectionWrapper } from '@/components/shared/pricing/PricingSectionWrapper'; import { Interval, stripeService } from '@/services/stripe.service'; import { SpecialOfferText } from '@/assets/types/specialOfferTemplate'; -import { useOfferConfig, usePathRedirect } from '@/hooks/useSpecialOfferConfig'; +import { useOfferConfig, usePathRedirect, ENFORCED_LOCALE } from '@/hooks/useSpecialOfferConfig'; import FeaturesSection from '@/components/drive/FeaturesSection'; import { HorizontalPriceCard } from '@/components/shared/pricing/PriceCard/HorizontalPriceCard'; @@ -23,6 +23,7 @@ interface CombinedSpecialOfferProps { footerLang: FooterText; pathname: string; lang: string; + hideLanguage?: boolean; } const getThemeClasses = (isDarkMode: boolean) => ({ @@ -61,6 +62,7 @@ function CombinedSpecialOffer({ footerLang, navbarLang, pathname, + hideLanguage, }: CombinedSpecialOfferProps): JSX.Element { const { selectedPathname, @@ -152,7 +154,7 @@ function CombinedSpecialOffer({ : undefined } > - + @@ -191,6 +195,7 @@ function CombinedSpecialOffer({ { const metatags = metatagsDescriptions.filter((desc) => desc.id === 'what-google-knows'); + const { + products, + loadingCards, + currencyValue, + coupon: individualCoupon, + lifetimeCoupon, + lifetimeCoupons, + } = usePricing({ + couponCode: PromoCodeName.WGKAM, + couponCodeForLifetime: PromoCodeName.WGKAM, + }); + + const onCheckoutButtonClicked = async ( + priceId: string, + isCheckoutForLifetime: boolean, + interval: string, + storage: string, + ) => { + const couponCodeForCheckout = isCheckoutForLifetime ? lifetimeCoupon : individualCoupon; + + const finalPrice = await stripeService.calculateFinalPrice( + priceId, + interval, + currencyValue, + 'individuals', + couponCodeForCheckout, + ); + + stripeService.redirectToCheckout( + priceId, + finalPrice, + currencyValue, + 'individual', + isCheckoutForLifetime, + interval, + storage, + couponCodeForCheckout?.name, + ); + }; + + const decimalDiscountForLifetime = lifetimeCoupon?.percentOff && 100 - lifetimeCoupon.percentOff; + const decimalDiscount = individualCoupon?.percentOff && 100 - individualCoupon.percentOff; + return ( <>