From f8c2b8844cecddf8585d99088d59163830708ea5 Mon Sep 17 00:00:00 2001 From: internxt-yu Date: Fri, 13 Nov 2026 16:02:36 +0100 Subject: [PATCH 1/2] changes --- src/components/deals/HeroSection.tsx | 4 ++-- src/components/home/HeroSection.tsx | 7 +++---- src/hooks/useAffiliatesCampaignOfferConfig.ts | 12 +++++++++--- src/hooks/useSpecialOfferConfig.ts | 3 +++ src/lib/types/index.ts | 4 ++++ 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/components/deals/HeroSection.tsx b/src/components/deals/HeroSection.tsx index e17da53b7..48ed008ff 100644 --- a/src/components/deals/HeroSection.tsx +++ b/src/components/deals/HeroSection.tsx @@ -118,11 +118,11 @@ export default function HeroSection({ {textContent.description && ( -

+

{parsePercentText(textContent.description)}

diff --git a/src/components/home/HeroSection.tsx b/src/components/home/HeroSection.tsx index 4ed4a7385..0d1a329c3 100644 --- a/src/components/home/HeroSection.tsx +++ b/src/components/home/HeroSection.tsx @@ -138,10 +138,9 @@ export default function HeroSection({ {textContent.subtitle.part1} {textContent.subtitle.part2}

- -

{parsePercentText(campaignText?.description ?? textContent.description)}

- -

{textContent.descriptionNormal}

+ +

{parsePercentText(campaignText?.description ?? textContent.description)}

{' '} +

{textContent.descriptionNormal}

{textContent.features.map((feat) => ( diff --git a/src/hooks/useAffiliatesCampaignOfferConfig.ts b/src/hooks/useAffiliatesCampaignOfferConfig.ts index 802db0505..468793885 100644 --- a/src/hooks/useAffiliatesCampaignOfferConfig.ts +++ b/src/hooks/useAffiliatesCampaignOfferConfig.ts @@ -45,6 +45,9 @@ export const CAMPAIGN_BY_PATH: Record = { gpescw90: 'cyber-week', gpitcw90: 'cyber-week', chollocw90: 'cyber-week', + tdescw90: 'cyber-week', + tdptcw90: 'cyber-week', + tditcw90: 'cyber-week', }; export const COUPON_CODES: Record = { @@ -83,12 +86,12 @@ export const COUPON_CODES: Record = { heisecm90: PromoCodeName.heisecm90, xatakacm90: PromoCodeName.xatakacm90, clubiccm90: PromoCodeName.clubiccm90, - tdescm90: PromoCodeName.tdesbf90, - tdptcm90: PromoCodeName.tdptbf90, - tditcm90: PromoCodeName.tditbf90, gpescw90: PromoCodeName.gpescw90, gpitcw90: PromoCodeName.gpitcw90, chollocw90: PromoCodeName.chollocw90, + tdescw90: PromoCodeName.tdescw90, + tditcw90: PromoCodeName.tditcw90, + tdptcw90: PromoCodeName.tdptcw90, }; export const ENFORCED_LOCALE: Record = { @@ -108,6 +111,7 @@ export const ENFORCED_LOCALE: Record = { chollobm87: 'es', chollobf90: 'es', chollocw90: 'es', + tdescw90: 'es', clubicbm87: 'fr', clubicbf90: 'fr', @@ -119,10 +123,12 @@ export const ENFORCED_LOCALE: Record = { gpitbm87: 'it', gpitbf90: 'it', gpitcw90: 'it', + tditcw90: 'it', tdptbm87: 'pt-br', tdptbf90: 'pt-br', tdptcm90: 'pt-br', + tdptcw90: 'pt-br', }; export const METATAGS_ID_BY_CAMPAIGN: Record = { diff --git a/src/hooks/useSpecialOfferConfig.ts b/src/hooks/useSpecialOfferConfig.ts index 447e59fca..22266d093 100644 --- a/src/hooks/useSpecialOfferConfig.ts +++ b/src/hooks/useSpecialOfferConfig.ts @@ -226,6 +226,7 @@ export const ALLOWED_PATHS = [ 'adrenaline', 'labs', 'otto', + 'techibee', ]; export const ENFORCED_LOCALE: Record = { @@ -628,6 +629,7 @@ export const ANNUAL_DISCOUNT_PLANS_PATHS = new Set([ 'adrenaline', 'labs', 'otto', + 'techibee', ]); export const COUPON_CODES = { @@ -854,6 +856,7 @@ export const COUPON_CODES = { adrenaline: PromoCodeName.adrenaline, labs: PromoCodeName.labs, otto: PromoCodeName.otto, + techibee: PromoCodeName.techibee, }; interface OfferConfig { diff --git a/src/lib/types/index.ts b/src/lib/types/index.ts index 9fcf59ea7..31f502a13 100644 --- a/src/lib/types/index.ts +++ b/src/lib/types/index.ts @@ -479,6 +479,10 @@ export enum PromoCodeName { adrenaline = 'ADRENALINE', labs = 'LABS', otto = 'OTTO', + tdescw90 = 'TDESCW90', + tdptcw90 = 'TDPTCW90', + tditcw90 = 'TDITCW90', + techibee = 'TECHIBEE', } export interface PromoCodeProps { From 5049246d62c6717477393090c093776d405e3485 Mon Sep 17 00:00:00 2001 From: internxt-yu Date: Fri, 13 Nov 2026 16:25:25 +0100 Subject: [PATCH 2/2] remove cm from list --- src/hooks/useAffiliatesCampaignOfferConfig.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hooks/useAffiliatesCampaignOfferConfig.ts b/src/hooks/useAffiliatesCampaignOfferConfig.ts index 468793885..d7a1a4bc6 100644 --- a/src/hooks/useAffiliatesCampaignOfferConfig.ts +++ b/src/hooks/useAffiliatesCampaignOfferConfig.ts @@ -39,9 +39,6 @@ export const CAMPAIGN_BY_PATH: Record = { heisecm90: 'cyber-week', xatakacm90: 'cyber-week', clubiccm90: 'cyber-week', - tdescm90: 'cyber-week', - tdptcm90: 'cyber-week', - tditcm90: 'cyber-week', gpescw90: 'cyber-week', gpitcw90: 'cyber-week', chollocw90: 'cyber-week',