'use client'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import { CheckCircle2, ThumbsUp } from 'lucide-react'; interface Project { id: string; title: string; category?: string; } interface AudienceVoteCardProps { project: Project; onVote: () => void; hasVoted: boolean; } export function AudienceVoteCard({ project, onVote, hasVoted }: AudienceVoteCardProps) { return ( {project.title} {project.category && ( {project.category} )} {hasVoted ? (

Thank You for Voting!

Your vote has been recorded

) : ( )}
); }