--- // Import necessary modules and utilities import { Image } from "astro:assets"; import Icon from "@components/ui/icons/Icon.astro"; import type { CollectionEntry } from "astro:content"; const { product } = Astro.props; interface Props { product: CollectionEntry<"products">; } // Define classes to be used with the Image component const imageClass = "absolute inset-0 h-full w-full object-cover object-center transition duration-[600ms] ease-[cubic-bezier(0.45,0,0.55,1)] group-hover:scale-110"; --- {product.data.main.imgAlt}
{product.data.description}