import Link from "next/link"; import Image from "next/image"; import { Calendar, Clock } from "lucide-react"; import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card"; import { type } from "@/lib/typography"; import { cn } from "@/lib/utils"; 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 (
{title}
{category}

{title}

{excerpt}

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