diff --git a/src/components/vault/VaultView.tsx b/src/components/vault/VaultView.tsx index 4579731..4f84959 100644 --- a/src/components/vault/VaultView.tsx +++ b/src/components/vault/VaultView.tsx @@ -3,7 +3,7 @@ import { FC, useEffect, useState } from 'react'; import { IconType } from 'react-icons'; import { FaArrowUp, FaBoxOpen, FaBriefcase, FaCrown, FaGamepad, FaGift, FaHandHoldingHeart, FaShoppingBag, FaStore, FaTrophy } from 'react-icons/fa'; import { LocalizeText } from '../../api'; -import { Button, LayoutCurrencyIcon, NitroCardContentView, NitroCardHeaderView, NitroCardView, Text } from '../../common'; +import { LayoutCurrencyIcon, NitroCardContentView, NitroCardHeaderView, NitroCardView, Text } from '../../common'; const localizeWithFallback = (key: string, fallback: string) => { @@ -20,7 +20,8 @@ interface EarningRow } // Currency ids: 5 = diamonds, 0 = duckets. Amounts are placeholders (0) until -// the emulator exposes the earnings data + claim packets. +// the emulator exposes the earnings data + claim packets. The category icons +// are FontAwesome placeholders — swap in the exact pixel icons once available. const EARNINGS: EarningRow[] = [ { key: 'daily', label: 'Regalo giornaliero', Icon: FaGift, currencies: [ 5 ] }, { key: 'games', label: 'Giochi', Icon: FaGamepad, currencies: [ 0 ] }, @@ -74,31 +75,37 @@ export const VaultView: FC<{}> = props => return ( setIsVisible(false) } /> - + { EARNINGS.map(row => { const RowIcon = row.Icon; return ( -
- - - - { localizeWithFallback('earnings.' + row.key, row.label) } -
+
+
+ + + + { localizeWithFallback('earnings.' + row.key, row.label) } +
+
{ row.currencies.map((currency, index) => ( - 0 + 0 )) }
- +
); }) }
- +