This will provide you with a definition of the folder structure, best development practices, and dev-related changes in version 2.
This guide is not complete yet.
- This is Version 2 of the Hawkbot1cs website
- V2 is easier to edit and change using basic
html, as this version has removed.svelte. - New pages can now be created and ready to push in minutes by duplicating and modifying an
.htmlfile insrc/routes/Templates. - The navbar and footer can now be modified site-wide from a single file.
If you'd like to add a feature to the website, please check if there is an existing branch or pull request already for the feature you are looking to add. Doing so helps prevent merge conflicts and redundant work.
If there is no branch or PR for the feature you want, either create a new branch for the feature, or fork the repository. Make sure you start a pull request once you start making changes and push frequently.
Note: For more details about a folder's purpose and contributing instructions, navigate to the folder and open the README.md file.
- This is the assets folder.
- Contains important CSS and JavaScript files.
- This is the folder where the pages are stored.
- Each page must be in its own folder.
- All webpages should be called
index.html
- This is the components folder.
- These are referenced in the pages to reduce code duplication.