[ ] Move all react components (those returning html/jsx) to /src/components folder along with their component specific css and make them have .jsx extension
[ ] Move all utility functions (those not returning html/jsx) to /src/util folder
[ ] Move all images except to favicon to /src/assets/images and instead fetching the images or using image urls use (await import(url)).default as the image
[ ] Move all jsons to /assets
[ ] Rename all the files / variables (as needed) to represent their purpose
[ ] Remove any redundant assets such as vite.svg, react.svg to minimize the build size
[ ] Remove all unused files such as PixiComponent.jsx
[ ] Remove all commented code in files
[ ] Remove CNAMEvercel.json
[ ] Remove the following alerts and any similar occurences for speech synthesis
In order to deploy the game on the final website, the following changes are needed.
Make the changes in a new draft PR titled
Final deployment prep
to this repo and addFixes #1
as its description.Changes requested
index.html
and import all assets in<head>
/src/components
folder along with their component specific css and make them have.jsx
extension/src/util
folder/src/assets/images
and instead fetching the images or using image urls use(await import(url)).default
as the image/assets
vite.svg
,react.svg
to minimize the build sizePixiComponent.jsx
CNAME
vercel.json
/games/wordsearching
require()
in your code