virtual card display and banner and popout fixed

This commit was merged in pull request #838.
This commit is contained in:
victorAnumudu
2024-11-02 20:24:15 +01:00
parent dd4239312d
commit 11e356cda6
11 changed files with 763 additions and 40 deletions
@@ -62,6 +62,11 @@ export default function WalletItemCard({ walletItem, payment, countries }) {
<p className="text-base sm:text-lg text-white tracking-wide mb-2 sm:mb-6">
Current Balance
</p>
{walletItem?.brand && walletItem?.card_last4 ? // FOR VIRTUAL CARD NUMBER ELSE WALLET BALANCE DISPLAY
<p className="text-2xl font-bold text-white dark:text-white leading-10">
{walletItem.brand} <span> **** **** ***** </span> {walletItem?.card_last4}
</p>
:
<p className="text-[44px] lg:text-[62px] font-bold text-white tracking-wide leading-10">
{PriceFormatter(
walletItem.amount * 0.01,
@@ -70,6 +75,7 @@ export default function WalletItemCard({ walletItem, payment, countries }) {
"text-[2rem]"
)}
</p>
}
</div>
</div>
</div>