Thank you for your interest in contributing to 🛡️ SafeHaven : A Crowdsourced Disaster Management Platform.
This guide will help you get started smoothly, whether you're contributing to code, design, or content.
- Step 1: Explore Before You Contribute
- Step 2: Project Setup
- Step 3a: Ways to Contribute
- Step 3b: How to Contribute
- Code & Design Rules
- Branch & Commit Conventions
- Issue & PR Rules
- Code of Conduct
- Acknowledgements
Before contributing, please:
- Read the README to understand the project.
- Explore the deployed website to get a sense of its structure and features.
- Review open issues and issue templates to find where you can contribute.
On your local system :
- Clone the repository
git clone https://github.com/archangel2006/SafeHaven.git- Go to the current directory
cd SafeHaven
- Run the main page
Run index.html locally in your browser
You can contribute to this project in these main ways:
-
Code Contributions - Fix bugs, add new features, improve components, add content, or optimize existing functionality.
-
Design Contributions - Suggest UI/UX improvements, create Figma mockups, design icons/logos, or propose layout revamps.
-
🧹 Maintenance Contributions - Clean up files, extract assets from links, separate inline CSS/JS, or improve documentation and structure.
-
Star ⭐ and Fork 🍴 this repository.
-
Code Contributions:
- Create a new branch based on the type of change (see Branch & Commit Conventions)
git checkout -b feature/new-section
- Make your code adjustments.
- Commit changes following the convention (see Branch & Commit Conventions).
- Open a Pull Request (PR).
- Create a new branch based on the type of change (see Branch & Commit Conventions)
-
Design Contributions:
- Include Figma or screen design images and links in your PR. You may upload screenshots, Figma links, or UI/UX previews.
- Place files in the designated design folders or relevant
.mdsections.
-
Maintenance Contributions:
- Address issues like:
- Extracting embedded images or assets and adding them to
/assets/. - Moving CSS/JS into separate files.
- Updating README or file structure consistency.
- Extracting embedded images or assets and adding them to
- Submit your PR under the “maintenance” label.
- Address issues like:
Please follow these basic standards to maintain quality and readability:
- Use meaningful variable and file names
- Keep consistent indentation
- Add relevant comments only
- Avoid inline CSS/JS
- Follow Semantic HTML (use proper tags like , , , )
- Reuse components when possible
- Keep UI clean, minimal, and responsive
| Type | Branch Prefix | Commit Prefix | Description |
|---|---|---|---|
| New Feature | feature/ |
feat: |
Adding new functionality or pages |
| Bug Fix | fix/ |
fix: |
Resolving issues or broken behavior |
| Maintenance | chore/ |
chore: |
Config updates, repo organization |
| Documentation | docs/ |
docs: |
Updating docs, README, or guides |
| UI/UX & Design | uiux/ |
design: |
Design mockups, page revamps, visual tweaks |
| Resources | resources/ |
resource: |
Adding educational content/resources |
| Refactor | refactor/ |
refactor: |
Code improvement without feature change |
| Style | style/ |
style: |
CSS fixes, spacing, or formatting changes |
Example:
# Branch
uiux/community-redesign
# Commit
design: revamp Community page layout for better clarity- Browse through existing issues before creating new ones.
- Get assigned to an issue before starting work.
- No duplicate or spam issues.
- If no PR or update is made within 5 days of assignment, it may be reassigned.
- Major issues may have sub-issues — feel free to request one if you want to contribute to a smaller part.
- Always mention issue number in your PR description (e.g., “Fixes #12”).
Please note that this project is governed by a Code of Conduct.
By participating, you are expected to uphold a respectful, inclusive, and positive environment for everyone.
Be kind, constructive, and professional in all discussions and contributions.
We deeply appreciate every contributor who helps make SafeHaven better.
Whether it’s fixing a small bug, improving design, or refining documentation — your efforts matter.
Special thanks to:
- Project Maintainers – for guidance and reviews
- Design & Code Contributors – for creativity and effort
- Community Members – for feedback, testing, and support
Your contribution helps build a safer, more connected digital space 🌍
Made with ❤️ by the SafeHaven Community