Welcome to Animations! Thanks for taking the time to contribute. We are delighted to have you here.
Provided below is a set of guidelines and tips for how to get started as a contributor to Animations. By contributing to this repository, you give everyone right to use your code as needed, and you are also liable for any copyrighted content that might get through our review process of PRs. The list is not meant to be exhaustive so please use your best judgment and feel free to propose changes to this document as you see fit!
Please adhere to these guidelines for your PRs to be considered for merging.
Please either make an issue or write an message in our Discord Bot/Slack Channel.
- No frameworks allowed appart from GSAP. Pure HTML, CSS/SCSS, and JS animations.
- In case you use images, they must be external. Use a cloud based images service as (cloudinary, imgur, etc...) to store your images.
- Follow the Contribution Guidelines.
- By contributing to this repository, you give everyone right to use your code as needed.
- Be helpful and friendly.
- Above all have fun!
Adding a new animation:
- Create a fork of the repository
- Clone the forked repository, and create a new branch
- New to forking a repository? Check out this tutorial to learn how.
Please make sure that you do create a new branch before you make a pull request.
- New to forking a repository? Check out this tutorial to learn how.
- Create a new folder in relevant directory, with appropriate and unique name to best describe your animation (refrain from using generic names)
- Add your animation and design files to your folder
- Files should be named as follows
- index.html (base webpage)
- style.css (stylesheet)
- script.js (functions) - if any
- Please adhere to coding best practices, such as
- Commenting your code
- Don't repeat yourself (DRY principle)
- Proper and consistent naming
- Files should be named as follows
- Commit your changes
- Create a Pull Request with a proper title and description
Fixing a bug:
- Check the issues page to see current list of questions and problems.
- If your issue is not there, create a PR if you can fix the bug yourself or submit a new issue,
- With an appropriate name and description that clearly explains the issue
- Label the issue appropriately
- Add steps to recreate the issue
When creating pull requests, please make sure that the commit message is concise but specific. That way, community members can benefit from the short, concrete descriptions that they can refer back to later, if needed.
For your reference, here is a practical guide for writing good commit message via Git: How to Write Good Commit Messages: A Practical Git Guide