| 1 | export function MockExpenseCard() { |
| 2 | const items = |
| 3 | { label: 'Figma — annual', |
| 4 | { label: 'Client lunch', |
| 5 | { label: 'Domain renewal', |
| 6 | ] |
| 7 | return ( |
| 8 | <div className='flex h-full flex-col justify-center |
| 9 | <div className='flex items-baseline justify-between |
| 10 | <div> |
| 11 | <div className='font-mono text-[11px] text-muted-foreground uppercase tracking-wider |
| 12 | April expenses |
| 13 | </div> |
| 14 | <div className='mt-1 font-semibold text-3xl text-foreground tabular-nums tracking-[-0.03em] |
| 15 | $258 |
| 16 | </div> |
| 17 | </div> |
| 18 | <span className='rounded-full bg-primary/10 px-2 py-0.5 font-mono text-[10px] text-primary uppercase tracking-wider |
| 19 | Billable |
| 20 | </span> |
| 21 | </div> |
| 22 | <div className='mt-4 space-y-1 border-border/60 border-t pt-3 |
| 23 | {items.map(( |
| 24 | <div |
| 25 | className='flex items-center justify-between gap-2 text-xs' |
| 26 | key={l.label |
| 27 | > |
| 28 | <span className='truncate text-muted-foreground |
| 29 | <span className='flex items-center gap-2 |
| 30 | <span className='font-mono text-[10px] text-muted-foreground/70 uppercase tracking-wider |
| 31 | {l.cat} |
| 32 | </span> |
| 33 | <span className='w-10 text-right font-mono text-foreground/80 tabular-nums |
| 34 | ${l.amount} |
| 35 | </span> |
| 36 | </span> |
| 37 | </div> |
| 38 | ))} |
| 39 | </div> |
| 40 | </div> |
| 41 | ) |
| 42 | } |