import { Price, PriceValue } from "@/components/shadcnblocks/price"; import { AspectRatio } from "@/components/ui/aspect-ratio"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { cn } from "@/lib/utils"; interface ProductPrice { regular: number; sale?: number; currency: string; } interface Product { name: string; image: { src: string; alt: string; }; link: string; collection: string; price: ProductPrice; } const PRODUCT_CARD: Product = { collection: "ساعت طلایی", name: "گوشواره بلوم و گلیم", link: "#", image: { src: "/block-media/shadcnblocks/block/ecommerce/accessories/Elegant-Floral-Earrings-1.png", alt: "گوشواره گلدار شیک", }, price: { regular: 4000000.0, currency: "ریال", }, }; interface ProductCard5Props { className?: string; } const ProductCard5 = ({ className }: ProductCard5Props) => { const { regular, currency } = PRODUCT_CARD.price; return (
); }; export { ProductCard5 };