Skip to content

Commit

Permalink
Merge pull request #124 from newrelic/cayla/remove-footer
Browse files Browse the repository at this point in the history
Remove the footer navigation
  • Loading branch information
jerelmiller authored Jun 11, 2020
2 parents 22134c4 + 3783b6a commit 57a4d7b
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'gatsby';
import Container from './Container';
import { link } from '../types';
import styles from './Footer.module.scss';

const Footer = ({ pages }) => (
const Footer = () => (
<footer className={styles.footer}>
<Container className={styles.container}>
<div className={styles.leftColumn}>
Expand All @@ -14,22 +12,8 @@ const Footer = ({ pages }) => (
Copyright &copy; 2020 New Relic Inc.
</div>
</div>

<nav role="navigation" aria-label="Footer" className={styles.nav}>
<ul>
{pages.map((page, i) => (
<li key={i}>
<Link to={page.url}>{page.displayName}</Link>
</li>
))}
</ul>
</nav>
</Container>
</footer>
);

Footer.propTypes = {
pages: PropTypes.arrayOf(link),
};

export default Footer;

0 comments on commit 57a4d7b

Please sign in to comment.