|
| 1 | +import React from 'react'; |
| 2 | +import Layout from '@theme/Layout'; |
| 3 | +import styles from './community-page.module.css'; |
| 4 | + |
| 5 | +export default function CodeOfConduct() { |
| 6 | + return ( |
| 7 | + <Layout |
| 8 | + title="Code of Conduct" |
| 9 | + description="vLLM Semantic Router Community Code of Conduct"> |
| 10 | + <div className={styles.container}> |
| 11 | + <header className={styles.header}> |
| 12 | + <h1>Code of Conduct 📜</h1> |
| 13 | + <p className={styles.subtitle}> |
| 14 | + Our commitment to fostering an open, welcoming, and inclusive community. |
| 15 | + </p> |
| 16 | + </header> |
| 17 | + |
| 18 | + <main className={styles.main}> |
| 19 | + <section className={styles.section}> |
| 20 | + <h2>🤝 Our Pledge</h2> |
| 21 | + <div className={styles.card}> |
| 22 | + <p> |
| 23 | + We as members, contributors, and leaders pledge to make participation in our |
| 24 | + community a harassment-free experience for everyone, regardless of age, body |
| 25 | + size, visible or invisible disability, ethnicity, sex characteristics, gender |
| 26 | + identity and expression, level of experience, education, socio-economic status, |
| 27 | + nationality, personal appearance, race, religion, or sexual identity |
| 28 | + and orientation. |
| 29 | + </p> |
| 30 | + <p> |
| 31 | + We pledge to act and interact in ways that contribute to an open, welcoming, |
| 32 | + diverse, inclusive, and healthy community. |
| 33 | + </p> |
| 34 | + </div> |
| 35 | + </section> |
| 36 | + |
| 37 | + <section className={styles.section}> |
| 38 | + <h2>✅ Our Standards</h2> |
| 39 | + <div className={styles.grid}> |
| 40 | + <div className={styles.card}> |
| 41 | + <h3>Examples of behavior that contributes to a positive environment:</h3> |
| 42 | + <ul> |
| 43 | + <li>Demonstrating empathy and kindness toward other people</li> |
| 44 | + <li>Being respectful of differing opinions, viewpoints, and experiences</li> |
| 45 | + <li>Giving and gracefully accepting constructive feedback</li> |
| 46 | + <li>Accepting responsibility and apologizing to those affected by our mistakes</li> |
| 47 | + <li>Focusing on what is best not just for us as individuals, but for the overall community</li> |
| 48 | + </ul> |
| 49 | + </div> |
| 50 | + |
| 51 | + <div className={styles.card}> |
| 52 | + <h3>Examples of unacceptable behavior:</h3> |
| 53 | + <ul> |
| 54 | + <li>The use of sexualized language or imagery, and sexual attention or advances of any kind</li> |
| 55 | + <li>Trolling, insulting or derogatory comments, and personal or political attacks</li> |
| 56 | + <li>Public or private harassment</li> |
| 57 | + <li>Publishing others' private information without their explicit permission</li> |
| 58 | + <li>Other conduct which could reasonably be considered inappropriate in a professional setting</li> |
| 59 | + </ul> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </section> |
| 63 | + |
| 64 | + <section className={styles.section}> |
| 65 | + <h2>🛡️ Enforcement Responsibilities</h2> |
| 66 | + <div className={styles.card}> |
| 67 | + <p> |
| 68 | + Community leaders are responsible for clarifying and enforcing our standards of |
| 69 | + acceptable behavior and will take appropriate and fair corrective action in |
| 70 | + response to any behavior that they deem inappropriate, threatening, offensive, |
| 71 | + or harmful. |
| 72 | + </p> |
| 73 | + <p> |
| 74 | + Community leaders have the right and responsibility to remove, edit, or reject |
| 75 | + comments, commits, code, wiki edits, issues, and other contributions that are |
| 76 | + not aligned to this Code of Conduct, and will communicate reasons for moderation |
| 77 | + decisions when appropriate. |
| 78 | + </p> |
| 79 | + </div> |
| 80 | + </section> |
| 81 | + |
| 82 | + <section className={styles.section}> |
| 83 | + <h2>🌍 Scope</h2> |
| 84 | + <div className={styles.card}> |
| 85 | + <p> |
| 86 | + This Code of Conduct applies within all community spaces, and also applies when |
| 87 | + an individual is officially representing the community in public spaces. |
| 88 | + Examples of representing our community include using an official e-mail address, |
| 89 | + posting via an official social media account, or acting as an appointed |
| 90 | + representative at an online or offline event. |
| 91 | + </p> |
| 92 | + </div> |
| 93 | + </section> |
| 94 | + |
| 95 | + <section className={styles.section}> |
| 96 | + <h2>📢 Reporting</h2> |
| 97 | + <div className={styles.card}> |
| 98 | + <p> |
| 99 | + Instances of abusive, harassing, or otherwise unacceptable behavior may be |
| 100 | + reported to the community leaders responsible for enforcement through: |
| 101 | + </p> |
| 102 | + <ul> |
| 103 | + <li><a href="https://github.com/vllm-project/semantic-router/issues" target="_blank" rel="noopener noreferrer">GitHub Issues</a> (for public issues)</li> |
| 104 | + <li>Direct contact with project maintainers</li> |
| 105 | + <li>Email to the project team</li> |
| 106 | + </ul> |
| 107 | + <p> |
| 108 | + All complaints will be reviewed and investigated promptly and fairly. |
| 109 | + All community leaders are obligated to respect the privacy and security of the |
| 110 | + reporter of any incident. |
| 111 | + </p> |
| 112 | + </div> |
| 113 | + </section> |
| 114 | + |
| 115 | + <section className={styles.section}> |
| 116 | + <h2>⚖️ Enforcement Guidelines</h2> |
| 117 | + <div className={styles.card}> |
| 118 | + <p> |
| 119 | + Community leaders will follow these Community Impact Guidelines in determining |
| 120 | + the consequences for any action they deem in violation of this Code of Conduct: |
| 121 | + </p> |
| 122 | + |
| 123 | + <div className={styles.enforcementGrid}> |
| 124 | + <div className={styles.enforcementItem}> |
| 125 | + <h4>1. Correction</h4> |
| 126 | + <p><strong>Community Impact:</strong> Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.</p> |
| 127 | + <p><strong>Consequence:</strong> A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate.</p> |
| 128 | + </div> |
| 129 | + |
| 130 | + <div className={styles.enforcementItem}> |
| 131 | + <h4>2. Warning</h4> |
| 132 | + <p><strong>Community Impact:</strong> A violation through a single incident or series of actions.</p> |
| 133 | + <p><strong>Consequence:</strong> A warning with consequences for continued behavior. No interaction with the people involved for a specified period of time.</p> |
| 134 | + </div> |
| 135 | + |
| 136 | + <div className={styles.enforcementItem}> |
| 137 | + <h4>3. Temporary Ban</h4> |
| 138 | + <p><strong>Community Impact:</strong> A serious violation of community standards, including sustained inappropriate behavior.</p> |
| 139 | + <p><strong>Consequence:</strong> A temporary ban from any sort of interaction or public communication with the community for a specified period of time.</p> |
| 140 | + </div> |
| 141 | + |
| 142 | + <div className={styles.enforcementItem}> |
| 143 | + <h4>4. Permanent Ban</h4> |
| 144 | + <p><strong>Community Impact:</strong> Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.</p> |
| 145 | + <p><strong>Consequence:</strong> A permanent ban from any sort of public interaction within the community.</p> |
| 146 | + </div> |
| 147 | + </div> |
| 148 | + </div> |
| 149 | + </section> |
| 150 | + |
| 151 | + <section className={styles.section}> |
| 152 | + <h2>📚 Attribution</h2> |
| 153 | + <div className={styles.card}> |
| 154 | + <p> |
| 155 | + This Code of Conduct is adapted from the <a href="https://www.contributor-covenant.org/" target="_blank" rel="noopener noreferrer">Contributor Covenant</a>, |
| 156 | + version 2.0, available at <a href="https://www.contributor-covenant.org/version/2/0/code_of_conduct.html" target="_blank" rel="noopener noreferrer">https://www.contributor-covenant.org/version/2/0/code_of_conduct.html</a>. |
| 157 | + </p> |
| 158 | + </div> |
| 159 | + </section> |
| 160 | + </main> |
| 161 | + </div> |
| 162 | + </Layout> |
| 163 | + ); |
| 164 | +} |
0 commit comments