@@ -94,20 +94,6 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
9494 refreshSubscriptionDetails ( attributionId ) ;
9595 } , [ attributionId , refreshSubscriptionDetails ] ) ;
9696
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-
11197 // Handle stripe setup-intent or payment-intent redirect flow
11298 useEffect ( ( ) => {
11399 const params = new URLSearchParams ( location . search ) ;
@@ -318,13 +304,26 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
318304 </ div >
319305 </ div >
320306 < 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 >
322307 < 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+ )
324318 </ div >
325319 < div className = "mt-4 flex space-x-1 text-pk-content-tertiary" >
326320 < 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. Gitpod Classic sunsets Oct 15 -
325+ migrate in September and get $100 Core credits.
326+ </ span >
328327 </ div >
329328 </ div >
330329 < div className = "flex justify-end mt-6 space-x-2" >
@@ -335,9 +334,10 @@ export default function UsageBasedBillingConfig({ hideSubheading = false }: Prop
335334 </ Button >
336335 </ a >
337336 ) }
338- < LoadingButton loading = { createPaymentIntent . isLoading } onClick = { handleAddPaymentMethod } >
339- Upgrade Plan
340- </ LoadingButton >
337+
338+ < a href = "https://app.ona.com" target = "_blank" rel = "noreferrer" >
339+ < Button variant = "default" > Try Ona ↗</ Button >
340+ </ a >
341341 </ div >
342342 </ div >
343343 </ >
0 commit comments