Building a react app and ready to start the deploy process.
All my images are hosted in an assets folder nested inside the src folder.
folder structure and header component that has a Img tag pointing to the assets folder:
The only deployed assets i have are a loading GIF and my site logo, both display just fine when running a local server with Vite’s npm run dev command. but when taking a look at the deployed site here
https://warm-phoenix-c65f32.netlify.app/
both images return GET 404 image not found error, how is this even possible? what am i doing wrong.
GET 404 Not Found: https://warm-phoenix-c65f32.netlify.app/src/assets/svg’s/logo-no-background.svg
GET 404 Not Found:https://warm-phoenix-c65f32.netlify.app/src/assets/loading-app.gif
repo link if you want to take a look at complete structure and code layout