0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

refactor(console): apply new plans blog link for charge notifications (#5165)

This commit is contained in:
Xiao Yijun 2023-12-26 13:48:09 +08:00 committed by GitHub
parent 2c26d2a825
commit b08b6b5985
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import { type TFuncKey } from 'i18next';
import { useContext } from 'react';
import { Trans, useTranslation } from 'react-i18next';
import { pricingLink } from '@/consts';
import { newPlansBlogLink } from '@/consts';
import { TenantsContext } from '@/contexts/TenantsProvider';
import InlineNotification from '@/ds-components/InlineNotification';
import TextLink from '@/ds-components/TextLink';
@ -72,7 +72,7 @@ function ChargeNotification({
});
}}
>
<Trans components={{ a: <TextLink href={pricingLink} targetBlank="noopener" /> }}>
<Trans components={{ a: <TextLink href={newPlansBlogLink} targetBlank="noopener" /> }}>
{t('charge_notification_for_quota_limit', {
item: t(`add_on_quota_item.${quotaItemPhraseKey}`, {
...cond(

View file

@ -12,6 +12,7 @@ export const reservationLink = buildUrl('https://calendly.com/logto/30min', {
});
export const trustAndSecurityLink = 'https://logto.io/trust-and-security';
export const pricingLink = 'https://logto.io/pricing';
export const newPlansBlogLink = 'https://blog.logto.io/logto-pricing-v2';
/** Docs link */
export const envTagsFeatureLink = '/docs/recipes/tenant-type';