It returns a 404 error for the background-image image in netlify but on my localhost it doesn’t give me that error. In theory, the route is wrong and that’s why it can’t find the image, but I don’t know how to solve it.
Is that the correct site? I ask cause it appears to have been deleted. Have you deployed to a different site? If so, could you provide the url for that site?
If I put the images in a public folder at the root of the directory and then put this url: const imgUrl = url("/assets/${img}.png");
It doesn’t work for me either, not even on localhost. I don’t quite understand how I should structure the images and what path to use for them to load.