@@ -94,20 +94,6 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
94
94
refreshSubscriptionDetails ( attributionId ) ;
95
95
} , [ attributionId , refreshSubscriptionDetails ] ) ;
96
96
97
- const handleAddPaymentMethod = useCallback ( async ( ) => {
98
- if ( ! attributionId ) {
99
- return ;
100
- }
101
-
102
- try {
103
- createPaymentIntent . mutateAsync ( attributionId ) ;
104
- setShowAddPaymentMethodModal ( true ) ;
105
- } catch ( e ) {
106
- console . error ( e ) ;
107
- toast ( e . message || "Oh no, there was a problem with our payment service." ) ;
108
- }
109
- } , [ attributionId , createPaymentIntent , toast ] ) ;
110
-
111
97
// Handle stripe setup-intent or payment-intent redirect flow
112
98
useEffect ( ( ) => {
113
99
const params = new URLSearchParams ( location . search ) ;
@@ -318,13 +304,27 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
318
304
</ div >
319
305
</ div >
320
306
< div className = "flex flex-col p-4 rounded-b-xl bg-pk-surface-secondary border-t border-gray-200 dark:border-gray-700" >
321
- < div className = "uppercase text-sm text-pk-content-tertiary" > Upgrade Plan</ div >
322
307
< div className = "mt-1 text-xl font-semibold flex-grow text-pk-content-primary" >
323
- Pay-as-you-go
308
+ Gitpod is now Ona (
309
+ < a
310
+ href = "https://ona.com/stories/gitpod-is-now-ona"
311
+ target = "_blank"
312
+ rel = "noreferrer"
313
+ className = "!underline hover:!no-underline !gp-link"
314
+ >
315
+ learn more
316
+ </ a >
317
+ )
324
318
</ div >
325
319
< div className = "mt-4 flex space-x-1 text-pk-content-tertiary" >
326
320
< div className = "flex flex-col" >
327
- < span > { priceInformation } </ span >
321
+ < span >
322
+ All you loved in Gitpod Classic and more: Parallel coding agents with full VS
323
+ Code in browser. Each runs in its own sandbox, fire off many at once and handoff
324
+ to web or desktop IDE, even start on mobile. < br />
325
+ < br /> Gitpod Classic sunsets Oct 15 - migrate in September and get $100 in
326
+ credits.
327
+ </ span >
328
328
</ div >
329
329
</ div >
330
330
< div className = "flex justify-end mt-6 space-x-2" >
@@ -335,9 +335,10 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
335
335
</ Button >
336
336
</ a >
337
337
) }
338
- < LoadingButton loading = { createPaymentIntent . isLoading } onClick = { handleAddPaymentMethod } >
339
- Upgrade Plan
340
- </ LoadingButton >
338
+
339
+ < a href = "https://app.ona.com" target = "_blank" rel = "noreferrer" >
340
+ < Button variant = "default" > Try Ona ↗</ Button >
341
+ </ a >
341
342
</ div >
342
343
</ div >
343
344
</ >
0 commit comments