Thanks for taking the time to contribute!
- Code of conducts
- Issue and Pull Requests
- Commit messages
- Content Changes
- Project setup
- Code style
- Testing site
- Submitting changes
- Deployment
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to @yesnoruly.
- If you're not sure about adding something, open an issue to discuss it.
- Feel free to open a Pull Request early so that a discussion can be had as changes are developed.
- Include screenshots and animated gifs of your changes whenever possible.
- For major changes, please open an issue first to discuss what you would like to change.
- Please try to keep your pull request focused in scope and avoid including unrelated commits.
We use the Conventional Commits specification to standardize our commit history.
The commit message summary (or pull request title) is constructed by prepending the type of change being made (e.g., feat, fix, refactor), followed by an imperative, present tense sentence (without a period). Example: fix: make header bold.
Most content changes can be made without cloning the repository.
- Press the dot on the keyboard or change the site domain to
github.dev - Find the file you need and start editing
- Make a commit/PR
If you do need to set the project up locally yourself, feel free to follow these instructions:
- Node.js >= 16.0.0
- git >= 2.7.0
- lighthouse-cli >= 8.6.0
- Create your own issue or visit the Issue tracker to find a list of open issues that need attention.
- Fork the repo.
- Create your own branch (
my-feature), then do this:
# Install dependencies
$ npm install
# Run the develope mode
$ npm run devOther commands:
# Runs a site audit, shows its performance and best practices
$ npm run lighthouseA code style is a set of rules or guidelines used when writing the source code of a given project.
The project uses the BEM class naming methodology. BEM (Block, Element, Modifier) is a component-based approach to web development. The idea behind it is to divide the user interface into independent blocks. This makes interface development easy and fast even with a complex UI, and it allows reuse of existing code without copying and pasting.
.block
.block__element
.block__element--modifierThe styles/ folder contains:
- At the root are the service styles. Example:
reset.css,variables.css, etc. - The
blocks/folder contains styles of independent blocks. Example:page.css,header.css,footer.css, etc.
For images, specify an explicit height and width to prevent offset in the layout.
Decorative picture without semantic load, alt remains empty:
<img src="..." alt="">A picture with meaning that complements or illustrates the text. In alt, a unique and succinct description of the image is written. Avoid repeating sentences that are already on the page:
<img src="..." alt="Sunset sky">At the end of the description, a dot is always placed in alt to help the screen reader pause before the next content.
All svg images should be placed in svg sprite for greater optimization.
The list of browsers on which you need to check the layout of the site:
- Chrome
- Safari
- Firefox
- Edge
- Safari
- Chrome
- Make sure lighthouse test pass and there are not stylelinting (#2) errors.
- Submit a pull requests.
This website was hosted on Github Pages.
Using Github Actions the build is automatically deployed to the gh-pages branch (view deploy.yml).