8cc1b02d19
Adds a 3-pane layout option for showing details, as well as a dashboard sub-route for showing contributor details in the new details pane.
14 lines
418 B
JavaScript
14 lines
418 B
JavaScript
import Contributor from 'kredits-web/models/contributor';
|
|
|
|
const contributors = [];
|
|
|
|
const data = [
|
|
{ id: 1, name: 'Bumi', totalKreditsEarned: 11500, github_uid: 318 },
|
|
{ id: 2, name: 'Râu Cao', totalKreditsEarned: 3000, github_uid: 842 },
|
|
{ id: 3, name: 'Manuel', totalKreditsEarned: 0, github_uid: 54812 }
|
|
];
|
|
|
|
data.forEach(attrs => contributors.push(Contributor.create(attrs)));
|
|
|
|
export default contributors;
|