Add contributor list design and wiring

This commit is contained in:
2017-01-31 13:28:57 +08:00
parent 22e9a2ad97
commit 4dbeded613
10 changed files with 147 additions and 17 deletions
@@ -0,0 +1,8 @@
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'table',
classNames: 'contributor-list'
});
@@ -0,0 +1,14 @@
<tbody>
{{#each contributors as |contributor|}}
<tr>
<td class="person">
<img class="avatar" src={{contributor.avatarURL}}>
{{contributor.github_username}}
</td>
<td class="kredits">
<span class="amount">{{contributor.kredits}}</span>
<span class="symbol">₭S</span>
</td>
</tr>
{{/each}}
</tbody>