I built a simple app that renders three Cards that contain images in react's public folder. It works in localhost:3000 but when I'm seeking to deploy it to GitHub, gh-pages the images break. It seems it doesn't take the images from the public folder.
Steps I followed to deploy to gh-pages:
created a key, value pair for homepage in package.json and added these two lines in the scripts section
"predeploy":"npm run build","deploy":"gh-pages -d build",npm install gh-pages --save-devCommitted and pushed all the above changes
npm run deploy
These 4 steps successfully deployed my application
https://sandeep194920.github.io/CompoundComponents/ but, as you can see, the images don't show up which works in the localhost.
Let me know what is the mistake I am making here. Thank you.
