Skip to content

Commit 03a023e

Browse files
committed
omgad grid
1 parent f65c7e2 commit 03a023e

File tree

5 files changed

+29
-39
lines changed

5 files changed

+29
-39
lines changed

src/components/footer/elements.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import styled from 'styled-components'
22

33
export const FooterWrap = styled.div`
4-
position:sticky;
5-
bottom:0;
4+
bottom: 0;
65
`

src/components/header/elements.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Link } from 'gatsby'
44
import styled, { css } from 'styled-components'
55

66
export const Nav = styled.nav`
7-
margin: auto;
87
padding: 3em 0 1.5em;
98
@media screen and (max-width: 38em) {
109
padding: 0.5em 0 0;

src/components/layout/elements.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ export const Wrapper = styled.main`
7070
width: 80%;
7171
max-width: 56em;
7272
margin: auto;
73+
display: grid;
74+
grid-template-rows: auto 1fr 100px;
75+
height: 100%;
7376
`
7477

7578
export const SubWrapper = styled.div``

src/pages/code-of-conduct.js

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react'
22
import SEO from '../components/seo'
3+
import { Link } from 'gatsby'
34
import Layout from '../containers/layout'
45
import Panel from '../components/Panel'
56

@@ -28,13 +29,10 @@ const CodeOfConduct = () => {
2829
</p>
2930
<p>
3031
{' '}
31-
<a
32-
href="/report"
33-
rel="noopener noreferrer"
34-
title="Code of Conduct"
35-
>
32+
<Link to="/report" title="Code of Conduct">
3633
Report an Issue
37-
</a>.
34+
</Link>
35+
.
3836
</p>
3937

4038
<h2>The Quick Version</h2>
@@ -75,15 +73,11 @@ const CodeOfConduct = () => {
7573
please notify a QueerJS organizer as soon as possible.
7674
</p>
7775
<p>
78-
If you can’t find the organizer, please
79-
{' '}
80-
<a
81-
href="/report"
82-
rel="noopener noreferrer"
83-
title="Code of Conduct"
84-
>
76+
If you can’t find the organizer, please{' '}
77+
<a href="/report" rel="noopener noreferrer" title="Code of Conduct">
8578
Report an Issue
86-
</a>.
79+
</a>
80+
.
8781
</p>
8882
<p>
8983
Conference staff will be happy to help participants and assist those experiencing

src/pages/report.js

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react'
22
import SEO from '../components/seo'
33
import Layout from '../containers/layout'
44
import Panel from '../components/Panel'
5+
import { Link } from 'gatsby'
56

67
const Report = () => {
78
const contactInfo = {
@@ -24,32 +25,26 @@ const Report = () => {
2425
`}
2526
>
2627
<p>
27-
We want QueerJS to be a safe and inclusive environment. That’s why we ask our attendees to follow our
28-
<a
29-
href="/code-of-conduct"
30-
rel="noopener noreferrer"
31-
title="Code of Conduct"
32-
>
33-
Code of Conduct
34-
</a>!
35-
.
28+
We want QueerJS to be a safe and inclusive environment. That’s why we ask our
29+
attendees to follow our{' '}
30+
<Link to="/code-of-conduct" title="Code of Conduct">
31+
Code of Conduct
32+
</Link>
33+
! .
3634
</p>
3735
<p>
38-
In the unfortunate case that you see someone violating the code of conduct, here are some ways you can report it to us:
36+
In the unfortunate case that you see someone violating the code of conduct, here are
37+
some ways you can report it to us:
3938
</p>
4039
<ul>
41-
<li>- Send a DM to {contactInfo.twitterHandle}</li>
42-
<li>- Let a
43-
{' '}
44-
<a
45-
href="/organizers"
46-
rel="noopener noreferrer"
47-
title="Code of Conduct"
48-
>
49-
Core Team
50-
</a>
51-
{' '}
52-
organizer know, either in person or via Twitter.</li>
40+
<li>- Send a DM to {contactInfo.twitterHandle}</li>
41+
<li>
42+
- Let a{' '}
43+
<a href="/organizers" rel="noopener noreferrer" title="Code of Conduct">
44+
Core Team
45+
</a>{' '}
46+
organizer know, either in person or via Twitter.
47+
</li>
5348
<li>- Send an email to {contactInfo.email}</li>
5449
</ul>
5550
</section>

0 commit comments

Comments
 (0)