| 1 | export function MockAnalytics() { |
| 2 | const bars = |
| 3 | { id: 'mon', |
| 4 | { id: 'tue', |
| 5 | { id: 'wed', |
| 6 | { id: 'thu', |
| 7 | { id: 'fri', |
| 8 | { id: 'sat', |
| 9 | { id: 'sun', |
| 10 | ] |
| 11 | return ( |
| 12 | <div className='flex h-full flex-col justify-end |
| 13 | <div className='flex items-baseline justify-between |
| 14 | <div> |
| 15 | <div className='font-mono text-[11px] text-muted-foreground uppercase tracking-wider |
| 16 | MTD revenue |
| 17 | </div> |
| 18 | <div className='mt-1 font-semibold text-4xl text-foreground tabular-nums tracking-[-0.03em] |
| 19 | $12,480 |
| 20 | </div> |
| 21 | </div> |
| 22 | </div> |
| 23 | <div className='mt-5 flex h-14 items-end gap-1.5 |
| 24 | {bars.map(( |
| 25 | <div className='flex flex-1 flex-col items-center gap-1.5 |
| 26 | <div |
| 27 | className='w-full rounded-sm bg-linear-to-b from-primary to-primary/60' |
| 28 | style={{ height: |
| 29 | /> |
| 30 | </div> |
| 31 | ))} |
| 32 | </div> |
| 33 | </div> |
| 34 | ) |
| 35 | } |