-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a CoC Reporting page (#48)
feat: add a CoC Reporting page Co-authored-by: Sara Vieira <[email protected]>
- Loading branch information
Showing
10 changed files
with
118 additions
and
39 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import styled from 'styled-components' | ||
|
||
export const FooterWrap = styled.div` | ||
bottom: 0; | ||
` |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React from 'react' | ||
import { Link } from 'gatsby' | ||
import { FooterWrap } from './elements' | ||
|
||
const Footer = () => { | ||
const site = { | ||
title: 'QueerJS', | ||
description: 'A meetup for everyone where Queer Speakers take the stage' | ||
} | ||
|
||
return ( | ||
<FooterWrap> | ||
We have a{' '} | ||
<Link to="/code-of-conduct"> Code of Conduct</Link> | ||
. | ||
<br /> | ||
<Link state={{ site: site }} to="/flags"> | ||
What's with all the flags? | ||
</Link> | ||
<br /> | ||
Follow QueerJS on{' '} | ||
<a href="https://twitter.com/queerjs" title="Follow us on Twitter"> | ||
</a> | ||
<br /> | ||
<br /> | ||
</FooterWrap> | ||
) | ||
} | ||
|
||
export default Footer |
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
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
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,22 +1,21 @@ | ||
import React from 'react' | ||
import SEO from '../components/seo' | ||
import { Link } from 'gatsby' | ||
import Layout from '../containers/layout' | ||
import Panel from '../components/Panel' | ||
|
||
const CodeOfConduct = ({ location }) => { | ||
const organizer = (location.state || {}).organizer || { | ||
name: 'Sara Vieira', | ||
phoneNumber: '+351 91 7296 830', | ||
email: '[email protected]', | ||
twitterHandle: '@NikkitaFTW' | ||
} | ||
const CodeOfConduct = () => { | ||
return ( | ||
<Layout> | ||
<SEO | ||
title="QueerJS - Code Of Conduct" | ||
description="A meetup for everyone where Queer Speakers take the stage" | ||
/> | ||
<main> | ||
<main | ||
css={` | ||
margin-bottom: 40px; | ||
`} | ||
> | ||
<h1 hidden>Welcome to QueerJS</h1> | ||
<Panel heading="Code of Conduct"> | ||
<section | ||
|
@@ -33,7 +32,11 @@ const CodeOfConduct = ({ location }) => { | |
from all participants to help ensuring a safe environment for everybody. | ||
</p> | ||
<p> | ||
Need Help? Contact {organizer.name} {organizer.phoneNumber} | ||
{' '} | ||
<Link to="/report" title="Code of Conduct"> | ||
Report an Issue | ||
</Link> | ||
. | ||
</p> | ||
|
||
<h2>The Quick Version</h2> | ||
|
@@ -74,8 +77,11 @@ const CodeOfConduct = ({ location }) => { | |
please notify a QueerJS organizer as soon as possible. | ||
</p> | ||
<p> | ||
If you can’t find the organizer, reach out to {organizer.name} at {organizer.email} /{' '} | ||
{organizer.phoneNumber} / {organizer.twitterHandle} | ||
If you can’t find the organizer, please{' '} | ||
<Link to="/report" title="Code of Conduct"> | ||
Report an Issue | ||
</Link> | ||
. | ||
</p> | ||
<p> | ||
Conference staff will be happy to help participants and assist those experiencing | ||
|
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
import React from 'react' | ||
import SEO from '../components/seo' | ||
import Layout from '../containers/layout' | ||
import Panel from '../components/Panel' | ||
import { Link } from 'gatsby' | ||
|
||
const Report = () => { | ||
const contactInfo = { | ||
email: '[email protected]', | ||
twitterHandle: '@QueerJS' | ||
} | ||
|
||
return ( | ||
<Layout> | ||
<SEO | ||
title="QueerJS - Code Of Conduct" | ||
description="A meetup for everyone where Queer Speakers take the stage" | ||
/> | ||
<main> | ||
<h1 hidden>Welcome to QueerJS</h1> | ||
<Panel heading="Code of Conduct - Report An Issue"> | ||
<section | ||
css={` | ||
line-height: 1.5; | ||
`} | ||
> | ||
<p> | ||
We want QueerJS to be a safe and inclusive environment. That’s why we ask our | ||
attendees to follow our{' '} | ||
<Link to="/code-of-conduct" title="Code of Conduct"> | ||
Code of Conduct | ||
</Link> | ||
! | ||
</p> | ||
<p> | ||
In the unfortunate case that you see someone violating the code of conduct, here are | ||
some ways you can report it to us: | ||
</p> | ||
<ul> | ||
<li>- Send a DM to {contactInfo.twitterHandle}</li> | ||
<li> | ||
- Let a{' '} | ||
<Link to="/organizers" title="Code of Conduct"> | ||
Core Team | ||
</Link>{' '} | ||
organizer know, either in person or via Twitter. | ||
</li> | ||
<li>- Send an email to <a href={`mailto:${contactInfo.email}`}>{contactInfo.email}</a></li> | ||
</ul> | ||
</section> | ||
</Panel> | ||
</main> | ||
</Layout> | ||
) | ||
} | ||
|
||
export default Report |