fix(core): update pricing pages (#7521)

This commit is contained in:
CatsJuice
2024-07-17 08:01:12 +00:00
parent e97ac11d0f
commit 08a0572d4e
5 changed files with 17 additions and 15 deletions

View File

@@ -212,7 +212,11 @@ export const CloudPlanLayout = ({
<ScrollArea.Thumb className={styles.scrollThumb}></ScrollArea.Thumb>
</ScrollArea.Scrollbar>
</ScrollArea.Root>
{lifetime ? <div id="lifetimePricingPlan">{lifetime}</div> : null}
{lifetime ? (
<div style={{ paddingTop: 12 }} id="lifetimePricingPlan">
{lifetime}
</div>
) : null}
</PricingCollapsible>
);
};

View File

@@ -31,11 +31,6 @@ export const BelieverBenefits = ({
})}
</span>
</li>
<li className={li}>
<DoneIcon />
<span>{t['com.affine.payment.lifetime.benefit-4']()}</span>
</li>
</ul>
);
};

View File

@@ -49,7 +49,7 @@ export const LifetimePlan = () => {
<Trans
i18nKey="com.affine.payment.lifetime.caption-2"
components={{
a: <a className={styles.usePolicyLink} href="#" />,
a: <a className={styles.userPolicyLink} href="#" />,
}}
/>
</div>

View File

@@ -36,7 +36,10 @@ export const caption2 = style({
marginBottom: 16,
maxWidth: 324,
});
export const usePolicyLink = style({
color: cssVar('textPrimaryColor'),
textDecoration: 'underline',
export const userPolicyLink = style({
// link not ready
// color: cssVar('textPrimaryColor'),
// textDecoration: 'underline',
color: 'inherit',
cursor: 'text',
});