mirror of
https://github.com/FranP-code/format_twitter_projects_accounts_tweets.git
synced 2025-10-13 00:32:19 +00:00
Updated ProjectCard.tsx
This commit is contained in:
committed by
GitHub
parent
2875936f12
commit
a5f0f63a9c
@@ -133,49 +133,6 @@ export function ProjectCard({ project, onSeenStatusChange }: ProjectCardProps) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Category */}
|
||||
{project.category && (
|
||||
<div className="flex justify-end">
|
||||
<span className="inline-block px-2 py-1 text-xs font-medium bg-secondary text-secondary-foreground rounded-full">
|
||||
{project.category}
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
<a
|
||||
href={project.project_url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="inline-flex items-center space-x-2 text-primary hover:text-primary/80 transition-colors"
|
||||
>
|
||||
<ExternalLink className="w-4 h-4" />
|
||||
<span className="text-sm font-medium">View Project</span>
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Engagement Stats */}
|
||||
<div className="flex items-center space-x-6 pt-2 border-t">
|
||||
<div className="flex items-center space-x-1 text-muted-foreground">
|
||||
<Heart className="w-4 h-4" />
|
||||
<span className="text-sm">{project.favorite_count.toLocaleString()}</span>
|
||||
</div>
|
||||
<div className="flex items-center space-x-1 text-muted-foreground">
|
||||
<Repeat2 className="w-4 h-4" />
|
||||
<span className="text-sm">{project.retweet_count.toLocaleString()}</span>
|
||||
</div>
|
||||
<div className="flex items-center space-x-1 text-muted-foreground">
|
||||
<MessageCircle className="w-4 h-4" />
|
||||
<span className="text-sm">{project.reply_count.toLocaleString()}</span>
|
||||
</div>
|
||||
<div className="flex items-center space-x-1 text-muted-foreground">
|
||||
<Eye className="w-4 h-4" />
|
||||
<span className="text-sm">{project.views_count.toLocaleString()}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Category */}
|
||||
{project.category && (
|
||||
<div className="flex justify-end">
|
||||
|
||||
Reference in New Issue
Block a user