import Image from 'next/image' interface PastDrop { name: string image: string soldIn: string } const pastDrops: PastDrop[] = [ { name: 'Swiss Gold', image: 'https://images.unsplash.com/photo-1581091012184-5c7b4c101899', soldIn: 'Sold out in 42h', }, { name: 'Lemon T1', image: 'https://images.unsplash.com/photo-1512436991641-6745cdb1723f', soldIn: 'Sold out in 19h', }, { name: 'Alpine Frost', image: 'https://images.unsplash.com/photo-1600431521340-491eca880813', soldIn: 'Sold out in 31h', }, ] export default function PastDrops() { return (
{pastDrops.map((drop, index) => (
{drop.name} {drop.name}
{drop.soldIn}
))}
) }