Closed kevinmonisit closed 4 months ago
the /sponors endpoint will be the following:
{
photos: an array that contains all photo URLs
}
So what you should do is fetch all the URLs, and then load the images in.
right now sponsors endpoint is not working properly, so you can mock the image URLs fetching endpoint
Maybe add some random images in there to get the ball rolling
Use that Next.js provides.
https://nextjs.org/docs/pages/building-your-application/optimizing/images