forked from DevCo-ops/Devocidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdummy.js
159 lines (151 loc) · 3.61 KB
/
dummy.js
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
const DUMMY_GROUPS = [
{
_id: 'grp001',
name : 'DevGroup1',
img : '/images/group1.jpg',
projectDescription : 'This IS the project description for group this that and 1 2, hell. aere',
isFeatured: true,
users : [
{
_id : 'use001',
name : 'abella',
email : '[email protected]',
image : '/images/user1.jpg',
},
{
_id : 'use002',
name : 'Rome',
email : '[email protected]',
image : '/images/user2.jpg',
},
],
},
{
_id: 'grp002',
name : 'DevGroup2',
img : '/images/group2.jpg',
projectDescription : 'This IS the project description for group this that and 1 2, hell. aere, Creating a longer group description',
isFeatured: false,
users : [
{
_id : 'use003',
name : 'Leyton',
email : '[email protected]',
image : '/images/user3.jpg',
},
{
_id : 'use033',
name : 'Vita',
email : '[email protected]',
image : '/images/user4.jpg',
},
],
},
{
_id: 'grp003',
name : 'DevGroup3',
img : '/images/group3.jpg',
projectDescription : 'shor description',
isFeatured: true,
users : [
{
_id : 'use004',
name : 'Zen',
email : '[email protected]',
image : '/images/user5.jpg',
},
{
_id : 'use005',
name : 'August',
email : '[email protected]',
image : '/images/user6.jpg',
},
],
},
{
_id: 'grp004',
name : 'DevGroup4',
img : '/images/group4.jpg',
projectDescription : 'n/a',
isFeatured: false,
users : [
{
_id : 'use006',
name : 'Mace',
email : '[email protected]',
image : '/images/user7.jpg',
},
{
_id : 'use007',
name : 'Jupiter',
email : '[email protected]',
image : '/images/user8.jpg',
},
],
},
{
_id: 'grp005',
name : 'DevGroup5',
img : '/images/group5.jpg',
projectDescription : 'This is the project description for some group that cares way to much about creating a description for thier project y n the world would anyone write so much now lets be random sjdlfkjsldfkjsldkfjslkdjf sllsls jdj okay I think this is enough of a description don\'t you no. Okay new paragraph I\'m not botherd by the abslute lack of gramer are you sudden bye bye. ',
isFeatured: true,
users : [
{
_id : 'use008',
name : 'Oceana',
email : '[email protected]',
image : '/images/user9.jpg',
},
{
_id : 'use009',
name : 'Judd',
email : '[email protected]',
image : '/images/user10.jpg',
},
],
},
];
const CONTRIBUTORS = [
{
_id: 'con001',
name: 'CJ. Leverett',
link: 'https://cjleverett.me'
},
{
_id: 'con002',
name: 'Tyler Jones',
link: 'https://www.devtylerjones.com/'
},
{
_id: 'con003',
name: 'Samantha Aleman',
link: 'https://www.linkedin.com/in/samantha-aleman-b83306b5/'
},
{
_id: 'con004',
name: 'Umberto Palazzo',
link: 'https://www.linkedin.com/in/umberto-palazzo-93a86ba3/'
},
{
_id: 'con005',
name: 'Riley Slayden',
link: 'https://www.rileyslayden.com/'
}
]
const log = '/images/LOGO.jpg'
export const getFeaturedGroups = () => {
return DUMMY_GROUPS.filter((group) => group.isFeatured);
}
const getAllGroups = () => {
return DUMMY_GROUPS;
}
export const getAllContributors = () => {
return CONTRIBUTORS
}
export const getGroupById = (id) => {
return DUMMY_GROUPS.find((group) => group._id === id);
}
export const Logo = () => {
return logo
}
export default getAllGroups