← All changes
|
resources/js/components/modules/PremiumUpgradeDialog.tsx
+10
-15
3.0.5.1
→
3.0.16
View file →
| @@ -76,12 +76,12 @@ | ||
| 76 | 76 | * generic bullets don't accidentally mention Agency-only perks. |
| 77 | 77 | */ |
| 78 | 78 | const TIER_DEFAULT_FEATURES: Record<string, string[]> = { |
| 79 | 79 | agency: [ |
| 80 | - "Unlocks every premium module — Agency-tier and below", | |
| 80 | + "Unlocks every premium module — Scale-tier and below", | |
| 81 | 81 | "Full white-label rebranding capability", |
| 82 | 82 | "Priority support with faster response times", |
| 83 | - "All future Agency-tier features included", | |
| 83 | + "All future Scale-tier features included", | |
| 84 | 84 | ], |
| 85 | 85 | growth: [ |
| 86 | 86 | "Advanced operator-productivity features", |
| 87 | 87 | "AI assistant for content + itinerary generation", |
| @@ -91,9 +91,9 @@ | ||
| 91 | 91 | personal: [ |
| 92 | 92 | "Premium booking-system extensions", |
| 93 | 93 | "Email automation + abandoned-recovery workflows", |
| 94 | 94 | "Dynamic pricing + advanced discount tools", |
| 95 | - "All future Personal-tier features included", | |
| 95 | + "All future Starter-tier features included", | |
| 96 | 96 | ], |
| 97 | 97 | }; |
| 98 | 98 | |
| 99 | 99 | export const PremiumUpgradeDialog: React.FC<PremiumUpgradeDialogProps> = ({ |
| @@ -111,31 +111,31 @@ | ||
| 111 | 111 | // header badge + footer CTA both consume this so the operator |
| 112 | 112 | // sees one consistent answer to "which plan do I need?". |
| 113 | 113 | const planLabel = |
| 114 | 114 | requiredPlan === "agency" |
| 115 | - ? __("Agency plan", "yatra") | |
| 115 | + ? __("Scale plan", "yatra") | |
| 116 | 116 | : requiredPlan === "growth" |
| 117 | 117 | ? __("Growth plan", "yatra") |
| 118 | 118 | : requiredPlan === "personal" |
| 119 | - ? __("Personal plan", "yatra") | |
| 119 | + ? __("Starter plan", "yatra") | |
| 120 | 120 | : null; |
| 121 | 121 | const planCtaLabel = |
| 122 | 122 | requiredPlan === "agency" |
| 123 | - ? __("Upgrade to Agency", "yatra") | |
| 123 | + ? __("Upgrade to Scale", "yatra") | |
| 124 | 124 | : requiredPlan === "growth" |
| 125 | 125 | ? __("Upgrade to Growth", "yatra") |
| 126 | 126 | : requiredPlan === "personal" |
| 127 | - ? __("Upgrade to Personal", "yatra") | |
| 127 | + ? __("Upgrade to Starter", "yatra") | |
| 128 | 128 | : __("Upgrade to Pro", "yatra"); |
| 129 | 129 | const planFooterCopy = |
| 130 | 130 | requiredPlan === "agency" |
| 131 | 131 | ? __( |
| 132 | - "This feature is exclusive to the Agency plan. Upgrade to unlock it.", | |
| 132 | + "This feature is exclusive to the Scale plan. Upgrade to unlock it.", | |
| 133 | 133 | "yatra", |
| 134 | 134 | ) |
| 135 | 135 | : requiredPlan === "growth" |
| 136 | 136 | ? __( |
| 137 | - "This feature unlocks on the Growth plan (or Agency). Upgrade to enable it.", | |
| 137 | + "This feature unlocks on the Growth plan (or Scale). Upgrade to enable it.", | |
| 138 | 138 | "yatra", |
| 139 | 139 | ) |
| 140 | 140 | : requiredPlan === "personal" |
| 141 | 141 | ? __( |
| @@ -188,9 +188,9 @@ | ||
| 188 | 188 | </CardTitle> |
| 189 | 189 | {/* Plan-tier badge so the operator immediately |
| 190 | 190 | knows which license unlocks this. Without it the |
| 191 | 191 | generic "Premium Feature" copy was ambiguous — |
| 192 | - Growth and Agency are both premium but cost | |
| 192 | + Growth and Scale are both premium but cost | |
| 193 | 193 | different amounts. */} |
| 194 | 194 | {planLabel && ( |
| 195 | 195 | <span |
| 196 | 196 | className={ |
| @@ -201,13 +201,8 @@ | ||
| 201 | 201 | ? "bg-gradient-to-r from-emerald-500 to-teal-500" |
| 202 | 202 | : "bg-gradient-to-r from-blue-500 to-blue-600") |
| 203 | 203 | } |
| 204 | 204 | > |
| 205 | - {requiredPlan === "growth" ? ( | |
| 206 | - <Sparkles className="h-3 w-3" /> | |
| 207 | - ) : ( | |
| 208 | - <Crown className="h-3 w-3" /> | |
| 209 | - )} | |
| 210 | 205 | {planLabel} |
| 211 | 206 | </span> |
| 212 | 207 | )} |
| 213 | 208 | </div> |