Spaces:
Build error
Build error
File size: 2,097 Bytes
a53b955 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | import { Play, Clock, Calendar } from 'lucide-react';
export default function PodcastCard({ podcast }) {
return (
<div className="brutal-card group cursor-pointer">
{/* Thumbnail */}
<div className="relative aspect-video bg-brutal-black mb-4 overflow-hidden">
<img
src={podcast.image}
alt={podcast.title}
className="w-full h-full object-cover opacity-80 group-hover:opacity-100 transition-opacity"
/>
<div className="absolute inset-0 flex items-center justify-center">
<div className="w-16 h-16 bg-brutal-white border-2 border-brutal-black flex items-center justify-center shadow-brutal group-hover:shadow-brutal-hover group-hover:scale-110 transition-all">
<Play size={24} className="ml-1" />
</div>
</div>
</div>
{/* Content */}
<div className="space-y-3">
<div className="flex items-center gap-3">
<span className="font-mono text-xs bg-brutal-black text-brutal-white px-2 py-1">
{podcast.category}
</span>
<span className="font-mono text-xs text-brutal-gray flex items-center gap-1">
<Clock size={12} />
{podcast.duration}
</span>
</div>
<h3 className="font-bold text-lg leading-tight group-hover:text-brutal-accent transition-colors">
{podcast.title}
</h3>
<p className="text-sm text-brutal-gray line-clamp-2">
{podcast.description}
</p>
<div className="flex items-center gap-2 pt-2 border-t-2 border-brutal-black/10">
<img
src={podcast.hostAvatar}
alt={podcast.host}
className="w-8 h-8 border-2 border-brutal-black"
/>
<div>
<p className="font-mono text-xs font-semibold">{podcast.host}</p>
<p className="font-mono text-xs text-brutal-gray flex items-center gap-1">
<Calendar size={10} />
{podcast.date}
</p>
</div>
</div>
</div>
</div>
);
} |