-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathindex.html
More file actions
489 lines (475 loc) · 25.8 KB
/
Copy pathindex.html
File metadata and controls
489 lines (475 loc) · 25.8 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
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
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>GiftHub | Twitter Based Personality Insights Via Watson</title>
<!-- favicon -->
<link rel="shortcut icon" href="assets/images/favicon.ico" type="image/x-icon">
<link rel="icon" href="assets/images/favicon.ico" type="image/x-icon">
<!-- mobile 1st -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- character encoding -->
<meta charset="utf-8">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto:100" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:300" rel="stylesheet">
<!-- reset -->
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<!-- fonts -->
<link rel="stylesheet" type="text/css" href="assets/css/fonts.css">
<!-- link bootstrap social file (use with font awesome) -->
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap-social.css">
<!-- link font awesome file -->
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- twitter js file -->
<!-- <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> -->
<!-- this twitter js file may not be needed -->
<!-- LINK TO FIREBASE GOES HERE -->
<script src="https://www.gstatic.com/firebasejs/4.5.0/firebase.js"></script>
<!-- Firebase Style Sheet for Login -->
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/2.4.0/firebaseui.css" />
<script src="https://cdn.firebase.com/libs/firebaseui/2.4.0/firebaseui.js"></script>
<!-- link CSS file -->
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<!-- Added Moment JS -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script> -->
<!-- link to D3 -->
<!-- <script src="https://d3js.org/d3.v4.min.js"></script> -->
</head>
<body>
<!-- placed here for the up arrow feature -->
<div id="pageTop"></div>
<!-- header -->
<section id="navigation">
<!-- navigation -->
<div id="menu">
<nav class="navbar navbar-expand-lg navbar-light bg-light justify-content-end">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01" aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarTogglerDemo01">
<!-- must keep #navbarTogglerDemo01 in or else the collapse will not work -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#intro">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#twitter" id="scrollToTwitter">Insights</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#shopping" id="scrollToShopping">Shopping</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about" id="scrollToAbout">About Us</a>
</li>
<li class="nav-item" id="log-in">
<!-- the id must be included based on how we built the login this time around -->
<!-- Button trigger modal -->
<a class="nav-link" data-toggle="modal" data-target="#firebaseModal" id="firebaseModalBtn">Login</a>
</li>
<li class="nav-item" id="log-out">
<a class="nav-link" data-toggle="modal" id="firebaseModalBtn">Logout</a>
</li>
</ul>
</div>
</nav>
</div>
</section>
<!-- video header -->
<section id="intro">
<div id="video-container">
<video id="video-background" preload muted autoplay loop>
<source src="assets/videos/708213662.mp4" type="video/mp4">
<img src="assets/images/708213662_still.png" title="Your browser does not support the <video> tag">
</video>
<!-- <div class="container"> -->
<div class="overlay-desc">
<h2 class="headline"><span class="gift">Gift</span><span class="insights">HUB</span></h2>
<p class="bottomline">Buying gifts? Gift suggestions based off twitter.</p>
<form id="twitterInput">
<div class="container">
<div class="row justify-content-center">
<div class="col-xs-4 col-md-4">
<label for="twitterName" class="sr-only">twitter name</label>
<input type="text" class="form-control" id="twitterName" placeholder="@twitter-name-example" pattern="^@[A-Za-z0-9_]+$" required />
<!-- the + means one or more times and $ is the end of string anchor -->
</div>
</div>
<div class="row" style="justify-content: center;">
<div class="col-md-4" style="text-align: center;">
<button class="btn btn-twitter" type="submit">
<span class="fa fa-twitter"></span> Click to Get Personality
</button>
</div>
</div>
</div>
</form>
</div>
</div>
<!-- scrolling home button -->
<div id="upArrow">
<img src="assets/images/arrow-up.png" class="js-scroll-to-top">
</div>
</section>
<!-- this closes the entire header section -->
<!-- twitter feed -->
<section id="twitter">
<!-- <img id="twitBg" src="assets/images/Twitterbird.png"> -->
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<h2 class="twitHandle">Personality Profile</h2>
</div>
</div>
<!-- twitter profile pic -->
<div id="twitImg">
<a href="" target="_blank" class="twitLink">
<img class="rounded-circle" id="newTwitImg" src="" />
</a>
<!-- here we need to dynamically update the href -->
<!-- dynamically adds the twitter handle -->
</div>
<!-- latest tweet and watson profile -->
<div id="latestTweetTitle">
<div class="row justify-content-center">
<div class="col-6">
<p>Latest Tweet</p>
<div id="latestTweet">
<div class="twitterHandleUpdate">
</div>
</div>
</div>
<div class="col-6" id="personalityProfile">
<p>Watson Profile</p>
<dl id="watson-traits">
</dl>
<!-- button triggering modal -->
<div style="justify-content: center; text-align: center;">
<button class="btn btn-danger" data-toggle="modal" data-target="#sunburstModal" id="watsonModalBtn">Click to View Sunburst Profile</button>
</div>
<!-- modal -->
<div class="modal fade" id="sunburstModal" tabindex="-1" role="dialog" aria-labelledby="sunburstModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<!-- .modal-lg makes the modal bigger than the default size -->
<div class="modal-content">
<div class="modal-header" id="sunburstModalLabel">
<h5 class="modal-title">Personality Sunburst. <span style="color: black; font-size: 1.2vw;"">Click on Parts of the Circle to Interact With Data.<span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<div class="col-sm-12 col-xs-12">
<div id="sunburstChart"></div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- shopping carousel -->
<section id="shopping">
<!-- carousel -->
<div class="container">
<div class="row">
<div class="col-md-12 text-center">
<img src="assets/images/EBay_logo.png" />
<h2>Gift Recommendations</h2>
</div>
</div>
<div class="carousel slide" data-ride="carousel" id="shop-carousel">
<!-- Bottom Carousel Indicators -->
<ol class="carousel-indicators">
<li data-target="#shop-carousel" data-slide-to="0" class="active"></li>
<li data-target="#shop-carousel" data-slide-to="1"></li>
<li data-target="#shop-carousel" data-slide-to="2"></li>
</ol>
<!-- carousel slides / items -->
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<!-- page 1 -->
<div class="row">
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl0">
<img class="rounded d-block img-fluid" src="" id="productImg0" />
<p class="productTitle0">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl1">
<img class="rounded d-block img-fluid" src="" id="productImg1" />
<p class="productTitle1">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl2">
<img class="rounded d-block img-fluid" src="" id="productImg2" />
<p class="productTitle2">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl3">
<img class="rounded d-block img-fluid" src="" id="productImg3" />
<p class="productTitle3">Coming soon</p>
</a>
</div>
</div>
<div class="row">
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl4">
<img class="rounded d-block img-fluid" src="" id="productImg4" />
<p class="productTitle4">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl5">
<img class="rounded d-block img-fluid" src="" id="productImg5" />
<p class="productTitle5">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl6">
<img class="rounded d-block img-fluid" src="" id="productImg6" />
<p class="productTitle6">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl7">
<img class="rounded d-block img-fluid" src="" id="productImg7" />
<p class="productTitle7">Coming soon</p>
</a>
</div>
</div>
</div>
<!-- page 2 -->
<div class="carousel-item">
<div class="row">
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl8">
<img class="rounded d-block img-fluid" src="" id="productImg8" />
<p class="productTitle8">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl9">
<img class="rounded d-block img-fluid" src="" id="productImg9" />
<p class="productTitle9">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl10">
<img class="rounded d-block img-fluid" src="" id="productImg10" />
<p class="productTitle10">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl11">
<img class="rounded d-block img-fluid" src="" id="productImg11" />
<p class="productTitle11">Coming soon</p>
</a>
</div>
</div>
<div class="row">
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl12">
<img class="rounded d-block img-fluid" src="" id="productImg12" />
<p class="productTitle12">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl13">
<img class="rounded d-block img-fluid" src="" id="productImg13" />
<p class="productTitle13">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl14">
<img class="rounded d-block img-fluid" src="" id="productImg14" />
<p class="productTitle14">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl15">
<img class="rounded d-block img-fluid" src="" id="productImg15" />
<p class="productTitle15">Coming soon</p>
</a>
</div>
</div>
</div>
<!-- page 3 -->
<div class="carousel-item">
<div class="row">
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl16">
<img class="rounded d-block img-fluid" src="" id="productImg16" />
<p class="productTitle16">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl17">
<img class="rounded d-block img-fluid" src="" id="productImg17" />
<p class="productTitle17">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl18">
<img class="rounded d-block img-fluid" src="" id="productImg18" />
<p class="productTitle18">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl19">
<img class="rounded d-block img-fluid" src="" id="productImg19" />
<p class="productTitle19">Coming soon</p>
</a>
</div>
</div>
<div class="row">
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl20">
<img class="rounded d-block img-fluid" src="" id="productImg20" />
<p class="productTitle20">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl21">
<img class="rounded d-block img-fluid" src="" id="productImg21" />
<p class="productTitle21">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl22">
<img class="rounded d-block img-fluid" src="" id="productImg22" />
<p class="productTitle22">Coming soon</p>
</a>
</div>
<div class="col-md-3 text-center grow">
<a href="" target="_blank" id="productUrl23">
<img class="rounded d-block img-fluid" src="" id="productImg23" />
<p class="productTitle23">Coming soon</p>
</a>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#shop-carousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#shop-carousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</section>
<!-- team members -->
<section id="about">
<div class="container">
<!-- <div class="row">
<div class="col-md-12" id="headline">
<h2>Who We Are</h2>
<p>We are a team of innovators, designers, and problem-solvers looking to change the way people browse for gifts. We enjoy Codewars algorithms, providing out-of-the-box solutions to problems we didn't know we had, and long walks on the beach.</p>
</div>
</div> -->
<div class="row" id="sub-heading">
<div class="col-md-12 text-center">
<h2>Meet The Team</h2>
<p>We are a team of innovators, designers, and problem-solvers looking to change the way people browse for gifts. We enjoy Codewars algorithms, providing out-of-the-box solutions to problems we didn't know we had, and long walks on the beach.</p>
</div>
</div>
<a href="https://github.com/ykeanu" target="_blank">
<div class="row justify-content-center">
<div class="col-3">
<img class="rounded-circle" src="assets/images/izzy.jpeg" />
</div>
<div class="col-5 profile">
<h3>Ysrael "Izzy" Hernandez</h3>
<p>Recent UCLA grad with industry experience in big data and market research. Passionate and highly motived, Izzy loves solving critical problems and working with others to achieve a common goal. When he's not programming, you can catch him at a concert or playing pickup basketball in Santa Monica.</p>
</div>
</div>
</a>
<a href="https://github.com/dlowkeen" target="_blank">
<div class="row justify-content-center">
<div class="col-3">
<img class="rounded-circle" src="assets/images/donovan.jpeg" />
</div>
<div class="col-5 profile">
<h3>Dononvan Lowkeen</h3>
<p>Operations management specialist with a passion for the outdoors, efficiency, and ice cream. Donovan uses a combination of empathy, discipline, and humor to guide teams to success.</p>
</div>
</div>
</a>
<a href="https://github.com/mikeyamato" target="_blank">
<div class="row justify-content-center">
<div class="col-3">
<img class="rounded-circle" src="assets/images/mike.jpeg" />
</div>
<div class="col-5 profile">
<h3>Shinsuke "Mike" Yamato</h3>
<p>Digital marketer with 14+ years of experience domestically and internationally. Never happy with the status quo Mike is always looking for his next challenge. A proud advocate of California Proposition 64 he is currently busy coding at Coding Bootcamp at UCLA.</p>
</div>
</div>
</a>
</div>
</section>
<!-- contact us -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<!-- link p5 file -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.15/p5.min.js"></script> -->
<!-- link smoothscroll.js file (place at bottom above /body) -->
<script type="text/javascript" src="assets/js/smoothscroll.min.js"></script>
<script type="text/javascript" src="assets/js/d3.v3.5.17.js"></script>
<script type="text/javascript" src="assets/js/sunburst.js"></script>
<script type="text/javascript" src="assets/js/d3color.js"></script>
<!-- link Js file (place at bottom above /body) -->
<script src="assets/js/main.js" type="text/javascript"></script>
<footer class="footer navbar navbar-expand-lg navbar-light bg-light justify-content-center">© Copyright 2017 UCLA Hackers</footer>
</body>
<!-- modal for login only works outside of 'body'. why? -->
<div class="modal fade" id="firebaseModal" tabindex="-1" role="dialog" aria-labelledby="firebaseModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="firebaseModalLabel">Login</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div id="firebaseui-auth-container"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">Close
</button>
</div>
</div>
</div>
</div>
</html>
<!--
_ *beep beep* _
| ^ | ^
| |
| _____ ~~~~~~~~~~~~ |
| __/ # # \__ ~~~~~~~~~~ |
| [___________] ~~~~~~~~~~ |
*************(O)*****(O)************************
-->