Is the dist
folder updated after each build?
The dist
folder contains the minimized version of the source code and typically, is re-built after each build. A dfx deploy
also includes a re-build of the application and therefore, any files not included where the source code is located will be replaced.
I would recommend moving the stylesheet and photo to a separate public
folder.
Feel free to post your frontend framework and any directory structure.