[web] In the Subscription page, point free-users to the choose-your-plan page instead of the plans page (#34721)

GitOrigin-RevId: 0e589aabfd1bd768fa6a473d1c1bda387958998a
This commit is contained in:
Antoine Clausse
2026-09-17 11:27:15 +00:00
committed by Copybot
parent b8b78b6932
commit b8c0a4a201
2 changed files with 5 additions and 7 deletions
@@ -17,7 +17,10 @@ function FreePlan() {
<li>{t('dropbox_integration_lowercase')}</li>
<li>{t('github_integration_lowercase')}</li>
</ul>
<a className="btn btn-primary me-1" href="/user/subscription/plans">
<a
className="btn btn-primary me-1"
href="/user/subscription/choose-your-plan"
>
{t('upgrade_now')}
</a>
{hasAiAssistViaWritefull && (
@@ -22,12 +22,7 @@ export function ExpiredSubscription({
>
{t('view_your_invoices')}
</OLButton>
<OLButton
// We need to send users to the public plans page because the
// choose-your-plan still redirects them away in this expired state
href="/user/subscription/plans"
variant="primary"
>
<OLButton href="/user/subscription/choose-your-plan" variant="primary">
{t('create_new_subscription')}
</OLButton>
</p>