Skip to content

Commit

Permalink
Simplify/cleanup contributor block
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Oct 3, 2016
1 parent f6840c6 commit d166d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
10 changes: 4 additions & 6 deletions components/Contributors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@ import React from 'react';
export default props => {
if (props.contributors) {
return (
<div className="contributors">
<div>
<hr />
<h4>Contributors:</h4>
<div className="contributors__list">
{
{
(props.contributors || []).map(contributor => (
<a key={ contributor }
className="contributors__person"
<a key={ contributor }
href={ `https://github.com/${contributor}` }>
<img src={ `https://github.com/${contributor}.png?size=80` } />
<span>{ contributor }</span>
<img src={ `https://github.com/${contributor}.png?size=48` } />
</a>
))
}
Expand Down
21 changes: 0 additions & 21 deletions styles/components/_contributors.scss

This file was deleted.

0 comments on commit d166d81

Please sign in to comment.