From 18a525af88c0aa8bd45b3ea70ff07dd9d17e972f Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Fri, 13 Mar 2026 09:20:05 +0800 Subject: [PATCH] feat: add UnlockProOverlay component for managing subscriptions and displaying pricing with point-based discounts. --- .../subscription/UnlockProOverlay.tsx | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/frontend/components/subscription/UnlockProOverlay.tsx b/frontend/components/subscription/UnlockProOverlay.tsx index 51107ef5..62d4ae3a 100644 --- a/frontend/components/subscription/UnlockProOverlay.tsx +++ b/frontend/components/subscription/UnlockProOverlay.tsx @@ -71,6 +71,9 @@ export function UnlockProOverlay({ return (
+
{usePoints ? isEn ? `Using ${billing.pointsUsed} points from your account` @@ -173,7 +176,7 @@ export function UnlockProOverlay({
+
{!billing.pointsEnabled ? isEn ? "Points redemption is currently unavailable for this plan." @@ -224,15 +227,15 @@ export function UnlockProOverlay({