-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactored pages/code-of-conduct.astro to point to gist
now points to gist @ https://gist.github.com/nicosalm/289c14c5a6709872803d50178763f9ac
- Loading branch information
Showing
5 changed files
with
35 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "src/content/code-of-conduct"] | ||
path = src/content/code-of-conduct | ||
url = https://gist.github.com/nicosalm/289c14c5a6709872803d50178763f9ac | ||
[submodule "src/content/resources"] | ||
path = src/content/resources | ||
url = https://github.com/UW-UPL/resources |
Submodule code-of-conduct
added at
866c08
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
--- | ||
import { getCollection } from "astro:content"; | ||
import Layout from "../layouts/Layout.astro"; | ||
const coc = await getCollection("code-of-conduct"); | ||
const coc_rendered = await coc.filter(d => d.id == "code-of-conduct.md")[0].render(); | ||
--- | ||
|
||
<Layout> | ||
<h1 class="ml-2 mb-4 text-6xl font-bold">Code of Conduct</h1> | ||
<h2 class="ml-2 mb-2 text-4xl font-semibold">Expected Behavior</h2> | ||
<ul class="ml-4 mb-4 text-xl list-disc"> | ||
<li class="mb-2">Be Respectful - Pretty Obvious</li> | ||
<li class="mb-2">Communicate with kindness and empathy.</li> | ||
<li class="mb-2">Don't do anything that you wouldn't do on campus or any other school space.</li> | ||
</ul> | ||
|
||
<h2 class="ml-2 mb-2 text-4xl font-semibold">Unacceptable Behavior</h2> | ||
<ul class="ml-4 mb-4 text-xl list-disc"> | ||
<li class="mb-2">Refrain from any form of harassment or discrimination.</li> | ||
<li class="mb-2">Borrowing items from the UPL without a coordinator's permission</li> | ||
</ul> | ||
|
||
<ul class="ml-4 mb-4 text-xl list-disc"> | ||
<li class="mb-2">First few offenses will receive verbal warnings, repeat offenders can be removed as members at the discretion of the coordinators</li> | ||
<li class="mb-2">Report any inappropriate behavior to the moderators at [email protected]</li> | ||
</ul> | ||
</Layout> | ||
<div class="inline w-full overflow-hidden text-slate-800"> | ||
<div class="mx-auto w-3/4"> | ||
<div class="text-base/6 font-sans prose prose-lg prose-zinc"> | ||
<coc_rendered.Content> | ||
</div> | ||
</div> | ||
</div> | ||
</Layout> |