1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-08-04 04:17:33 +02:00

fix billing

This commit is contained in:
Kushagra Gour
2024-04-25 00:36:29 +05:30
parent f04a0f3b72
commit 9e6130d38b
4 changed files with 61 additions and 33 deletions

View File

@@ -207,19 +207,11 @@ const Assets = ({ onProBtnClick, onLoginBtnClick }) => {
<VStack align="stretch" gap={2}>
<p>Assets feature is available in PRO plan.</p>
<button
class="btn btn--primary"
class="btn btn--pro"
onClick={window.user ? onProBtnClick : onLoginBtnClick}
>
<HStack gap={1} fullWidth justify="center">
{window.user ? (
<>
Upgrade to <ProBadge />
</>
) : (
<>
Login & upgrade to <ProBadge />
</>
)}
{window.user ? <>Upgrade to PRO</> : <>Login & upgrade to PRO</>}
</HStack>
</button>
</VStack>