fix(storefront): unify complete pack naming and badge UI across catalog #119
|
|
@ -239,7 +239,12 @@ export const CatalogSection: React.FC<CatalogSectionProps> = ({
|
|||
>
|
||||
<div className="flex-1 pr-2">
|
||||
<div className="flex items-center gap-1.5 flex-wrap">
|
||||
<span className="text-xs font-bold text-slate-800">{sub.name}</span>
|
||||
<span className="text-xs font-bold text-slate-800">{sub.name.replace("Pattern: ", "")}</span>
|
||||
{sub.name.includes('Complete Pack') && (
|
||||
<span className="text-[8px] bg-gradient-to-r from-indigo-500 to-purple-600 text-white font-extrabold px-1.5 py-0.5 rounded tracking-wider uppercase">
|
||||
Complete Pack
|
||||
</span>
|
||||
)}
|
||||
{!isUnlocked && !live.isActive && (
|
||||
<span className="text-[8px] bg-slate-200 text-slate-600 font-bold px-1.5 py-0.5 rounded tracking-wider uppercase">
|
||||
Temporarily Unavailable
|
||||
|
|
@ -353,7 +358,12 @@ export const CatalogSection: React.FC<CatalogSectionProps> = ({
|
|||
>
|
||||
<div className="flex-1 pr-2">
|
||||
<div className="flex items-center gap-1.5 flex-wrap">
|
||||
<span className="text-xs font-bold text-slate-800">{sub.name}</span>
|
||||
<span className="text-xs font-bold text-slate-800">{sub.name.replace("Nutrition: ", "")}</span>
|
||||
{sub.name.includes('Complete Pack') && (
|
||||
<span className="text-[8px] bg-gradient-to-r from-indigo-500 to-purple-600 text-white font-extrabold px-1.5 py-0.5 rounded tracking-wider uppercase">
|
||||
Complete Pack
|
||||
</span>
|
||||
)}
|
||||
{!isUnlocked && !live.isActive && (
|
||||
<span className="text-[8px] bg-slate-200 text-slate-600 font-bold px-1.5 py-0.5 rounded tracking-wider uppercase">
|
||||
Temporarily Unavailable
|
||||
|
|
@ -469,7 +479,7 @@ export const CatalogSection: React.FC<CatalogSectionProps> = ({
|
|||
<div className="flex items-center gap-1.5 flex-wrap">
|
||||
<span className="text-xs font-bold text-slate-800">{sub.name.replace("Therapeutics: ", "")}</span>
|
||||
{sub.code === 'THERAPEUTICS_CORE' && (
|
||||
<span className="text-[8px] bg-gradient-to-r from-indigo-500 to-cyan-500 text-white font-extrabold px-1.5 py-0.5 rounded tracking-wider uppercase">
|
||||
<span className="text-[8px] bg-gradient-to-r from-indigo-500 to-purple-600 text-white font-extrabold px-1.5 py-0.5 rounded tracking-wider uppercase">
|
||||
Complete Pack
|
||||
</span>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -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' }
|
||||
|
|
|
|||
Loading…
Reference in New Issue