From 08dd2325dc5b790c662741409044164539603376 Mon Sep 17 00:00:00 2001 From: Urvish Date: Tue, 24 Nov 2026 13:27:38 +0530 Subject: [PATCH] fix(storefront): unify complete pack naming and badge UI across catalog --- src/components/catalog/CatalogSection.tsx | 16 +++++++++++++--- src/constants/modules.ts | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/catalog/CatalogSection.tsx b/src/components/catalog/CatalogSection.tsx index cc74f77..22414fd 100644 --- a/src/components/catalog/CatalogSection.tsx +++ b/src/components/catalog/CatalogSection.tsx @@ -239,7 +239,12 @@ export const CatalogSection: React.FC = ({ >
- {sub.name} + {sub.name.replace("Pattern: ", "")} + {sub.name.includes('Complete Pack') && ( + + Complete Pack + + )} {!isUnlocked && !live.isActive && ( Temporarily Unavailable @@ -353,7 +358,12 @@ export const CatalogSection: React.FC = ({ >
- {sub.name} + {sub.name.replace("Nutrition: ", "")} + {sub.name.includes('Complete Pack') && ( + + Complete Pack + + )} {!isUnlocked && !live.isActive && ( Temporarily Unavailable @@ -469,7 +479,7 @@ export const CatalogSection: React.FC = ({
{sub.name.replace("Therapeutics: ", "")} {sub.code === 'THERAPEUTICS_CORE' && ( - + Complete Pack )} diff --git a/src/constants/modules.ts b/src/constants/modules.ts index f16824c..1ff517d 100644 --- a/src/constants/modules.ts +++ b/src/constants/modules.ts @@ -36,7 +36,7 @@ export const CURRICULUM_MODULES: ModuleItem[] = [ // 4. Therapeutics Category { code: 'THERAPEUTICS_GYNAE', name: 'Therapeutics: Gynecology', category: 'Therapeutics', priceInr: 600, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Unlocks advanced clinical Gynecology treatment protocols, syndromes, and corresponding points.', color: 'from-teal-500 to-cyan-500' }, { code: 'THERAPEUTICS_EAR', name: 'Therapeutics: Ear reflexology', category: 'Therapeutics', priceInr: 600, priceUsd: 15.0, priceEur: 15.0, desc: '1 Year: Unlocks comprehensive ear micro-system treatment procedures and specific clinical ear protocols.', color: 'from-cyan-500 to-blue-600' }, - { code: 'THERAPEUTICS_CORE', name: 'Therapeutics Complete Bundle', category: 'Therapeutics', priceInr: 1200, priceUsd: 30.0, priceEur: 30.0, desc: '1 Year: Unlocks both advanced clinical Gynecology and Ear Reflexology therapeutics treatment protocols.', color: 'from-teal-500 to-blue-600' }, + { code: 'THERAPEUTICS_CORE', name: 'Therapeutics: Complete Pack', category: 'Therapeutics', priceInr: 1200, priceUsd: 30.0, priceEur: 30.0, desc: '1 Year: Unlocks both advanced clinical Gynecology and Ear Reflexology therapeutics treatment protocols.', color: 'from-teal-500 to-blue-600' }, // 5. Lifetime Access { code: 'LIFETIME_ALL', name: 'Lifetime Unlimited Access Pass', category: 'Lifetime', priceInr: 15000, priceUsd: 350.0, priceEur: 350.0, desc: '10 Years: Unlock all 10 current modules + all future updates. Includes official master clinical certificate.', color: 'from-yellow-500 to-amber-600' } -- 2.34.1