Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Make CoC prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyfallWasTaken committed Aug 30, 2024
1 parent a375c7b commit 3fda86a
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 122 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 0 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.14",
"@tailwindcss/typography": "^0.5.15",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"vite": "^5.4.1"
Expand Down
225 changes: 116 additions & 109 deletions src/pages/code-of-conduct.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,124 +3,131 @@ import BaseLayout from '../layouts/BaseLayout.astro';
---

<BaseLayout title='Code of Conduct'>
<h1 class='text-2xl font-semibold'>Code of Conduct</h1>
<article>
<div>
<h2>Our Pledge</h2>
<p>
We as members, contributors, and leaders pledge to make participation in our hackathon a harassment-free experience for everyone,
regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level
of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity
and orientation. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy
community.
</p>
</div>
<div class='w-full flex justify-center mt-8'>
<article class="w-4/5 lg:w-1/2 font-['Poppins'] prose flex flex-col justify-center">
<h1 class='mb-4'>Code of Conduct</h1>
<div>
<h2>Our Pledge</h2>
<p>
We as members, contributors, and leaders pledge to make participation in our hackathon a harassment-free experience for everyone,
regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and
healthy community.
</p>
</div>

<div>
<h2>Our Standards</h2>
<p>Examples of behavior that contributes to a positive environment for our community include:</p>
<ol>
<li>Demonstrating empathy and kindness toward other people</li>
<li>Being respectful of differing opinions, viewpoints, and experiences</li>
<li>Giving and gracefully accepting constructive feedback</li>
<li>Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience</li>
<li>Focusing on what is best not just for us as individuals, but for the overall community</li>
</ol>
<div>
<h2>Our Standards</h2>
<p>Examples of behavior that contributes to a positive environment for our community include:</p>
<ol>
<li>Demonstrating empathy and kindness toward other people</li>
<li>Being respectful of differing opinions, viewpoints, and experiences</li>
<li>Giving and gracefully accepting constructive feedback</li>
<li>Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience</li>
<li>Focusing on what is best not just for us as individuals, but for the overall community</li>
</ol>

<p>Examples of unacceptable behavior include:</p>
<ul>
<li>The use of sexualized language or imagery, and sexual attention or advances of any kind</li>
<li>Trolling, insulting or derogatory comments, and personal or political attacks</li>
<li>Public or private harassment</li>
<li>Publishing others' private information, such as a physical or email address, without their explicit permission</li>
<li>Other conduct which could reasonably be considered inappropriate in a professional setting</li>
</ul>
</div>
<p>Examples of unacceptable behavior include:</p>
<ul>
<li>The use of sexualized language or imagery, and sexual attention or advances of any kind</li>
<li>Trolling, insulting or derogatory comments, and personal or political attacks</li>
<li>Public or private harassment</li>
<li>Publishing others' private information, such as a physical or email address, without their explicit permission</li>
<li>Other conduct which could reasonably be considered inappropriate in a professional setting</li>
</ul>
</div>

<div>
<h2>Enforcement Responsibilities</h2>
<p>
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and
fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. Community
leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other
contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
</p>
</div>
<div>
<h2>Enforcement Responsibilities</h2>
<p>
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and
fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful. Community
leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other
contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when
appropriate.
</p>
</div>

<div>
<h2>Scope</h2>
<p>
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the
community in public spaces. Examples of representing our community include using an official email address, posting via an official
social media account, or acting as an appointed representative at an online or offline event.
</p>
</div>
<div>
<h2>Scope</h2>
<p>
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the
community in public spaces. Examples of representing our community include using an official email address, posting via an
official social media account, or acting as an appointed representative at an online or offline event.
</p>
</div>

<div>
<h2>Enforcement</h2>
<p>
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for
enforcement at [email protected]. All complaints will be reviewed and investigated promptly and fairly. All community leaders are
obligated to respect the privacy and security of the reporter of any incident.
</p>
</div>
<div>
<h2>Enforcement</h2>
<p>
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for
enforcement at [email protected]. All complaints will be reviewed and investigated promptly and fairly. All community leaders
are obligated to respect the privacy and security of the reporter of any incident.
</p>
</div>

<div>
<h2>Enforcement Guidelines</h2>
<p>
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in
violation of this Code of Conduct:
</p>
</div>
<div>
<h2>Enforcement Guidelines</h2>
<p>
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in
violation of this Code of Conduct:
</p>
</div>

<div>
<h3>1. Correction</h3>
<p>
<strong>Community Impact:</strong> Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
</p>
<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. A public apology may be requested.
</p>
</div>
<div>
<h3>1. Correction</h3>
<p>
<strong>Community Impact:</strong> Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
</p>
<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. A public apology may be requested.
</p>
</div>

<div>
<h3>2. Warning</h3>
<p>
<strong>Community Impact:</strong> A violation through a single incident or series of actions.
</p>
<p>
<strong>Consequence:</strong> A warning with consequences for continued behavior. No interaction with the people involved, including
unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions
in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
</p>
</div>
<div>
<h3>2. Warning</h3>
<p>
<strong>Community Impact:</strong> A violation through a single incident or series of actions.
</p>
<p>
<strong>Consequence:</strong> A warning with consequences for continued behavior. No interaction with the people involved, including
unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions
in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
</p>
</div>

<div>
<h3>3. Temporary Ban</h3>
<p>
<strong>Community Impact:</strong> A serious violation of community standards, including sustained inappropriate behavior.
</p>
<p>
<strong>Consequence:</strong>
A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed
during this period. Violating these terms may lead to a permanent ban.
</p>
</div>
<div>
<h3>3. Temporary Ban</h3>
<p>
<strong>Community Impact:</strong> A serious violation of community standards, including sustained inappropriate behavior.
</p>
<p>
<strong>Consequence:</strong>
A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed
during this period. Violating these terms may lead to a permanent ban.
</p>
</div>

<div>
<h3>4. Permanent Ban</h3>
<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>
<p><strong>Consequence:</strong> A permanent ban from any sort of public interaction within the community.</p>
</div>
<div>
<h3>4. Permanent Ban</h3>
<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>
<p><strong>Consequence:</strong> A permanent ban from any sort of public interaction within the community.</p>
</div>

<h2>Attribution</h2>
This Code of Conduct is adapted from the Contributor Covenant, version 2.1, available at <a
href='https://www.contributor-covenant.org/version/2/1/code_of_conduct.html'>their website.</a
>
</article>
<div>
<h2>Attribution</h2>
<p>
This Code of Conduct is adapted from the Contributor Covenant, version 2.1, available at <a
href='https://www.contributor-covenant.org/version/2/1/code_of_conduct.html'>their website.</a
>
</p>
</div>
</article>
</div>
</BaseLayout>
20 changes: 10 additions & 10 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'selector',
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
container: {
center: true,
center: true,
padding: '1rem',
screens: {
xl: '1024px'
}
},
extend: {
screens: {
xl: '1024px'
}
},
extend: {
typography: {
DEFAULT: {
css: {
Expand All @@ -19,6 +19,6 @@ export default {
}
}
},
},
plugins: [require('@tailwindcss/typography')],
},
plugins: [require('@tailwindcss/typography')],
}

0 comments on commit 3fda86a

Please sign in to comment.