core page for CNZ website
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
In the project directory, you can run:
Installs all the dependencies required to build the website
Can only be run after npm install Runs the app in the development mode. Follow the http://localhost:/ link to view it in your browser.
The page will reload when you make changes. You may also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Suggest running this before deploying to make sure you build compiles without eslint errors
See the section about deployment for more information.
As per most react apps, the App.jsx file dictates the run order. The components directory contains the jsx files of each page and the css directory contains the css files.
This website is able to use two potential types of CICD, push from main, and release packaging (during early development, push to main is used, since its faster than creating a release)
This is the push from main config. When a change is pushed to main,github actions will package the changes with npm build, and push the build files to gh-pages branch. there is currently no validation
This flow allows for more controlled releases, to release, push to main, and create a release on github. When creating a release, create a new tag and detail what is contained in the release, this will the create a build and publish. Note, if you want to use this flow, you will need to update the pages section.