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:
parent
2c26d2a825
commit
b08b6b5985
2 changed files with 3 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue