Blame view
src/api/project.js
1.2 KB
93a68cfa1
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
const Projects = [ { username: 'Dessie', avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/ludwiczakpawel/128.jpg', name: 'Template PSD', deadline: '2 days later', progress: 90, color: 'pink', }, { username: 'Jakayla', avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/suprb/128.jpg', name: 'Logo Design', deadline: '1 weeks later', progress: 70, color: 'success' }, { username: 'Ludwiczakpawel', avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/ludwiczakpawel/128.jpg', name: 'REST API', deadline: '1 Month later', progress: 50, color: 'info' }, { username: 'Damenleeturks', avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/damenleeturks/128.jpg', name: 'API Unit Test', deadline: '2 Month later', progress: 30, color: 'teal' }, { username: 'Caspergrl', avatar: 'https://s3.amazonaws.com/uifaces/faces/twitter/caspergrl/128.jpg', name: 'Project Deploy', deadline: 'half year later', progress: 15, color: 'grey' }, ]; const getProject = (limit) => { return (limit) ? Projects.slice(0, limit) : Projects; }; export { Projects, getProject }; |