diff --git a/src/assets/lang/de/specialOfferTemplate.json b/src/assets/lang/de/specialOfferTemplate.json index 48058f3d6..5bdba4fdb 100644 --- a/src/assets/lang/de/specialOfferTemplate.json +++ b/src/assets/lang/de/specialOfferTemplate.json @@ -16,6 +16,21 @@ "subtitle2": "auf alle Pläne", "claimDeal": "Angebot beanspruchen" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "Antivirus", + "cleaner": "Cleaner", + "vpn": "VPN", + "meet": "Meet", + "mail": "Mail", + "ai": "AI" + }, + "title": "Sie stehen auf der Black Friday **Prioritätsliste**.", + "description": "Sichern Sie sich vor allen anderen den frühzeitigen Zugang zu unserem größten Black Friday Angebot des Jahres – post-quantenverschlüsselter Cloud-Speicher und unsere komplette Privatsphäre-Suite mit {{discount}}% Rabatt.", + "subtitle": "Erhalten Sie {{discount}}% Rabatt", + "claimDeal": "Angebot beanspruchen" + }, "ReviewSection": { "forbes": "Internxt festigt seine Position als europäische Alternative zu den Tech-Giganten", "deloitte": "Erhielt den Deloitte Fast 50 Award für die am schnellsten wachsenden Unternehmen", diff --git a/src/assets/lang/en/specialOfferTemplate.json b/src/assets/lang/en/specialOfferTemplate.json index 6b06e0c1b..466a36673 100644 --- a/src/assets/lang/en/specialOfferTemplate.json +++ b/src/assets/lang/en/specialOfferTemplate.json @@ -17,6 +17,21 @@ "lifetimeSubtitle2": "on all lifetime plans", "claimDeal": "Claim deal" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "Antivirus", + "cleaner": "Cleaner", + "vpn": "VPN", + "meet": "Meet", + "mail": "Mail", + "ai": "AI" + }, + "title": "You're on the Black Friday **priority list**.", + "description": "Unlock early access to our biggest Black Friday deal of the year before anyone else—post-quantum encrypted cloud storage and our full privacy suite at {{discount}}% off.", + "subtitle": "Get {{discount}}% off discount", + "claimDeal": "Claim deal" + }, "ReviewSection": { "forbes": "Internxt consolidates its position as an European alternative to the tech giants", "deloitte": "Received Deloitte Fast 50 Award, which recognizes fastest-growing companies", diff --git a/src/assets/lang/es/specialOfferTemplate.json b/src/assets/lang/es/specialOfferTemplate.json index 8f63e7df8..900b370b8 100644 --- a/src/assets/lang/es/specialOfferTemplate.json +++ b/src/assets/lang/es/specialOfferTemplate.json @@ -16,6 +16,21 @@ "subtitle2": "en todos los planes", "claimDeal": "Reclamar oferta" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "Antivirus", + "cleaner": "Cleaner", + "vpn": "VPN", + "meet": "Meet", + "mail": "Mail", + "ai": "AI" + }, + "title": "Estás en la **lista prioritaria** del Black Friday.", + "description": "Desbloquea el acceso anticipado a nuestra mayor oferta del Black Friday del año antes que nadie: almacenamiento en la nube encriptado post-cuántico y toda nuestra suite de privacidad con un {{discount}}% de descuento.", + "subtitle": "Obtén un {{discount}}% de descuento", + "claimDeal": "Reclamar oferta" + }, "ReviewSection": { "forbes": "Internxt consolida su posición como alternativa europea a los gigantes tecnológicos", "deloitte": "Recibió el premio Deloitte Fast 50, que reconoce a las empresas de más rápido crecimiento", diff --git a/src/assets/lang/fr/specialOfferTemplate.json b/src/assets/lang/fr/specialOfferTemplate.json index ea9f12c36..7dcd9abb9 100644 --- a/src/assets/lang/fr/specialOfferTemplate.json +++ b/src/assets/lang/fr/specialOfferTemplate.json @@ -16,6 +16,21 @@ "subtitle2": "sur tous les plans", "claimDeal": "Réclamer l'offre" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "Antivirus", + "cleaner": "Cleaner", + "vpn": "VPN", + "meet": "Meet", + "mail": "Mail", + "ai": "AI" + }, + "title": "Vous êtes sur la **liste prioritaire** du Black Friday.", + "description": "Débloquez l'accès anticipé à notre plus grande offre Black Friday de l'année avant tout le monde : stockage cloud chiffré post-quantique et toute notre suite de confidentialité avec {{discount}} % de réduction.", + "subtitle": "Obtenez {{discount}} % de réduction", + "claimDeal": "Réclamer l'offre" + }, "ReviewSection": { "forbes": "Internxt consolide sa position en tant qu'alternative européenne aux géants technologiques", "deloitte": "A reçu le prix Deloitte Fast 50, qui récompense les entreprises à la croissance la plus rapide", diff --git a/src/assets/lang/it/specialOfferTemplate.json b/src/assets/lang/it/specialOfferTemplate.json index cffbb5214..45c3520ed 100644 --- a/src/assets/lang/it/specialOfferTemplate.json +++ b/src/assets/lang/it/specialOfferTemplate.json @@ -16,6 +16,21 @@ "subtitle2": "su tutti i piani", "claimDeal": "Rivendica l'offerta" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "Antivirus", + "cleaner": "Cleaner", + "vpn": "VPN", + "meet": "Meet", + "mail": "Mail", + "ai": "AI" + }, + "title": "Sei nella **lista prioritaria** del Black Friday.", + "description": "Sblocca l'accesso anticipato alla nostra più grande offerta Black Friday dell'anno prima di tutti gli altri: cloud storage crittografato post-quantico e l'intera suite per la privacy con {{discount}}% di sconto.", + "subtitle": "Ottieni {{discount}}% di sconto", + "claimDeal": "Rivendica l'offerta" + }, "ReviewSection": { "forbes": "Internxt consolida la sua posizione come alternativa europea ai giganti tecnologici", "deloitte": "Ha ricevuto il premio Deloitte Fast 50, che riconosce le aziende in più rapida crescita", diff --git a/src/assets/lang/pt-br/specialOfferTemplate.json b/src/assets/lang/pt-br/specialOfferTemplate.json index 52f4f82c3..2e446b33f 100644 --- a/src/assets/lang/pt-br/specialOfferTemplate.json +++ b/src/assets/lang/pt-br/specialOfferTemplate.json @@ -17,6 +17,21 @@ "lifetimeSubtitle2": "em todos os planos vitalícios", "claimDeal": "Garantir oferta" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "Antivirus", + "cleaner": "Cleaner", + "vpn": "VPN", + "meet": "Meet", + "mail": "Mail", + "ai": "AI" + }, + "title": "Você está na **lista prioritária** da Black Friday.", + "description": "Desbloqueie o acesso antecipado à nossa maior oferta de Black Friday do ano antes de todo mundo: armazenamento na nuvem criptografado pós-quântico e toda a nossa suíte de privacidade com {{discount}}% de desconto.", + "subtitle": "Ganhe {{discount}}% de desconto", + "claimDeal": "Garantir oferta" + }, "ReviewSection": { "forbes": "A Internxt consolida sua posição como alternativa europeia às gigantes da tecnologia", "deloitte": "Recebeu o prêmio Deloitte Fast 50, que reconhece as empresas de crescimento mais rápido", diff --git a/src/assets/lang/ru/specialOfferTemplate.json b/src/assets/lang/ru/specialOfferTemplate.json index fd27aa89c..e1c6166bc 100644 --- a/src/assets/lang/ru/specialOfferTemplate.json +++ b/src/assets/lang/ru/specialOfferTemplate.json @@ -16,6 +16,21 @@ "subtitle2": "на все тарифы", "claimDeal": "Получить предложение" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "Antivirus", + "cleaner": "Cleaner", + "vpn": "VPN", + "meet": "Meet", + "mail": "Mail", + "ai": "AI" + }, + "title": "Вы в **приоритетном списке** Black Friday.", + "description": "Получите ранний доступ к нашему крупнейшему предложению Black Friday в этом году раньше всех — пост-квантовое зашифрованное облачное хранилище и весь пакет конфиденциальности со скидкой {{discount}}%.", + "subtitle": "Получите {{discount}}% скидки", + "claimDeal": "Получить предложение" + }, "ReviewSection": { "forbes": "Internxt укрепляет свои позиции как европейская альтернатива технологическим гигантам", "deloitte": "Получил премию Deloitte Fast 50, признающую самые быстрорастущие компании", diff --git a/src/assets/lang/zh-tw/specialOfferTemplate.json b/src/assets/lang/zh-tw/specialOfferTemplate.json index 8bf635ee2..07dae27af 100644 --- a/src/assets/lang/zh-tw/specialOfferTemplate.json +++ b/src/assets/lang/zh-tw/specialOfferTemplate.json @@ -15,6 +15,20 @@ "subtitle2": "適用於所有方案", "claimDeal": "領取優惠" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "防毒軟體", + "cleaner": "清理工具", + "vpn": "VPN", + "meet": "Meet", + "mail": "郵件" + }, + "title": "您已進入黑色星期五**優先名單**。", + "description": "搶先解鎖我們年度最大的黑色星期五優惠——後量子加密雲端儲存與完整隱私套件,立享{{discount}}%折扣。", + "subtitle": "享受{{discount}}%折扣", + "claimDeal": "領取優惠" + }, "ReviewSection": { "forbes": "Internxt鞏固了其作為歐洲科技巨頭替代方案的地位", "deloitte": "榮獲德勤Fast 50大獎,表彰成長最快的企業", diff --git a/src/assets/lang/zh/specialOfferTemplate.json b/src/assets/lang/zh/specialOfferTemplate.json index 7c4ba247d..daf6ac52b 100644 --- a/src/assets/lang/zh/specialOfferTemplate.json +++ b/src/assets/lang/zh/specialOfferTemplate.json @@ -15,6 +15,20 @@ "subtitle2": "适用于所有计划", "claimDeal": "获取优惠" }, + "PriorityHeroSection": { + "products": { + "drive": "Drive", + "antivirus": "杀毒软件", + "cleaner": "清理工具", + "vpn": "VPN", + "meet": "Meet", + "mail": "邮箱" + }, + "title": "您已进入黑色星期五**优先名单**。", + "description": "抢先解锁我们年度最大的黑色星期五优惠——后量子加密云存储和完整隐私套件,立享{{discount}}%折扣。", + "subtitle": "享受{{discount}}%折扣", + "claimDeal": "获取优惠" + }, "ReviewSection": { "forbes": "Internxt巩固了其作为欧洲科技巨头替代方案的地位", "deloitte": "荣获德勤Fast 50大奖,表彰增长最快的企业", diff --git a/src/assets/types/specialOfferTemplate.ts b/src/assets/types/specialOfferTemplate.ts index 018917c2a..30255b967 100644 --- a/src/assets/types/specialOfferTemplate.ts +++ b/src/assets/types/specialOfferTemplate.ts @@ -1,5 +1,6 @@ export interface SpecialOfferText { HeroSection: HeroSection; + PriorityHeroSection: PriorityHeroSection; ReviewSection: ReviewSection; TrustedBySection: TrustedBySection; NextGenSection: NextGenSection; @@ -98,6 +99,14 @@ export interface HeroSection { claimDeal: string; } +export interface PriorityHeroSection { + products: Products; + title: string; + description: string; + subtitle: string; + claimDeal: string; +} + export interface Products { drive: string; antivirus: string; diff --git a/src/hooks/useSpecialOfferConfig.ts b/src/hooks/useSpecialOfferConfig.ts index 214cc1fd7..f38c4978b 100644 --- a/src/hooks/useSpecialOfferConfig.ts +++ b/src/hooks/useSpecialOfferConfig.ts @@ -231,6 +231,7 @@ export const ALLOWED_PATHS = [ 'heise85', 'parlonscyber', 'awde85', + 'priority-offer-em', ]; export const ENFORCED_LOCALE: Record = { @@ -643,6 +644,7 @@ export const ANNUAL_DISCOUNT_PLANS_PATHS = new Set([ 'heise85', 'parlonscyber', 'awde85', + 'priority-offer-em', ]); export const COUPON_CODES = { @@ -874,6 +876,7 @@ export const COUPON_CODES = { heise85: PromoCodeName.heise85, parlonscyber: PromoCodeName.parlonscyber, awde85: PromoCodeName.awde85, + 'priority-offer-em': PromoCodeName.plbf90, }; interface OfferConfig { @@ -892,6 +895,7 @@ interface OfferConfig { isBpdrive: boolean; requireAnnualDiscount?: boolean; isPrivacyTutor: boolean; + isPriorityHero: boolean; redirectToUrgentCheckout: boolean; } @@ -916,6 +920,7 @@ export const useOfferConfig = (pathname: string): OfferConfig => { isBpdrive: false, requireAnnualDiscount: false, isPrivacyTutor: false, + isPriorityHero: false, redirectToUrgentCheckout: false, }; } @@ -932,6 +937,7 @@ export const useOfferConfig = (pathname: string): OfferConfig => { const isWpcdrive = selectedPathname === 'wpcdrive'; const isBpdrive = selectedPathname === 'bpdrive'; const isPrivacyTutor = selectedPathname === 'privacytutor'; + const isPriorityHero = selectedPathname === 'priority-offer-em'; const requireAnnualDiscount = ANNUAL_DISCOUNT_PLANS_PATHS.has(selectedPathname); const redirectToUrgentCheckout = URGENT_CHECKOUT_PATHS.has(selectedPathname); @@ -954,6 +960,7 @@ export const useOfferConfig = (pathname: string): OfferConfig => { isWpcdrive, isBpdrive, isPrivacyTutor, + isPriorityHero, requireAnnualDiscount, redirectToUrgentCheckout, }; diff --git a/src/lib/types/index.ts b/src/lib/types/index.ts index 9ea7c8a0e..6922c5ec9 100644 --- a/src/lib/types/index.ts +++ b/src/lib/types/index.ts @@ -489,6 +489,7 @@ export enum PromoCodeName { awde85 = 'AWDE85', awbf90 = 'AWBF90', awcw90 = 'AWCW90', + plbf90 = 'PLBF90', } export interface PromoCodeProps { diff --git a/src/pages/[filename].tsx b/src/pages/[filename].tsx index 99f0a433b..9571b5b63 100644 --- a/src/pages/[filename].tsx +++ b/src/pages/[filename].tsx @@ -81,6 +81,7 @@ function CombinedSpecialOffer({ isWpcdrive, isBpdrive, isPrivacyTutor, + isPriorityHero, requireAnnualDiscount, redirectToUrgentCheckout, } = useOfferConfig(pathname); @@ -158,7 +159,7 @@ function CombinedSpecialOffer({ robots={ pathname === 'world-backup-day' || pathname === 'earth-day' || pathname === 'drop-offer' || pathname === 'offerblogen' || pathname === 'offerbloges' || pathname === 'offerblogde' - || pathname === 'offerblogfr' + || pathname === 'offerblogfr' || pathname === 'priority-offer-em' ? 'noindex,follow' : undefined } @@ -174,7 +175,7 @@ function CombinedSpecialOffer({ />