"use client"; import { motion } from "framer-motion"; import { Avatar, AvatarImage } from "@/components/ui/avatar"; import { Separator } from "@/components/ui/separator"; import { cn } from "@/lib/utils"; interface BlogPost7Props { title: string; image: string; description: string; topNote: string; author: { name: string; image: string; description: string; }; secondaryDescription: string; className?: string; } const formatPersianDate = (date: Date) => new Intl.DateTimeFormat("fa-IR", { year: "numeric", month: "long", day: "numeric", }).format(date); const Blogpost7 = ({ title = "طراحی پایدار در عصر دیجیتال", description = "چرا رویه‌های مسئولانه زیست‌محیطی در محصولات دیجیتال برای آینده فناوری اهمیت دارد.", image = "/block-media/shadcnblocks/block/placeholder-dark-1.svg", topNote = formatPersianDate(new Date("2025-01-22")), author = { name: "سارا احمدی", image: "/block-media/shadcnblocks/block/avatar-1.webp", description: "مهندس ارشد نرم‌افزار", }, secondaryDescription = "ما با طراحی و توسعه محصولات دیجیتال، ایده‌ها را به راهکارهایی کاربردی، مقیاس‌پذیر و ماندگار تبدیل می‌کنیم.", className, }: BlogPost7Props) => { return (
{title}
{topNote} {title} {description}

{author.name}

{author.description}

{secondaryDescription}

); }; export { Blogpost7 };