| 1 | import { FileSpreadsheet } from 'lucide-react' |
| 2 | |
| 3 | export function MockInvoiceUI() |
| 4 | return ( |
| 5 | <div className='overflow-hidden rounded-2xl border border-border bg-card shadow-2xl shadow-primary/10 |
| 6 | <div className='flex items-center justify-between border-border/60 border-b bg-muted/30 px-5 py-3 |
| 7 | <div className='flex items-center gap-2 |
| 8 | <FileSpreadsheet className=' |
| 9 | <span className='font-semibold text-foreground text-sm |
| 10 | Invoice #0042 |
| 11 | </span> |
| 12 | </div> |
| 13 | <span className='rounded-full bg-emerald-500/15 px-2 py-0.5 font-medium text-[10px] text-emerald-600 dark:text-emerald-400 |
| 14 | Paid |
| 15 | </span> |
| 16 | </div> |
| 17 | <div className='p-5 |
| 18 | <div className='mb-4 grid grid-cols-2 gap-4 |
| 19 | <div> |
| 20 | <div className='text-[10px] text-muted-foreground/70 uppercase tracking-wider |
| 21 | Billed to |
| 22 | </div> |
| 23 | <div className='mt-1 text-foreground/80 text-sm |
| 24 | Globex Corporation |
| 25 | </div> |
| 26 | </div> |
| 27 | <div className='text-right |
| 28 | <div className='text-[10px] text-muted-foreground/70 uppercase tracking-wider |
| 29 | Amount |
| 30 | </div> |
| 31 | <div className='mt-1 font-semibold text-foreground text-lg |
| 32 | $4,250.00 |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | <div className='space-y-2 |
| 37 | {[ |
| 38 | { item: 'UI/UX Design — Landing Page', |
| 39 | { item: 'Frontend Development (12h)', |
| 40 | { item: 'Hosting & Domain Setup', |
| 41 | ].map((line |
| 42 | <div |
| 43 | className='flex items-center justify-between rounded-lg bg-muted/40 px-3 py-2' |
| 44 | key={line.item |
| 45 | > |
| 46 | <span className='text-muted-foreground text-xs |
| 47 | <span className='font-mono text-muted-foreground/80 text-xs |
| 48 | {line.amount} |
| 49 | </span> |
| 50 | </div> |
| 51 | ))} |
| 52 | </div> |
| 53 | </div> |
| 54 | </div> |
| 55 | ) |
| 56 | } |