@MaximilianoDanielGarcia
Posted
Hi Parviz,
You need to create a public folder in your root and put all your images inside. After that, change your relative path.
function CardImage({ img }) {
return (
<div className="image-container">
<img src={`./${img}`} alt="Parfume Images" />
</div>
);
}
Let me know if these help you to fix it.
Marked as helpful
@ParvizAzeroglu
Posted
@MaximilianoDanielGarcia This makes a lot of sense, thanks for your help, now the image is visible on the website
@bccpadge
Posted
@ParvizAzeroglu
When you update your website, make sure you click the Generate a new screenshot button to see design comparisons.
Marked as helpful