Integrate Vantage live map for guild claims [skip ci]

This commit is contained in:
SCOPEDD committed 2026-09-30 11:02:51 -04:00
1 parent 52de8c3031
commit 602e7fd0f0
17 files changed
+470 -21

No files matched your search

+3 -5
View File
@@ -427,9 +427,7 @@
<span class="currency-sym">{bal.currency_symbol || '$'}</span>
<span>{bal.balance.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 })}</span>
</div>
<div class="econ-card-footer tiny muted">
Updated {formatDate(bal.last_updated)}
</div>
<div class="econ-card-footer tiny muted">Live server balance</div>
</button>
{/each}
</div>
@@ -508,12 +506,12 @@
<span class="text-right">Amount</span>
</div>
{#each transactions.slice(0, 15) as tx (tx.id)}
{@const isSender = tx.sender_uuid === me?.uuid}
{@const isSender = tx.from_uuid === me?.uuid}
<div class="tx-row">
<span class="tx-type-pill badge" class:send={isSender} class:receive={!isSender}>
{#if isSender}<ArrowUpRight size={12} /> Sent{:else}<ArrowDownLeft size={12} /> Received{/if}
</span>
<span class="tx-desc" title={tx.description}>{tx.description || tx.tx_type}</span>
<span class="tx-desc" title={tx.description}>{tx.description || `${tx.from_name} → ${tx.to_name}`}</span>
<span class="tx-date tiny muted">{new Date(tx.created_at).toLocaleString()}</span>
<span class="tx-amount text-right" class:negative={isSender} class:positive={!isSender}>
{isSender ? '-' : '+'}${Math.abs(tx.amount).toFixed(2)}