-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
626 lines (560 loc) · 22.7 KB
/
index.html
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
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, maximum-scale=1">
<!-- key words -->
<meta name="keywords" content="React, React Sight, Developer Tool, Javascript, ES6, Chrome, Developer, React Developer, D3, Create React App, Learn programming, Visualization, React 16, React 15, React fiber, fiber, redux, react redux, router, react router, browser router, redux store, d3 tree, d3 v4, react visualizer, component visualizer, react component visualizer, react component"
/>
<title>React Sight</title>
<link rel="icon" href="img/small-logo.png" type="image/png" style="width:30%">
<link rel="shortcut icon" href="favicon.ico" type="img/x-icon">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,800italic,700italic,600italic,400italic,300italic,800,700,600'
rel='stylesheet' type='text/css'>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<link href="css/style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<link href="css/responsive.css" rel="stylesheet" type="text/css">
<link href="css/animate.css" rel="stylesheet" type="text/css">
<!--[if IE]><style type="text/css">.pie {behavior:url(PIE.htc);}</style><![endif]-->
<script type="text/javascript" src="js/jquery.1.8.3.min.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/jquery-scrolltofixed.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.isotope.js"></script>
<script type="text/javascript" src="js/wow.js"></script>
<script type="text/javascript" src="js/classie.js"></script>
<!-- disable contact form for github pages, replace with free formspree.io -->
<!-- <script src="contactform/contactform.js"></script> -->
<!-- load the d3.js library -->
<script src="https://d3js.org/d3.v4.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-119523227-1"></script>
<!-- Google Analytics -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-119523227-1');
</script>
<!-- Amplitude Analytics -->
<script type="text/javascript">
(function (e, t) {
var n = e.amplitude || { _q: [], _iq: {} }; var r = t.createElement("script")
; r.type = "text/javascript"; r.async = true
; r.src = "https://cdn.amplitude.com/libs/amplitude-4.2.1-min.gz.js"
; r.onload = function () {
if (e.amplitude.runQueuedFunctions) {
e.amplitude.runQueuedFunctions()
} else {
console.log("[Amplitude] Error: could not load SDK")
}
}
; var i = t.getElementsByTagName("script")[0]; i.parentNode.insertBefore(r, i)
; function s(e, t) {
e.prototype[t] = function () {
this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this
}
}
var o = function () { this._q = []; return this }
; var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"]
; for (var u = 0; u < a.length; u++) { s(o, a[u]) } n.Identify = o; var c = function () {
this._q = []
; return this
}
; var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"]
; for (var p = 0; p < l.length; p++) { s(c, l[p]) } n.Revenue = c
; var d = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "setGlobalUserProperties", "identify", "clearUserProperties", "setGroup", "logRevenueV2", "regenerateDeviceId", "logEventWithTimestamp", "logEventWithGroups", "setSessionId", "resetSessionId"]
; function v(e) {
function t(t) {
e[t] = function () {
e._q.push([t].concat(Array.prototype.slice.call(arguments, 0)))
}
}
for (var n = 0; n < d.length; n++) { t(d[n]) }
} v(n); n.getInstance = function (e) {
e = (!e || e.length === 0 ? "$default_instance" : e).toLowerCase()
; if (!n._iq.hasOwnProperty(e)) { n._iq[e] = { _q: [] }; v(n._iq[e]) } return n._iq[e]
}
; e.amplitude = n
})(window, document);
amplitude.getInstance().init("2a4335eb07211f28ecc3964934659998");
window.addEventListener('DOMContentLoaded', () => {
amplitude.getInstance().logEvent('PageView');
});
</script>
</head>
<body>
<!--header-start-->
<header class="header" id="header">
<div class="container">
<figure class="logo animated fadeInDown delay-07s">
<img src="img/logo.png" alt="React Sight, a visualizer for React applications">
</figure>
<h1 class="animated fadeInDown delay-07s" id="logo-header">React Sight</h1>
<ul class="we-create animated fadeInUp delay-1s">
<li id="header-description">
Visualize your React applications
</li>
<br/>
<br/>
<br/>
<a class="github-button" href="https://github.com/React-Sight/React-Sight" data-size="large" aria-label="Follow @React-Sight on GitHub">
Follow @React-Sight
</a>
<a class="github-button" href="https://github.com/React-Sight/React-SightChromeExt" data-size="large" data-show-count="true"
aria-label="Star React-Sight/React-SightChromeExt on GitHub">Star</a>
</ul>
<a id="get-started-btn" class="link animated fadeInUp delay-1s servicelink" href="#getting-started">Get Started</a>
</div>
</header>
<!--header-end-->
<!--main-nav-start-->
<nav class="main-nav-outer" id="test">
<div class="container" id="header-container">
<ul class="main-nav">
<li>
<a href="#header">Home</a>
</li>
<li>
<a href="#getting-started">Getting Started</a>
</li>
<li>
<a href="#features">Features</a>
</li>
<li class="small-logo">
<a href="#header">
<img src="img/logo.png" alt="" style="width: 100px;">
</a>
</li>
<li>
<a href="#demo">
Demo
</a>
</li>
<li>
<a href="#team">
Team
</a>
</li>
<li>
<a href="#contact">
Contact
</a>
</li>
</ul>
<a class="res-nav_click" href="#">
<i class="fa-bars"></i>
</a>
</div>
</nav>
<!--main-nav-end-->
<section class="main-section" id="getting-started">
<!--main-section-start-->
<div class="container">
<h2>
Getting Started
</h2>
<br>
<div class="row">
<div class="col-lg-4 col-sm-6 wow fadeInLeft delay-05s">
<!-- install react dev tools -->
<div class="service-list">
<div class="service-list-col1">
<i class="fa fa-puzzle-piece" aria-hidden="true"></i>
</div>
<div class="service-list-col2">
<h3>Enable React DevTools</h3>
React Sight requires
<a href="https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi">React Dev Tools</a> for reading information about your App. Simply add to Chrome if you don't have it installed
</div>
</div>
<!-- install react sight -->
<div class="service-list">
<div class="service-list-col1">
<i class="fa fa-chrome" aria-hidden="true"></i>
</div>
<div class="service-list-col2">
<h3>Add React Sight to Chrome</h3>
Install
<a href="https://chrome.google.com/webstore/detail/react-sight/aalppolilappfakpmdfdkpppdnhpgifn">React Sight</a> from the Chrome web store.
<br> For local projects, check 'Allow access to file URLs' on the extensions page
</div>
</div>
<!-- Run your appllication -->
<div class="service-list">
<div class="service-list-col1">
<i class="fa fa-desktop" aria-hidden="true"></i>
</div>
<div class="service-list-col2">
<h3>Run your Application</h3>
Open your React application, or open (almost!) any website running React!
</div>
</div>
<!-- Run your appllication -->
<div class="service-list">
<div class="service-list-col1">
<i class="fa fa-wrench" aria-hidden="true"></i>
</div>
<div class="service-list-col2">
<h3>Open React Sight</h3>
Open the Chrome Developer Tools and click the React Sight panel
</div>
</div>
<div class="service-list">
<div class="service-list-col1">
<i class="fa fa-github" aria-hidden="true"></i>
</div>
<div class="service-list-col2">
<h3>Contribute on GitHub</h3>
<a href="https://github.com/React-Sight/React-Sight">https://github.com/React-Sight/React-Sight</a>
</div>
</div>
</div>
<figure class="col-lg-8 col-sm-6 text-right wow fadeInUp delay-02s">
<img id="testing-gif" src="img/testingDEMO.gif" alt="">
</figure>
</div>
</div>
</section>
<!--main-section-end-->
<section class="main-section alabaster" id="features">
<!--main-section alabaster-start-->
<div class="container">
<div class="row">
<figure class="col-lg-5 col-sm-4 wow fadeInLeft">
<img src="img/all-logo.png" alt="mobile friendly">
</figure>
<div class="col-lg-7 col-sm-8 featured-work">
<h2>Features</h2>
<P class="padding-b"></P>
<div class="featured-box">
<div class="featured-box-col1 wow fadeInRight delay-02s">
<i class="fa-magic"></i>
</div>
<div class="featured-box-col2 wow fadeInRight delay-02s">
<h3>No Set up required</h3>
<p>React Sight requires NO modification to your codebase, so using it is as simple as adding our Chrome Extension</p>
</div>
</div>
<div class="featured-box">
<div class="featured-box-col1 wow fadeInRight delay-02s">
<i class="fa-flash"></i>
</div>
<div class="featured-box-col2 wow fadeInRight delay-02s">
<h3>Works with All your favorite libraries</h3>
<p>React-Sight supports React 14.7+ (including Fiber), React Router v4, React Redux, and more</p>
</div>
</div>
<div class="featured-box">
<div class="featured-box-col1 wow fadeInRight delay-04s">
<i class="fa-rocket"></i>
</div>
<div class="featured-box-col2 wow fadeInRight delay-04s">
<h3>Built for Speed</h3>
<p>React-Sight is light-weight and unobtrusive, and will show you how your Application is working</p>
</div>
</div>
<div class="featured-box">
<div class="featured-box-col1 wow fadeInRight delay-06s">
<i class="fa-dashboard"></i>
</div>
<div class="featured-box-col2 wow fadeInRight delay-06s">
<h3>See only what you want to see</h3>
<p>Built in filters allow you to hide elements you don't want to see, allowing you focus only on the components
that you've written</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!--main-section alabaster-end-->
<section class="main-section alabaster" id="demo">
<!--main-section alabaster-start-->
<div class="container">
<div class="row">
<h2>DEMO</h2>
<figure class="col-lg-5 col-sm-4 wow fadeInLeft" id="demo-sidepanel">
<!-- <img src="img/iphone.png" alt=""> -->
<ul class="sidebar-nav">
<li class="sidebar-brand">
<a href="#">React Sight</a>
<img src="./img/floatinggif2.gif" id="floatinggif">
</li>
<li id="button-container">
<input id='router-btn' type='checkbox' unchecked>
<label for="router-btn" id="textrouter">Hide Router</label>
</li>
<li id="button-container">
<input id='dom-btn' type='checkbox' unchecked>
<label for="dom-btn" id="textrouter">Hide DOM</label>
</li>
<li id="button-container">
<input id='redux-btn' type='checkbox' unchecked>
<label for="redux-btn" id="textrouter">Hide Redux</label>
</li>
<li id='sliders-container'>
<p for="vSlider">Horizontal Spacing</p>
<input class="range-slider" type="range" min="0" max="20" value="10" id="hSlider">
<p for="hSlider">Vertical Spacing</p>
<input class="range-slider" type="range" min="0" max="20" value="10" id="vSlider">
</li>
<br>
<li id='store-container'>
<h2 class="container-header">Store</h2>
<div id="store"></div>
<br>
</li>
<li id='state-container'>
<h2 class="container-header">State</h2>
<div id='state'></div>
<br>
</li>
<li id='props-container'>
<h2 class="container-header">Props</h2>
<div id='props'></div>
<br>
</li>
</ul>
</figure>
<div>
<div class='tree'></div>
</div>
</div>
</div>
</section>
<!--main-section-end-->
<section class="main-section team" id="team">
<!--main-section team-start-->
<div class="container">
<h2>MEET THE TEAM</h2>
<h6>Take a closer look into our amazing team. We won’t bite.</h6>
<div class="team-leader-block clearfix">
<!-- WILL -->
<div class="team-leader-box">
<div class="team-leader wow fadeInDown delay-03s">
<div class="team-leader-shadow">
<a href="#"></a>
</div>
<img src="img/will-pic.jpg" alt="William He">
<ul>
<li>
<a href="https://github.com/hewilliam" class="fa-github"></a>
</li>
<li>
<a href="https://www.linkedin.com/in/william-he-a1177484/" class="fa-linkedin"></a>
</li>
</ul>
</div>
<h3 class="wow fadeInDown delay-03s">
William He
</h3>
<span class="wow fadeInDown delay-03s">
Software Engineer @
<a href="https://test.ai/">
test.ai
</a>
</span>
<p class="wow fadeInDown delay-03s">
D3 charting wizard. Basketball Fanatic. Traveling Enthusiast.
</p>
</div>
<!-- GRANT -->
<div class="team-leader-box">
<div class="team-leader wow fadeInDown delay-06s">
<div class="team-leader-shadow">
<a href="#"></a>
</div>
<img src="img/grant-pic.jpg" alt="Grant Kang">
<ul>
<li>
<a href="https://github.com/Grant05" class="fa-github"></a>
</li>
<li>
<a href="https://www.linkedin.com/in/grant-kang-172b59148/" class="fa-linkedin"></a>
</li>
</ul>
</div>
<h3 class="wow fadeInDown delay-06s">
Grant Kang
</h3>
<span class="wow fadeInDown delay-06s">
Software Engineer @
<a href="https://www.quze.io/">
Quartz Insights
</a>
</span>
<p class="wow fadeInDown delay-06s">
Breaker of Bugs
<br>(Builder of Bugs)
</p>
</div>
<!-- DAVID -->
<div class="team-leader-box">
<div class="team-leader wow fadeInDown delay-09s">
<div class="team-leader-shadow">
<a href="#"></a>
</div>
<img src="img/david-img.png" alt="David Sally">
<ul>
<li>
<a href="https://github.com/davidcsally" class="fa-github"></a>
</li>
<li>
<a href="https://www.davidcsally.com" class="fa-home"></a>
</li>
<li>
<a href="https://www.linkedin.com/in/davidcsally/" class="fa-linkedin"></a>
</li>
</ul>
</div>
<!-- DAVID -->
<h3 class="wow fadeInDown delay-09s">
David Sally
</h3>
<span class="wow fadeInDown delay-09s">
Software Engineer @
<a href="https://www.meundies.com/">
MeUndies
</a>
</span>
<p class="wow fadeInDown delay-09s">
Something something Bootstrap template 👀
</p>
</div>
</div>
</div>
</section>
<!--main-section team-end-->
<!-- Contact Form Start -->
<div class="container" id="contact-container">
<section class="main-section contact" id="contact">
<h2>Contact</h2>
<h6>Found a bug? Do you use React Sight in your workflow? We'd love to hear what you think!</h6>
<div class="row" style="max-width: 600px; margin: 0 auto;">
<div class="form">
<div id="sendmessage">Your message has been sent. Thank you!</div>
<div id="errormessage"></div>
<form method="POST" action="https://formspree.io/[email protected]">
<div class="form-group">
<input type="text" name="name" class="form-control input-text" id="name" placeholder="Your Name" data-rule="minlen:4" data-msg="Please enter at least 4 chars"
/>
<div class="validation"></div>
</div>
<div class="form-group">
<input type="email" class="form-control input-text" name="email" id="email" placeholder="Your Email" data-rule="email" data-msg="Please enter a valid email"
/>
<div class="validation"></div>
</div>
<div class="form-group">
<input type="text" class="form-control input-text" name="subject" id="subject" placeholder="Subject" data-rule="minlen:4"
data-msg="Please enter at least 8 chars of subject" />
<div class="validation"></div>
</div>
<div class="form-group">
<textarea class="form-control input-text text-area" name="message" rows="5" data-rule="required" data-msg="Please write something for us"
placeholder="Message"></textarea>
<div class="validation"></div>
</div>
<div class="text-center">
<button type="submit" class="input-btn">
Send Message
</button>
</div>
</form>
</div>
</div>
</section>
</div>
<!-- Contact Form End -->
<!-- Typing Section Begin -->
<section class="typing">
<div class='console-container'>
<span id='text'></span>
<div class='console-underscore' id='console'>_</div>
</div>
</section>
<!-- Typing Section End -->
<script type="text/javascript" src="build/bundle.js"></script>
<script type="text/javascript">
$(document).ready(function (e) {
$('#test').scrollToFixed();
$('.res-nav_click').click(function () {
$('.main-nav').slideToggle();
return false
});
});
</script>
<script>
wow = new WOW(
{
animateClass: 'animated',
offset: 100
}
);
wow.init();
</script>
<script type="text/javascript">
$(window).load(function () {
$('.main-nav li a, .servicelink').bind('click', function (event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top - 102
}, 1500, 'easeInOutExpo');
/*
if you don't want to use the easing effects:
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1000);
*/
if ($(window).width() < 768) {
$('.main-nav').hide();
}
event.preventDefault();
});
})
</script>
<script type="text/javascript">
$(window).load(function () {
var $container = $('.portfolioContainer'),
$body = $('body'),
colW = 375,
columns = null;
$container.isotope({
// disable window resizing
resizable: true,
masonry: {
columnWidth: colW
}
});
$(window).smartresize(function () {
// check if columns has changed
var currentColumns = Math.floor(($body.width() - 30) / colW);
if (currentColumns !== columns) {
// set new column count
columns = currentColumns;
// apply width to container manually, then trigger relayout
$container.width(columns * colW)
.isotope('reLayout');
}
}).smartresize(); // trigger resize to set container width
$('.portfolioFilter a').click(function () {
$('.portfolioFilter .current').removeClass('current');
$(this).addClass('current');
var selector = $(this).attr('data-filter');
$container.isotope({
filter: selector,
});
return false;
});
});
</script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src='./js/typing.js'></script>
</body>
</html>