import Link from 'next/link' import { CheckCircle2, Circle } from 'lucide-react' interface List { id: string title: string color: string items: Array<{ id: string completed: boolean }> } export default function ListCard({ list }: { list: List }) { const completedCount = list.items.filter(item => item.completed).length const totalCount = list.items.length const progress = totalCount > 0 ? (completedCount / totalCount) * 100 : 0 return (

{list.title}

{completedCount} of {totalCount} completed {Math.round(progress)}%
) }