1. Fixes bug for image assets in production build (I've checked a local build npm run build with output at /dist then served the website locally with npx serve dist to see if assets did indeed render for the website)
2. Re-routed all path to the logo to the new location in /public
The files this PR effects:
Components
/src/components/NavBar/NavbarDesktop.jsx
/src/components/NavBar/NavbarLoggedOut.jsx
/src/components/NavBar/NavbarMobile.jsx
Other Files
/README.md
/index.html
/src/assets/pass-logo.png moved to /public/pass-logo.png
Issue 406/PASS logo production bug
This PR:
1. Fixes bug for image assets in production build (I've checked a local build
npm run build
with output at/dist
then served the website locally withnpx serve dist
to see if assets did indeed render for the website) 2. Re-routed all path to the logo to the new location in/public
The files this PR effects:
Components
/src/components/NavBar/NavbarDesktop.jsx
/src/components/NavBar/NavbarLoggedOut.jsx
/src/components/NavBar/NavbarMobile.jsx
Other Files
/README.md
/index.html
/src/assets/pass-logo.png
moved to/public/pass-logo.png
Screenshots (if applicable):
Existing build in Development:
https://github.com/codeforpdx/PASS/assets/14917816/b1576ff2-fafb-411c-9eb9-a12d0a53bd10
Branch with bug fix:
https://github.com/codeforpdx/PASS/assets/14917816/4748b2bb-0c8a-493e-9ae7-ff5e09ce8ad8