import logo1 from "@logos/logo-health-services-labs.jpg"
import logo2 from "@logos/logo-the-doctors-laboratory.png"
export const clients = [
{
"name": "Health Services Laboratories (HSL)",
"logo": logo1
},
{
"name": "The Doctors Laboratory (TDL)",
"logo": logo2
}
]
---
import clients from "@data/clients.ts"
---
<div class="grid grid-cols-fill-300 gap-2 mt-10">
{ clients.map((client) =>
<div class="bg-white border-slate-100 p-4 py-10 flex flex-col justify-center items-center">
<Image src={ client.logo }
alt={ client.name }
class="max-h-20 w-full object-contain self-center"
widths={ [200, 300, 400, 600] }
/>
</div>
) }
</div>
Why is this erorr occuring?