From a0ec998e1ba6c391a8b1f725efa902181706afe6 Mon Sep 17 00:00:00 2001 From: YakshitAgarwal Date: Fri, 22 Aug 2025 23:38:14 +0530 Subject: [PATCH] Vault page responsive --- .../(organization)/dashboard/vault/page.tsx | 51 +++++++++++-------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/src/app/(organization)/dashboard/vault/page.tsx b/src/app/(organization)/dashboard/vault/page.tsx index 8971c10..68c6666 100644 --- a/src/app/(organization)/dashboard/vault/page.tsx +++ b/src/app/(organization)/dashboard/vault/page.tsx @@ -145,9 +145,9 @@ export default function VaultPage() { return (
-
-
- +
+
+
- + + Total Balance - +
-
- icon1 +
+ icon1
- + {vaultBalanceIsLoading ? 'Loading...' : `${formatBalance(contractVaultBalance)} STRK`} @@ -183,7 +187,7 @@ export default function VaultPage() { - +
- + + Vault Status - +
- icon2 + icon2
- + {status}
@@ -211,7 +219,7 @@ export default function VaultPage() {
{/* Action Buttons */} -
+
-
{/* Transaction Table */} -
+
+ Transaction @@ -294,7 +302,8 @@ export default function VaultPage() { {parsedTxHistory?.map((transaction) => { - const isPositive = transaction?.type?.toLowerCase() === 'deposit'; + const isPositive = + transaction?.type?.toLowerCase() === 'deposit'; const isNeutral = transaction.type.toLowerCase() === 'bonus_allocation'; return (