| 1 | import { ArrowRight } from 'lucide-react' |
| 2 | import Link from 'next/link |
| 3 | |
| 4 | import { Badge } |
| 5 | import { Card, CardContent |
| 6 | import type { RouteImpl |
| 7 | |
| 8 | export function NeedsAttentionCard({ |
| 9 | children, |
| 10 | }: { |
| 11 | children: React |
| 12 | }) { |
| 13 | return ( |
| 14 | <Card className=' |
| 15 | <CardHeader> |
| 16 | <CardTitle className=' |
| 17 | </CardHeader> |
| 18 | <CardContent className=' |
| 19 | </Card> |
| 20 | ) |
| 21 | } |
| 22 | |
| 23 | interface ActionItemLinkProps { |
| 24 | count: number |
| 25 | href: string |
| 26 | icon: React |
| 27 | label: string |
| 28 | variant?: 'default |
| 29 | } |
| 30 | |
| 31 | export function ActionItemLink({ |
| 32 | label, |
| 33 | count, |
| 34 | href, |
| 35 | icon: Icon, |
| 36 | variant = 'default' |
| 37 | }: ActionItemLinkProps) |
| 38 | return ( |
| 39 | <Link |
| 40 | className='flex items-center justify-between rounded-lg border border-border bg-background p-3 transition-colors hover:bg-muted/50' |
| 41 | href={href as |
| 42 | > |
| 43 | <div className='flex items-center gap-3 |
| 44 | <Icon className=' |
| 45 | <span className='text-sm |
| 46 | </div> |
| 47 | <div className='flex items-center gap-2 |
| 48 | <Badge variant={ |
| 49 | <ArrowRight className=' |
| 50 | </div> |
| 51 | </Link> |
| 52 | ) |
| 53 | } |