import Link from 'next/link' import type { Product } from '@homaroma/types' import { getCategoryImage, formatPrice } from '@homaroma/types' interface ProductCardProps { product: Product } export default function ProductCard({ product }: ProductCardProps) { return (
{product.scent.name} {/* Category badge */}
{product.category.name}
{/* Available badge */}
Available

{product.scent.name}

{product.category.name}

{formatPrice(product.variants[0]?.price)}
{/* Variants (sizes) */}
{product.variants.map((v) => (
{v.size}
))}
Discover
) }