Skip to content

Commit

Permalink
Update profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Evert Arias committed Apr 3, 2020
1 parent 2ba317b commit dba3435
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const octokit = new Octokit();
class ProfileComponent extends React.Component {
render() {
return (
<Profile>
<Profile href={this.props.url}>
<Photo src={this.props.avatar_url} />
<Intro>
<Name>{this.props.name}</Name>
<Subtitle>
<a href={this.props.url}>{this.props.url}</a>
</Subtitle>
<Subtitle>Contributions: {this.props.contributions}</Subtitle>
</Intro>
</Profile>
);
Expand Down Expand Up @@ -95,6 +93,7 @@ export default class Contributors extends React.Component {
avatar_url={contributor.avatar_url}
name={contributor.login}
url={contributor.html_url}
contributions={contributor.contributions}
/>
);
})
Expand Down

0 comments on commit dba3435

Please sign in to comment.