Skip to content

Commit

Permalink
Fixing URLs and adding an imprint (#23)
Browse files Browse the repository at this point in the history
* Move code of conduct to well-known path

* Add imprint

* Use `Link` for internal navigation

Using the Gatsby link element ensures that Gatsby can take over
navigation when JavaScript is enabled. We also add a wrapper and a
middot character to better group and separate the footer links.

Co-authored-by: Alexander Varwijk <[email protected]>
  • Loading branch information
badboy and Kingdutch authored Mar 17, 2020
1 parent 71527b7 commit 67fec02
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
File renamed without changes.
9 changes: 9 additions & 0 deletions content/pages/imprint.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Imprint
slug: /imprint/
---

## Stichting Rust Nederland

Ploegstraat 21
6532AB Nijmegen
19 changes: 13 additions & 6 deletions src/components/organisems/Footer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { Link } from 'gatsby';
import styled from 'styled-components';
import Container from '../atoms/Container';

Expand All @@ -18,12 +19,18 @@ export default function Footer() {
<FooterWrapper>
<FlexContainer>
<span>© Copyright Stichting Rust Nederland</span>
<a
href={'https://blog.rustfest.eu/past_events/'}
title={'View past events'}
>
Past Events
</a>
<span>
<a
href={'https://blog.rustfest.eu/past_events/'}
title={'View past events'}
>
Past Events
</a>
{' \u00B7 '}
<Link to={'/imprint'} title={'Imprint'}>
Imprint
</Link>
</span>
</FlexContainer>
</FooterWrapper>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default function About(props) {
</p>
<p>
We care about diversity and accessibility at this conference – please
take a look at our <Link to={'/codeofconduct'}>Code of Conduct</Link>{' '}
take a look at our <Link to={'/code-of-conduct'}>Code of Conduct</Link>{' '}
and <Link to={'/accessibility'}>Accessibility Statement</Link>.
</p>
<h2>Team</h2>
Expand Down

0 comments on commit 67fec02

Please sign in to comment.