import Link from "next/link"; import { TrendingUp, Calendar, User } from "lucide-react"; import { Bill } from "@/lib/types"; import { billLabel, chamberBadgeColor, cn, formatDate, partyBadgeColor, trendColor } from "@/lib/utils"; import { FollowButton } from "./FollowButton"; interface BillCardProps { bill: Bill; compact?: boolean; } export function BillCard({ bill, compact = false }: BillCardProps) { const label = billLabel(bill.bill_type, bill.bill_number); const score = bill.latest_trend?.composite_score; const tags = bill.latest_brief?.topic_tags?.slice(0, 3) || []; return (