Skip to content

Commit

Permalink
feat: Use Logo component in footer. Add props to change text/bracket …
Browse files Browse the repository at this point in the history
…color
  • Loading branch information
jerelmiller committed Jun 16, 2020
1 parent 256ad5e commit 8ce1335
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 15 deletions.
9 changes: 8 additions & 1 deletion src/components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import React from 'react';
import { Link } from 'gatsby';
import styles from './Footer.module.scss';
import Logo from './Logo';

const Footer = () => (
<footer className={styles.footer}>
<div className={styles.leftColumn}>
<Link to="/" className={`${styles.logo} logo`} />
<Link to="/">
<Logo
className={styles.logo}
textColor="#7DA5A8"
bracketColor="#7DA5A8"
/>
</Link>
<div className={styles.copyright}>
Copyright &copy; 2020 New Relic Inc.
</div>
Expand Down
6 changes: 1 addition & 5 deletions src/components/Footer.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
}

.logo {
width: 195px;
min-width: 195px;
height: 45px;
display: inline-block;
background-image: url('../images/developers-logo-footer.svg');
width: 200px;
}

.copyright {
Expand Down
15 changes: 11 additions & 4 deletions src/components/Logo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions src/images/developers-logo-footer.svg

This file was deleted.

0 comments on commit 8ce1335

Please sign in to comment.