@@ -216,6 +216,10 @@ const pricingDefinitions = {
216
216
content :
217
217
"Preview branches allow you to test changes before deploying to production. You can have a limited number active at once (but can archive old ones)." ,
218
218
} ,
219
+ additionalBranches : {
220
+ title : "Additional branches" ,
221
+ content : "Then $10/month per branch" ,
222
+ } ,
219
223
} ;
220
224
221
225
type PricingPlansProps = {
@@ -752,7 +756,7 @@ export function TierPro({
752
756
</ FeatureItem >
753
757
< TeamMembers limits = { plan . limits } > { pricingDefinitions . additionalSeats . content } </ TeamMembers >
754
758
< Environments limits = { plan . limits } />
755
- < Branches limits = { plan . limits } / >
759
+ < Branches limits = { plan . limits } > { pricingDefinitions . additionalBranches . content } </ Branches >
756
760
< Schedules limits = { plan . limits } > { pricingDefinitions . additionalSchedules . content } </ Schedules >
757
761
< LogRetention limits = { plan . limits } />
758
762
< SupportLevel limits = { plan . limits } />
@@ -1083,21 +1087,26 @@ function RealtimeConcurrency({ limits, children }: { limits: Limits; children?:
1083
1087
) ;
1084
1088
}
1085
1089
1086
- function Branches ( { limits } : { limits : Limits } ) {
1090
+ function Branches ( { limits, children } : { limits : Limits ; children ?: React . ReactNode } ) {
1087
1091
return (
1088
1092
< FeatureItem checked = { limits . branches . number > 0 } >
1089
- { limits . branches . number > 0 && (
1090
- < >
1091
- { limits . branches . number }
1092
- { limits . branches . canExceed ? "+ " : " " }
1093
- </ >
1094
- ) }
1095
- < DefinitionTip
1096
- title = { pricingDefinitions . branches . title }
1097
- content = { pricingDefinitions . branches . content }
1098
- >
1099
- { limits . branches . number > 0 ? "preview" : "Preview" } branches
1100
- </ DefinitionTip >
1093
+ < div className = "flex flex-col gap-y-0.5" >
1094
+ < div className = "flex items-center gap-1" >
1095
+ { limits . branches . number > 0 && (
1096
+ < >
1097
+ { limits . branches . number }
1098
+ { limits . branches . canExceed ? "+ " : " " }
1099
+ </ >
1100
+ ) }
1101
+ < DefinitionTip
1102
+ title = { pricingDefinitions . branches . title }
1103
+ content = { pricingDefinitions . branches . content }
1104
+ >
1105
+ { limits . branches . number > 0 ? "preview" : "Preview" } branches
1106
+ </ DefinitionTip >
1107
+ </ div >
1108
+ { children && < span className = "text-xs text-text-dimmed" > { children } </ span > }
1109
+ </ div >
1101
1110
</ FeatureItem >
1102
1111
) ;
1103
1112
}
0 commit comments