diff --git a/src/components/Thanks.js b/src/components/Thanks.js
index 3b239a8f..7974f6d7 100644
--- a/src/components/Thanks.js
+++ b/src/components/Thanks.js
@@ -1,5 +1,4 @@
import React from 'react'
-import { Link } from 'gatsby'
import styled from 'styled-components'
const Thanks = styled.ul`
@@ -13,7 +12,7 @@ const Thanks = styled.ul`
}
`
-export default ({ thanks, mainOrganizer, site }) => {
+export default ({ thanks }) => {
return (
<>
@@ -25,22 +24,6 @@ export default ({ thanks, mainOrganizer, site }) => {
))}
- We have a{' '}
-
- Code of Conduct
-
- .
-
-
- What's with all the flags?
-
-
- Follow QueerJS on{' '}
-
- Twitter
-
-
-
>
)
}
diff --git a/src/components/footer/elements.js b/src/components/footer/elements.js
new file mode 100644
index 00000000..b655e75b
--- /dev/null
+++ b/src/components/footer/elements.js
@@ -0,0 +1,5 @@
+import styled from 'styled-components'
+
+export const FooterWrap = styled.div`
+ bottom: 0;
+`
diff --git a/src/components/footer/index.js b/src/components/footer/index.js
new file mode 100644
index 00000000..a7aaa216
--- /dev/null
+++ b/src/components/footer/index.js
@@ -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 (
+
+ We have a{' '}
+ Code of Conduct
+ .
+
+
+ What's with all the flags?
+
+
+ Follow QueerJS on{' '}
+
+ Twitter
+
+
+
+
+ )
+}
+
+export default Footer
diff --git a/src/components/header/elements.js b/src/components/header/elements.js
index 173c5e29..29df7948 100644
--- a/src/components/header/elements.js
+++ b/src/components/header/elements.js
@@ -4,7 +4,6 @@ import { Link } from 'gatsby'
import styled, { css } from 'styled-components'
export const Nav = styled.nav`
- margin: auto;
padding: 3em 0 1.5em;
@media screen and (max-width: 38em) {
padding: 0.5em 0 0;
diff --git a/src/components/layout/elements.js b/src/components/layout/elements.js
index 44770989..0f163c27 100644
--- a/src/components/layout/elements.js
+++ b/src/components/layout/elements.js
@@ -70,6 +70,9 @@ export const Wrapper = styled.main`
width: 80%;
max-width: 56em;
margin: auto;
+ display: grid;
+ grid-template-rows: auto 1fr 100px;
+ height: 100%;
`
export const SubWrapper = styled.div``
diff --git a/src/components/layout/index.js b/src/components/layout/index.js
index 8a6eb2f0..d60c1c14 100644
--- a/src/components/layout/index.js
+++ b/src/components/layout/index.js
@@ -2,6 +2,7 @@ import React from 'react'
import Header from '../header'
import { ThemeProvider } from 'styled-components'
import { theme, Global, Wrapper, SubWrapper, SideRainbow } from './elements'
+import Footer from '../../components/footer'
const Layout = ({ children, siteTitle }) => (
@@ -11,6 +12,7 @@ const Layout = ({ children, siteTitle }) => (
{children}
+
>
diff --git a/src/pages/_main.js b/src/pages/_main.js
index 51704542..8600222b 100644
--- a/src/pages/_main.js
+++ b/src/pages/_main.js
@@ -10,7 +10,7 @@ import Panel from '../components/Panel'
import Heading from '../components/Heading'
const Main = ({ city, attendees }) => {
- const { site, organizers, mainOrganizer, thanks, speakers, sponsors, info } = city
+ const { site, thanks, speakers, sponsors, info } = city
return (
@@ -54,12 +54,7 @@ const Main = ({ city, attendees }) => {
- o.main)}
- />
+
)
diff --git a/src/pages/code-of-conduct.js b/src/pages/code-of-conduct.js
index 060d9a0a..499a0ac2 100644
--- a/src/pages/code-of-conduct.js
+++ b/src/pages/code-of-conduct.js
@@ -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: 'hey@iamsaravieira.com',
- twitterHandle: '@NikkitaFTW'
- }
+const CodeOfConduct = () => {
return (
-
+
Welcome to QueerJS
{
from all participants to help ensuring a safe environment for everybody.
- Need Help? Contact {organizer.name} {organizer.phoneNumber}
+ {' '}
+
+ Report an Issue
+
+ .
The Quick Version
@@ -74,8 +77,11 @@ const CodeOfConduct = ({ location }) => {
please notify a QueerJS organizer as soon as possible.
- 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{' '}
+
+ Report an Issue
+
+ .
Conference staff will be happy to help participants and assist those experiencing
diff --git a/src/pages/flags.js b/src/pages/flags.js
index 02a193af..abcc650e 100644
--- a/src/pages/flags.js
+++ b/src/pages/flags.js
@@ -58,7 +58,6 @@ const OrganizersPage = ({ location }) => {
{
reason: 'icons'
}
]}
- site={site}
/>
)
diff --git a/src/pages/report.js b/src/pages/report.js
new file mode 100644
index 00000000..fb34274d
--- /dev/null
+++ b/src/pages/report.js
@@ -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: 'coc@queerjs.com',
+ twitterHandle: '@QueerJS'
+ }
+
+ return (
+
+
+
+
Welcome to QueerJS
+
+
+
+ We want QueerJS to be a safe and inclusive environment. That’s why we ask our
+ attendees to follow our{' '}
+
+ Code of Conduct
+
+ !
+
+
+ In the unfortunate case that you see someone violating the code of conduct, here are
+ some ways you can report it to us:
+
+
+
- Send a DM to {contactInfo.twitterHandle}
+
+ - Let a{' '}
+
+ Core Team
+ {' '}
+ organizer know, either in person or via Twitter.
+