import Link from "next/link"; import Image from "next/image"; import { Calendar, Clock, ArrowLeft } from "lucide-react"; import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"; interface BlogCardProps { slug: string; title: string; excerpt: string; date: string; readTime: string; category: string; image: string; } export function BlogCard({ slug, title, excerpt, date, readTime, category, image, }: BlogCardProps) { return ( {/* Image with 3:2 aspect ratio */}
{title} {/* Category Badge */}
{category}

{title}

{excerpt}

{date}
{readTime} دقیقه
); }