Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/hooks/useSpecialOfferConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,13 @@ export const ALLOWED_PATHS = [
'lifetime',
'clubic',
'morrolinux',
'tukaram',
'f4mi',
'macho',
'heise'
];
export const ALTERNATE_RECOMENDATED_PLAN_PATHS = new Set<string>([]);
export const DARK_MODE_PATHS = new Set<string>(['baity', 'xavier', 'oscar', 'rimembah', 'believemy', 'ghareeb']);
export const DARK_MODE_PATHS = new Set<string>(['baity', 'oscar', 'rimembah', 'believemy', 'ghareeb']);
export const ALTERNATIVE_IMAGES_PATHS = new Set<string>(['baity']);
export const ONLY_ULTIMATE_PLANS_PATHS = new Set<string>(['ultimate']);
export const ULTIMATE_PREMIUM_PLANS_PATHS = new Set<string>([]);
Expand Down Expand Up @@ -96,6 +99,9 @@ export const COUPON_CODES = {
lifetime: PromoCodeName.lifetime,
clubic: PromoCodeName.clubic,
morrolinux: PromoCodeName.morrolinux,
tukaram: PromoCodeName.tukaram,
f4mi: PromoCodeName.f4mi,
macho: PromoCodeName.macho,
heise: PromoCodeName.heise,
};

Expand Down
3 changes: 3 additions & 0 deletions src/lib/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ export enum PromoCodeName {
NORTON85 = 'NORTON85',
morrolinux = 'MORROLINUX',
clubic = 'DRIVE87',
tukaram = 'TUKARAM',
f4mi = 'F4MI',
macho = 'MACHO',
heise = 'HEISE'
}

Expand Down
5 changes: 4 additions & 1 deletion src/pages/[filename].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ const LANG_MAP = {
lifetime: 'en',
clubic: 'fr',
morrolinux: 'it',
heise: 'de'
tukaram: 'es',
f4mi: 'en',
heise: 'de',
macho: 'en',
};

function CombinedSpecialOffer({
Expand Down
Loading