'use client' import { ArrowRight, Circle, CircleCheck } from 'lucide-react' import Link from 'next/link' import { Card, CardContent } from '@/components/ui/card' import { Badge } from '@/components/ui/badge' import { Progress } from '@/components/ui/progress' import type { Project } from '@/lib/types' interface ProjectCardProps { project: Project } const statusColors: Record = { discovery: 'bg-blue-500/10 text-blue-400', design: 'bg-purple-500/10 text-purple-400', development: 'bg-yellow-500/10 text-yellow-400', content: 'bg-orange-500/10 text-orange-400', testing: 'bg-cyan-500/10 text-cyan-400', completed: 'bg-emerald-500/10 text-emerald-400', } export function ProjectCard({ project }: ProjectCardProps) { return ( {/* Thumbnail */}
{/* Title and Status */}

{project.title}

{project.description}

{project.status}
{/* Progress */}
Progress {project.progress}%
{/* Stages */}
{project.stages.map((stage, index) => (
{stage.completed ? ( ) : ( )} {stage.name} {index < project.stages.length - 1 && }
))}
{/* Updated */}
Updated {new Date(project.updatedAt).toLocaleDateString()}
) }