|
| 1 | +# Contributing to Elmentor Landing Page |
| 2 | + |
| 3 | +Thank you for your interest in contributing to the Elmentor Landing Page project! This document outlines the process and guidelines for contributing to this repository. |
| 4 | + |
| 5 | +## 🚨 CRITICAL WEBSITE PROTECTION NOTICE 🚨 |
| 6 | + |
| 7 | +**This repository contains the live GitHub Pages website serving as the landing page for our community. The following files/directories are STRICTLY OFF-LIMITS for modification:** |
| 8 | + |
| 9 | +- \src/\ directory (website source code) |
| 10 | +- \public/\ directory (static assets) |
| 11 | +- \ite.config.ts\ (build configuration) |
| 12 | +- \package.json\ and \package-lock.json\ (dependencies) |
| 13 | +- \.github/workflows/deploy.yml\ (deployment configuration) |
| 14 | + |
| 15 | +**Any contribution that modifies these protected files will be rejected unless explicitly approved by maintainers and thoroughly tested.** |
| 16 | + |
| 17 | +## How to Contribute |
| 18 | + |
| 19 | +### Issues |
| 20 | + |
| 21 | +1. **Search** existing issues to avoid creating duplicates. |
| 22 | +2. **Create an issue** for bugs, feature requests, or documentation improvements. |
| 23 | +3. **Use the appropriate template** when creating issues. |
| 24 | +4. **Label your issues** correctly to help with organization. |
| 25 | + |
| 26 | +### Pull Requests |
| 27 | + |
| 28 | +#### For Documentation, Templates, and Non-Website Changes |
| 29 | + |
| 30 | +1. **Fork the repository** and create a branch from \main\ with an appropriate name: |
| 31 | + - \eature/description\ for features |
| 32 | + - \ugfix/description\ for bug fixes |
| 33 | + - \docs/description\ for documentation |
| 34 | + - \efactor/description\ for code refactoring |
| 35 | + |
| 36 | +2. **Make your changes** following coding standards and conventions. |
| 37 | + |
| 38 | +3. **Test your changes** thoroughly. |
| 39 | + |
| 40 | +4. **Submit a pull request** using the appropriate template: |
| 41 | + - Include a clear title and description |
| 42 | + - Reference any related issues |
| 43 | + - Complete the website safety checklist |
| 44 | + - Request review from appropriate reviewers |
| 45 | + |
| 46 | +#### For Website Changes (Rare, Requires Special Approval) |
| 47 | + |
| 48 | +1. **First create an issue** detailing why website changes are necessary. |
| 49 | + |
| 50 | +2. **Get maintainer approval** before proceeding. |
| 51 | + |
| 52 | +3. **Create a separate development branch** specifically for website changes. |
| 53 | + |
| 54 | +4. **Test thoroughly** in a local environment. |
| 55 | + |
| 56 | +5. **Submit a pull request** using the website changes template: |
| 57 | + - Provide detailed explanation of changes |
| 58 | + - Include before/after screenshots |
| 59 | + - Document thorough testing performed |
| 60 | + - Include a rollback plan |
| 61 | + - Request reviews from at least two maintainers |
| 62 | + |
| 63 | +## Development Process |
| 64 | + |
| 65 | +### Setting Up Your Environment |
| 66 | + |
| 67 | +1. Clone the repository: |
| 68 | + `ash |
| 69 | + git clone https://github.com/DevOpsVisions/elmentor-landing-page-clean.git |
| 70 | + cd elmentor-landing-page-clean |
| 71 | + ` |
| 72 | + |
| 73 | +2. Install dependencies: |
| 74 | + `ash |
| 75 | + npm install |
| 76 | + ` |
| 77 | + |
| 78 | +3. Start the development server: |
| 79 | + `ash |
| 80 | + npm run dev |
| 81 | + ` |
| 82 | + |
| 83 | +### Testing |
| 84 | + |
| 85 | +- Test all changes locally before submitting PRs |
| 86 | +- For website changes, verify on multiple browsers and devices |
| 87 | +- Ensure all existing functionality works correctly |
| 88 | + |
| 89 | +## Style Guide |
| 90 | + |
| 91 | +Please follow the DevOps Visions standards and conventions as outlined in: |
| 92 | +- [Standards and Conventions](docs/devops-visions-guidance/standards-and-conventions.md) |
| 93 | +- [Naming Conventions](docs/devops-visions-guidance/naming-conventions.md) |
| 94 | +- [Repository Structure](docs/devops-visions-guidance/repository-structure.md) |
| 95 | + |
| 96 | +## Code of Conduct |
| 97 | + |
| 98 | +Please read our [Code of Conduct](CODE_OF_CONDUCT.md) before contributing to this project. |
| 99 | + |
| 100 | +## Questions? |
| 101 | + |
| 102 | +If you have questions or need help, please: |
| 103 | +1. Check the documentation in the \docs\ directory |
| 104 | +2. Open an issue with the question template |
| 105 | +3. Contact the maintainers through the DevOps Visions community channels |
| 106 | + |
| 107 | +Thank you for contributing to the Elmentor Landing Page project! |
|
0 commit comments