feat: add Pro feature paywall and unlock overlay UI.

This commit is contained in:
2569718930@qq.com
2026-03-13 09:34:58 +08:00
parent f2e0940282
commit 120f4b1261
2 changed files with 13 additions and 1 deletions
@@ -11,7 +11,10 @@ type ProFeaturePaywallProps = {
onClose?: () => void;
};
export function ProFeaturePaywall({ feature, onClose }: ProFeaturePaywallProps) {
export function ProFeaturePaywall({
feature,
onClose,
}: ProFeaturePaywallProps) {
const router = useRouter();
const { locale } = useI18n();
const { proAccess } = useDashboardStore();
@@ -73,6 +76,7 @@ export function ProFeaturePaywall({ feature, onClose }: ProFeaturePaywallProps)
}}
payLabel={payLabel}
faqHref="/account"
telegramGroupUrl="https://t.me/+nMG7SjziUKYyZmM1"
/>
</div>
);