@@ -97,8 +97,7 @@ export function InviteTeamMembersUI(props: {
97
97
recommendedMembers = { [ ] }
98
98
customCTASection = {
99
99
< div className = "flex gap-3" >
100
- { ( props . team . billingPlan === "free" ||
101
- props . team . billingPlan === "starter" ) && (
100
+ { props . team . billingPlan === "free" && (
102
101
< Button
103
102
size = "sm"
104
103
variant = "default"
@@ -155,8 +154,30 @@ function InviteModalContent(props: {
155
154
getTeam : ( ) => Promise < Team > ;
156
155
teamId : string ;
157
156
} ) {
158
- const [ planToShow , setPlanToShow ] = useState < "growth" | "scale" | "pro" > (
159
- "growth" ,
157
+ const [ planToShow , setPlanToShow ] = useState <
158
+ "starter" | "growth" | "scale" | "pro"
159
+ > ( "growth" ) ;
160
+
161
+ const starterPlan = (
162
+ < PricingCard
163
+ billingPlan = "starter"
164
+ billingStatus = { props . billingStatus }
165
+ teamSlug = { props . teamSlug }
166
+ cta = { {
167
+ label : "Get Started" ,
168
+ type : "checkout" ,
169
+ onClick ( ) {
170
+ props . trackEvent ( {
171
+ category : "teamOnboarding" ,
172
+ action : "upgradePlan" ,
173
+ label : "attempt" ,
174
+ plan : "starter" ,
175
+ } ) ;
176
+ } ,
177
+ } }
178
+ getTeam = { props . getTeam }
179
+ teamId = { props . teamId }
180
+ />
160
181
) ;
161
182
162
183
const growthPlan = (
@@ -233,7 +254,7 @@ function InviteModalContent(props: {
233
254
Choose a plan
234
255
</ SheetTitle >
235
256
< SheetDescription className = "text-left leading-relaxed" >
236
- Get started with the free Starter plan or upgrade to Growth plan for
257
+ Get started with the Starter plan or upgrade to Growth plan for
237
258
increased limits and advanced features.{ " " }
238
259
< UnderlineLink href = "https://thirdweb.com/pricing" target = "_blank" >
239
260
Learn more about pricing
@@ -245,6 +266,7 @@ function InviteModalContent(props: {
245
266
246
267
{ /* Desktop */ }
247
268
< div className = "hidden grid-cols-1 gap-6 md:grid-cols-4 md:gap-4 lg:grid" >
269
+ { starterPlan }
248
270
{ growthPlan }
249
271
{ scalePlan }
250
272
{ proPlan }
@@ -254,6 +276,11 @@ function InviteModalContent(props: {
254
276
< div className = "lg:hidden" >
255
277
< TabButtons
256
278
tabs = { [
279
+ {
280
+ name : "Starter" ,
281
+ onClick : ( ) => setPlanToShow ( "starter" ) ,
282
+ isActive : planToShow === "starter" ,
283
+ } ,
257
284
{
258
285
name : "Growth" ,
259
286
onClick : ( ) => setPlanToShow ( "growth" ) ,
0 commit comments