import Image from "next/image"; import { ChevronRight } from "lucide-react"; import DotAnimatsiya from "@/components/dot/DotAnimatsiya"; import { useTranslations } from "next-intl"; export function Blog() { const t = useTranslations(); const blogPosts = [ { id: 1, image: "/images/img14.webp", category: "Tips & Trick", title: t("home.blog.articles.article1"), author: "John Doe", date: "July 24, 2025", }, { id: 2, image: "/images/img15.webp", category: "Insight", title: t("home.blog.articles.article2"), author: "John Doe", date: "July 24, 2025", }, { id: 3, image: "/images/img16.webp", category: "News", title: t("home.blog.articles.article3"), author: "John Doe", date: "July 24, 2025", }, ]; return (
{/* Header */}
{t("home.blog.title")}

{t("home.blog.subtitle")}

{/* Blog Cards Grid */}
{blogPosts.map((post) => (
{/* Image Container */}
{post.title} {/* Category Badge */}
{post.category}
{/* Content */}

{post.title}

by {post.author} {post.date}

{t("home.blog.readMore")}
))}
); }