-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.js
More file actions
294 lines (283 loc) · 11.2 KB
/
Copy pathdata.js
File metadata and controls
294 lines (283 loc) · 11.2 KB
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
// All the data goes over here, including the handler..?
'use strict';
// const messageSuggestions = {
// "attachment": {
// "type": "template",
// "payload": {
// "template_type": "button",
// "text": "What would you like to know about me?",
// "buttons": [{
// "type": "postback",
// "title": "Education",
// "payload": "Education"
// }, {
// "type": "postback",
// "title": "Skills",
// "payload": "Skills",
// }, {
// "type": "postback",
// "title": "Experience",
// "payload": "Experience",
// }],
// }
// }
// }
const messageEducation = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Electrical Engineering",
"subtitle": "2019 at Illinois Institute of Technology",
//"image_url": "https://www.royalcanin.com/~/media/Royal-Canin/Product-Categories/cat-adult-landing-hero.ashx",
"buttons": [{
"type": "web_url",
"url": "http://web.iit.edu/",
"title": "My University"
}],
}, {
"title": "A Levels",
"subtitle": "2015 at The City Schools",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "web_url",
"url": "http://thecityschool.edu.pk/category/central-region/iqbal-campus-sialkot/",
"title": "My School",
}],
}]
}
}
}
const messageSkills = {
"attachment": {
"type": "template",
"payload": {
"template_type": "button",
"text": "What of my skills would you like to know?",
"buttons": [{
"type": "postback",
"title": "Software Languages",
"payload": "sx1"
}, {
"type": "postback",
"title": "Hardware Boards",
"payload": "sx2",
}, {
"type": "postback",
"title": "Database Engines",
"payload": "sx3",
}],
}
}
}
const messagePLangs = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Java",
"image_url": "http://www.greycampus.com/system/courses/JAVA.jpg",
"item_url": "https://en.wikipedia.org/wiki/Java_(programming_language)",
}, {
"title": "Python",
"image_url": "https://realpython.com/learn/python-first-steps/images/pythonlogo.jpg",
"item_url": "https://en.wikipedia.org/wiki/Python_(programming_language)",
}, {
"title": "Visual Basic .Net/6",
"image_url": "https://regmedia.co.uk/2013/11/13/visual_studio.jpg?x=1200&y=794",
"item_url": "https://en.wikipedia.org/wiki/Visual_Basic_.NET",
}, {
"title": "Android",
"image_url": "http://logok.org/wp-content/uploads/2014/06/Android-logo-wordmark.png",
"item_url": "https://en.wikipedia.org/wiki/Android_(operating_system)",
}]
}
}
}
const messageHBoards = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Arduino",
"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Arduino_Logo.svg/1280px-Arduino_Logo.svg.png",
"item_url": "https://www.arduino.cc/",
}, {
"title": "Raspberry Pi",
"image_url": "http://www.instructables.com/files/orig/FYC/48KX/IJ1TY4LH/FYC48KXIJ1TY4LH.png",
"item_url": "https://www.raspberrypi.org/",
}, {
"title": "ESP8266",
"image_url": "http://visystem.ddns.net:7442/imagenes/esp8266.png",
"item_url": "https://en.wikipedia.org/wiki/ESP8266",
}]
}
}
}
const messageDatabase = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Microsoft Access",
"image_url": "http://www.accessrepairnrecovery.com/blog/wp-content/uploads/2015/07/Microsoft-Access-Course.jpg",
"item_url": "https://en.wikipedia.org/wiki/Microsoft_Access",
}]
}
}
}
const messageWork = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Student Employment Office, Illinois Institute of Technology",
"subtitle": "Student Assistant 2016 - Date",
//"image_url": "https://www.royalcanin.com/~/media/Royal-Canin/Product-Categories/cat-adult-landing-hero.ashx",
"buttons": [{
"type": "postback",
"title": "My Tasks Here",
"payload": "ex1",
}],
}, {
"title": "Research and Development, Key Sports Pvt Ltd.",
"subtitle": "Intern 2014 - 2015",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "postback",
"title": "My Tasks Here",
"payload": "ex2",
}],
}, {
"title": "IT Department, Standard Chartered Bank",
"subtitle": "Intern Summer 2014",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "postback",
"title": "My Tasks Here",
"payload": "ex3",
}],
}, {
"title": "Public Relations, Key Sports Pvt Ltd.",
"subtitle": "Intern 2012 - 2014",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "postback",
"title": "My Tasks Here",
"payload": "ex4",
}],
}]
}
}
}
const messageProjects = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Home Automation System",
"subtitle": "A smart home solution with an accompanying Android App.",
//"image_url": "https://www.royalcanin.com/~/media/Royal-Canin/Product-Categories/cat-adult-landing-hero.ashx",
"buttons": [{
"type": "postback",
"title": "Learn More",
"payload": "px1",
}],
}, {
"title": "Hotel Management System",
"subtitle": "A database managment system tailored for a Hotel.",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "postback",
"title": "Learn More",
"payload": "px2",
}],
}, {
"title": "Resume Chatbot",
"subtitle": "A Resume powered by an Artificial Intelligence.",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "postback",
"title": "Learn More",
"payload": "px3",
}],
}, {
"title": "Line Following Robot",
//"subtitle": "Intern 2014 - 2015",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "postback",
"title": "Learn More",
"payload": "px4",
}],
}]
}
}
}
const messageAwards = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "ThinkChicago 2016",
"subtitle": "An entreprenuerial event hosted by the City of Chicago.",
//"image_url": "https://www.royalcanin.com/~/media/Royal-Canin/Product-Categories/cat-adult-landing-hero.ashx",
}, {
"title": "CS 2050 Hackathon",
"subtitle": "Winner",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
"buttons": [{
"type": "postback",
"title": "Learn More",
"payload": "ax1",
}],
}, {
"title": "Dean's List",
"subtitle": "Fall 2015, Spring 2016 & Summer 2016",
//"image_url": "http://messengerdemo.parseapp.com/img/gearvr.png",
}]
}
}
}
const messageContact = {
"attachment": {
"type": "template",
"payload": {
"template_type": "generic",
"elements": [{
"title": "Shahzil Sheikh",
"subtitle": "312-852-0877 shazy792@gmail.com",
"buttons":[
{
"type":"web_url",
"url":"https://github.com/shazy792",
"title":"My GitHub"
},
{
"type":"web_url",
"url":"https://facebook.com/shazy792",
"title":"My Facebook"
}]
}]
}
}
}
// Whatever I am going to use outside of this file.
module.exports = {
messageDatabase: messageDatabase,
messageHBoards: messageHBoards,
messagePLangs: messagePLangs,
messageSkills: messageSkills,
messageEducation: messageEducation,
messageWork: messageWork,
messageProjects: messageProjects,
messageAwards: messageAwards,
messageContact: messageContact,
};