@@ -216,6 +216,10 @@ const pricingDefinitions = {
216216 content :
217217 "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)." ,
218218 } ,
219+ additionalBranches : {
220+ title : "Additional branches" ,
221+ content : "Then $10/month per branch" ,
222+ } ,
219223} ;
220224
221225type PricingPlansProps = {
@@ -752,7 +756,7 @@ export function TierPro({
752756 </ FeatureItem >
753757 < TeamMembers limits = { plan . limits } > { pricingDefinitions . additionalSeats . content } </ TeamMembers >
754758 < Environments limits = { plan . limits } />
755- < Branches limits = { plan . limits } / >
759+ < Branches limits = { plan . limits } > { pricingDefinitions . additionalBranches . content } </ Branches >
756760 < Schedules limits = { plan . limits } > { pricingDefinitions . additionalSchedules . content } </ Schedules >
757761 < LogRetention limits = { plan . limits } />
758762 < SupportLevel limits = { plan . limits } />
@@ -1083,21 +1087,26 @@ function RealtimeConcurrency({ limits, children }: { limits: Limits; children?:
10831087 ) ;
10841088}
10851089
1086- function Branches ( { limits } : { limits : Limits } ) {
1090+ function Branches ( { limits, children } : { limits : Limits ; children ?: React . ReactNode } ) {
10871091 return (
10881092 < 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 >
11011110 </ FeatureItem >
11021111 ) ;
11031112}
0 commit comments