forked from whysosaket/hackodex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
seed.ts
328 lines (298 loc) · 9.25 KB
/
seed.ts
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
{/* -----------------------------------------------FAQS--------------------------------------------------- */}
export interface FaqItem {
question: string;
answer: string;
}
export const faqs: FaqItem[] = [
{
question: "How can contributors register?",
answer:
"You need not register !! Firstly sign-in on your Hackodex website then start contributing to the enlisted 'hackcodex2023' tagged repositories, we will automatically track down all your contributions from your GitHub ID.",
},
{
question: "What is open source and GitHub?",
answer:
"Open source refers to software with source code that is freely available and can be modified. GitHub is a platform for hosting and collaborating on open source projects. ",
},
{
question: "How to create a GitHub Account?",
answer:"To create a GitHub account, go to github.com and click 'Sign up'. Enter your details and create a username and password. Verify your email and you're ready to start using GitHub.",
},
{
question: "Do you have rewards?",
answer:" Yes!!! Our top 3 contributors will be receiving swag kits.What if you don't end up in top 3? If you get atleast 3 PRs merged, we still have rewards for you! ",
},
];
{/* ----------------------------------------REGISTER INSTRUCTIONS--------------------------------------------- */}
export interface RegistrationInstruction {
step: number;
description: string;
}
export const registrationInstructions: RegistrationInstruction[] = [
{
step: 1,
description: "You must be enrolled in any bachelors degree.",
},
{
step: 2,
description:
"You must have public project on GitHub with merge access.",
},
{
step: 3,
description:
"Your project have more than two easy-to-fix issues.",
},
{
step: 4,
description:
"Your repositories must contain tags/topic hackodex2023.",
},
{
step: 5,
description:
"Your README must be descriptive.",
},
{
step: 7,
description:
"To complete this event, you must merge at least 3 meaningful PRs",
},
{
step: 8,
description:
"HACKODEX organizers approve your project.",
},
{
step: 9,
description:
"No projects will be approved related to competitive coding or similar kind of stuff.",
},
{
step: 10,
description:
"You need to add the 'hackodex2023' and 'hackodex2023-accepted' label to the merged PRs.",
},
];
{/* ------------------------------------------EVENT TIMELINE----------------------------------------------- */}
export interface Event {
id: number;
title: string;
date: string;
description: string;
}
export interface TimelineData {
events: Event[];
}
export const timelineData: TimelineData = {
events: [
{
id: 1,
title: "Mentor Registerations",
date: "2023-03-30 to 2023-04-10",
description: "Individuals who wish to be project mentors must register themselves using the Google Form available on the Registeration Page",
},
{
id: 2,
title: "Open Source Contributions",
date: "2023-04-08 to 2023-05-07",
description: "Individuals can Start contributing to open-source projects under the 'hackodex2023' tag, discuss with mentors and make PRs for the same. We will track your contributions during this phase!",
},
],
};
{/* ------------------------------------------Contributors Guideline----------------------------------------------- */}
export const contributorGuidelines: { id: number; title: string; description: string }[] = [
{
id: 1,
title: 'Follow code conventions',
description:
'Make sure your code adheres to the project’s code conventions. If you are not sure about the conventions, ask the project maintainers for guidance.',
},
{
id: 2,
title: 'Create pull requests',
description:
'When you have completed work on a feature or bug fix, create a pull request against the project’s main branch. The pull request should include a clear and concise description of the changes you have made and any relevant screenshots or testing information.',
},
{
id: 3,
title: 'Write clear commit messages',
description:
'Make sure your commit messages are clear and descriptive. Use imperative mood, such as "Fix bug" instead of "Fixed bug". Provide enough context to understand the purpose of the changes made in the commit.',
},
];
{/* ------------------------------------------Resources List----------------------------------------------- */}
export const resources = [
{
id: 1,
title: 'Codex: GitHub basics for Beginners',
url: 'https://www.youtube.com/watch?v=4ohwTU0NJ6s',
},
{
id: 2,
title: 'Codex: GitHub For Contributions',
url: 'https://www.youtube.com/watch?v=0ZoXSFtYHh8&t=5s',
},
{
id: 3,
title: 'Open-Source: How to Contribute?',
url: 'https://opensource.guide/how-to-contribute/',
},
{
id: 4,
title: 'GitHub: Training Kit',
url: 'https://training.github.com/',
},
{
id: 5,
title: 'GitHub: How to write a pull request?',
url: 'https://github.blog/2015-01-21-how-to-write-the-perfect-pull-request/',
},
{
id: 6,
title: 'GitHub: GitHub Desktop',
url: 'https://desktop.github.com/',
},
{
id: 7,
title: 'GitHub: What is a good commit message?',
url: 'https://dev.to/chrissiemhrk/git-commit-message-5e21',
},
{
id: 8,
title: 'GitHub: Flow for Collaboration',
url: 'https://docs.github.com/en/get-started/quickstart/github-flow',
},
];
{/* ------------------------------------------Footer----------------------------------------------- */}
export interface Footer {
gmail: string;
instagram: string;
linkedin: string;
github: string;
youtube: string;
rights: string;
}
export const footerData: Footer = {
gmail: '[email protected]',
instagram: 'https://www.instagram.com/codexiter',
linkedin: 'https://www.linkedin.com/company/codex-iter',
github:'https://github.com/codex-iter',
youtube:'https://www.youtube.com/channel/UCu1S3gm2ODknxDlkpPX2RrA',
rights: 'All rights reserved . Hackodex 2.0 (2023)',
};
{/* ------------------------------------------Collaboration & Community----------------------------------------------- */}
export interface SponsorType {
id: number;
name: string;
logo: string;
url: string;
}
export const community: SponsorType[] = [
{
id: 7,
name: 'Sponsor 7',
logo: '/community/Ascent_Academy.png',
url: 'https://ascentacademy.vercel.app',
},
{
id: 8,
name: 'Sponsor 8',
logo: '/community/DEVs_Dungeon.png',
url: 'https://nas.io/devs-dungeon',
},
{
id: 9,
name: 'Sponsor 9',
logo: '/community/GDSC_ITER.png',
url: 'https://gdsc.community.dev/institute-of-technical-education-research-bhubaneswar/',
},
{
id: 10,
name: 'Sponsor 10',
logo: '/community/GFG_RTU.png',
url: 'https://gfgsc-rtu.github.io/linktree/',
},
{
id: 11,
name: 'Sponsor 11',
logo: '/community/Webwiz.png',
url: 'https://webwiznitr.tech/',
},
]
export const clubs: SponsorType[] = [
{
id: 1,
name: 'Sponsor 1',
logo: '/clubs/CDH.png',
url: 'https://instagram.com/cdh.iter'
},
{
id: 2,
name: 'Sponsor 2',
logo: '/clubs/IEC.png',
url: 'https://www.iecsoauniversity.com/'
},
{
id: 3,
name: 'Sponsor 3',
logo: '/clubs/SEC.png',
url: 'http://soaenglishcafe.blogspot.com'
},
{
id: 4,
name: 'Sponsor 4',
logo: '/clubs/SLC.png',
url: 'https://instagram.com/soaliterary_club'
},
{
id: 5,
name: 'Sponsor 5',
logo: '/clubs/SOA Radio.png',
url: 'https://youtu.be/px76qAcKyNI'
},
{
id: 6,
name: 'Sponsor 6',
logo: '/clubs/Srishti.png',
url: 'https://instagram.com/srishticlub'
}
// Add more sponsors here*/
];
{/* ------------------------------------------ Events ----------------------------------------------- */}
export interface Events {
id: number;
name: string;
url: string;
}
export const sponsorevent: Events[] = [
{
id: 1,
name: 'Comming Soon',
url: '',
},
{
id: 2,
name: 'Comming Soon',
url: '',
},
{
id: 3,
name: 'Comming Soon',
url: '',
},
]
export const communityevent: Events[] = [
{
id: 1,
name: 'Comming Soon',
url: '',
},
]
export const clubsEvents: Events[] = [
{
id: 1,
name: 'Comming Soon',
url: '',
},
];