-
Notifications
You must be signed in to change notification settings - Fork 8
/
swipetest.html
238 lines (233 loc) · 11.6 KB
/
swipetest.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
<link rel="stylesheet" type="text/css" href="bower_components/Swiper/dist/css/swiper.min.css">
<link rel="stylesheet" type="text/css" href="gun_dev.css">
<script type="text/javascript" charset="utf-8" src="https://animate.adobe.com/runtime/6.0.0/edge.6.0.0.min.js"></script>
<style>
.edgeLoad-realtime { visibility:hidden; }
.edgeLoad-distributed { visibility:hidden; }
.edgeLoad-offline { visibility:hidden; }
.edgeLoad-graph { visibility:hidden; }
</style>
<script>
AdobeEdge.loadComposition('realtime', 'realtime', {
scaleToFit: "width",
centerRealTime: "none",
minW: "320px",
maxW: "2560px",
width: "1280px",
height: "800px"
}, {"dom":{}}, {"dom":{}});
AdobeEdge.loadComposition('distributed', 'distributed', {
scaleToFit: "width",
centerStage: "none",
minW: "320px",
maxW: "2560px",
width: "1280px",
height: "800px"
}, {"dom":{}}, {"dom":{}});
AdobeEdge.loadComposition('offline', 'offline', {
scaleToFit: "width",
centerOffline: "none",
minW: "320px",
maxW: "2560px",
width: "1280px",
height: "800px"
}, {"dom":{}}, {"dom":{}});
AdobeEdge.loadComposition('graph', 'graph', {
scaleToFit: "width",
centerGraph: "none",
minW: "320px",
maxW: "2560px",
width: "1280px",
height: "800px"
}, {"dom":{}}, {"dom":{}});
</script>
<div class="swiper-container" style="background: grey;">
<div class="swiper-wrapper">
<div class="swiper-slide red">
<div class="content">
<h1>Realtime</h1>
<p>It may be trivial to get realtime updates with socket.io or something, but what you do not get is state synchronization. GUN does this for you out of the box, assuring that two users' simultaneous updates won't concurrently break each other.</p>
</div>
<!-- REAL TIME ANIMATION STARTS -->
<div class="aniHolder">
<div id="RealTime" class="realtime">
<div id="RealTime_iMac2" class="edgeLoad-realtime">
<div id="RealTime_iMac2_RoundRect"></div>
<div id="RealTime_iMac2_Rectangle4"></div>
<div id="RealTime_iMac2_Ellipse"></div>
<div id="RealTime_iMac2_Rectangle3"></div>
<div id="RealTime_iMac2_Rectangle2"></div>
<div id="RealTime_iMac2_Rectangle"></div>
<div id="RealTime_iMac2_Pasted2"></div>
</div>
<div id="RealTime_iMac3" class="edgeLoad-realtime">
<div id="RealTime_iMac3_RoundRect"></div>
<div id="RealTime_iMac3_Rectangle4"></div>
<div id="RealTime_iMac3_Ellipse"></div>
<div id="RealTime_iMac3_Rectangle3"></div>
<div id="RealTime_iMac3_Rectangle2"></div>
<div id="RealTime_iMac3_Rectangle"></div>
<div id="RealTime_iMac3_Pasted2"></div>
</div>
</div>
</div>
<!-- REAL TIME ANIMATION ENDS -->
</div>
<div class="swiper-slide blue">
<div class="content">
<h1>Distributed</h1>
<p>GUN is peer-to-peer by design, meaning you have no centralized database server to maintain or that could crash. This lets you sleep through the night without worrying about database DevOps - we call this "NoDB". From that, you can build decentralized, federated, or centralized apps.</p>
</div>
<!-- DISTRIBUTED ANIMATION BEGINS -->
<div class="aniHolder">
<div id="Dist" class="distributed">
<div id="Dist_Rectangle10" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle11" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle9" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle8" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle7" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle6" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle5" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle4Copy2" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle4Copy" class="edgeLoad-distributed"></div>
<div id="Dist_Rectangle4" class="edgeLoad-distributed"></div>
<div id="Dist_imac" class="edgeLoad-distributed"></div>
<div id="Dist_screen" class="edgeLoad-distributed">
<div id="Dist_screen_Ellipse2"></div>
<div id="Dist_screen_Ellipse"></div>
<div id="Dist_screen_Rectangle3"></div>
<div id="Dist_screen_Rectangle2Copy"></div>
<div id="Dist_screen_Rectangle2"></div>
<div id="Dist_screen_Rectangle"></div>
</div>
<div id="Dist_Pasted32" class="edgeLoad-distributed"></div>
<div id="Dist_Pasted42" class="edgeLoad-distributed"></div>
<div id="Dist_screen2" class="edgeLoad-distributed">
<div id="Dist_screen2_Ellipse2"></div>
<div id="Dist_screen2_Ellipse"></div>
<div id="Dist_screen2_Rectangle3"></div>
<div id="Dist_screen2_Rectangle2Copy"></div>
<div id="Dist_screen2_Rectangle2"></div>
<div id="Dist_screen2_Rectangle"></div>
</div>
<div id="Dist_Pasted63" class="edgeLoad-distributed"></div>
<div id="Dist_Pasted43" class="edgeLoad-distributed"></div>
<div id="Dist_screen5" class="edgeLoad-distributed">
<div id="Dist_screen5_Ellipse2"></div>
<div id="Dist_screen5_Ellipse"></div>
<div id="Dist_screen5_Rectangle3"></div>
<div id="Dist_screen5_Rectangle2Copy"></div>
<div id="Dist_screen5_Rectangle2"></div>
<div id="Dist_screen5_Rectangle"></div>
</div>
<div id="Dist_screen6" class="edgeLoad-distributed">
<div id="Dist_screen6_Ellipse2"></div>
<div id="Dist_screen6_Ellipse"></div>
<div id="Dist_screen6_Rectangle3"></div>
<div id="Dist_screen6_Rectangle2Copy"></div>
<div id="Dist_screen6_Rectangle2"></div>
<div id="Dist_screen6_Rectangle"></div>
</div>
<div id="Dist_Pasted7" class="edgeLoad-distributed"></div>
<div id="Dist_Pasted3" class="edgeLoad-distributed"></div>
</div>
</div>
<!-- DISTRIBUTED ANIMATION ENDS -->
</div>
<div class="swiper-slide green">
<div class="content">
<h1>Offline-first</h1>
<p>GUN works even if your internet or cell reception doesn't. Users can still plug away and save data as normal, and then when the network comes back online GUN will automatically synchronize all the changes and handle any conflicts for you.</p>
</div>
<!-- OFFLINE ANIMATION STARTS -->
<div class="aniHolder">
<div id="Offline" class="offline">
<div id="Offline_tablet" class="edgeLoad-offline"></div>
<div id="Offline_laptop" class="edgeLoad-offline"></div>
<div id="Offline_Rectangle" class="edgeLoad-offline"></div>
<div id="Offline_Rectangle2" class="edgeLoad-offline"></div>
<div id="Offline_circle_cont" class="edgeLoad-offline">
<div id="Offline_circle" class="edgeLoad-offline"></div>
</div>
<div id="Offline_bigger_screen" class="edgeLoad-offline"></div>
<div id="Offline_Rectangle2Copy" class="edgeLoad-offline"></div>
<div id="Offline_circle_contCopy" class="edgeLoad-offline">
<div id="Offline_circleCopy2" class="edgeLoad-offline"></div>
</div>
<div id="Offline_hand" class="edgeLoad-offline"></div>
<div id="Offline_circleCopy2" class="edgeLoad-offline"></div>
<div id="Offline_Pasted9" class="edgeLoad-offline"></div>
<div id="Offline_Pasted9Copy" class="edgeLoad-offline"></div>
<div id="Offline_cross2" class="edgeLoad-offline">
<div id="Offline_cross2_cross"></div>
</div>
</div>
</div>
<!-- OFFLINE ANIMATION ENDS -->
</div>
<div class="swiper-slide yellow">
<div class="content">
<h1>Graph</h1>
<p>Most databases force you to bend over backwards to match their storage constraints. But graphs are different, they let you have any data structure you want. Whether that be traditional tables with relations, document oriented trees, or tons of circular references. You choose.</p>
</div>
<!-- GRAPH ANIMATION STARTS -->
<div class="aniHolder">
<div id="Graph" class="graph">
<div id="Graph_arrow9" class="edgeLoad-graph">
<div id="Graph_arrow9_Pasted3"></div>
</div>
<div id="Graph_arrow5Copy" class="edgeLoad-graph">
<div id="Graph_arrow5Copy_Pasted3"></div>
</div>
<div id="Graph_arrow5Copy2" class="edgeLoad-graph">
<div id="Graph_arrow5Copy2_Pasted3"></div>
</div>
<div id="Graph_arrow5" class="edgeLoad-graph">
<div id="Graph_arrow5_Pasted3"></div>
</div>
<div id="Graph_arrow6" class="edgeLoad-graph">
<div id="Graph_arrow6_Pasted3"></div>
</div>
<div id="Graph_arrow7" class="edgeLoad-graph">
<div id="Graph_arrow7_Pasted3"></div>
</div>
<div id="Graph_arrow13" class="edgeLoad-graph">
<div id="Graph_arrow13_Pasted3"></div>
</div>
<div id="Graph_arrow14" class="edgeLoad-graph">
<div id="Graph_arrow14_Pasted3"></div>
</div>
<div id="Graph_Rectangle" class="edgeLoad-graph"></div>
<div id="Graph_RectangleCopy" class="edgeLoad-graph"></div>
<div id="Graph_RectangleCopy6" class="edgeLoad-graph"></div>
<div id="Graph_RectangleCopy2" class="edgeLoad-graph"></div>
<div id="Graph_RectangleCopy3" class="edgeLoad-graph"></div>
<div id="Graph_RectangleCopy4" class="edgeLoad-graph"></div>
<div id="Graph_RectangleCopy5" class="edgeLoad-graph"></div>
<div id="Graph_Rectangle2Copy4" class="edgeLoad-graph"></div>
<div id="Graph_Rectangle2Copy5" class="edgeLoad-graph"></div>
<div id="Graph_Rectangle2Copy2" class="edgeLoad-graph"></div>
<div id="Graph_Rectangle2Copy3" class="edgeLoad-graph"></div>
<div id="Graph_Rectangle3" class="edgeLoad-graph"></div>
<div id="Graph_key3" class="edgeLoad-graph">
<div id="Graph_key3_Pasted5"></div>
</div>
<div id="Graph_Ellipse" class="edgeLoad-graph"></div>
</div>
</div>
<!-- GRAPH ANIMATION ENDS -->
</div>
</div>
<div class="swiper-pagination swiper-pagination-white"></div>
<div class="swiper-button-prev swiper-button-white"></div>
<div class="swiper-button-next swiper-button-white"></div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
<script type="text/javascript" src="bower_components/Swiper/dist/js/swiper.jquery.min.js"></script>
<script type="text/javascript" src="dev_ani_edge.js"></script>
<script type="text/javascript" src="realtime_edge.js"></script>
<script type="text/javascript" src="distributed_edge.js"></script>
<script type="text/javascript" src="offline_edge.js"></script>
<script type="text/javascript" src="graph_edge.js"></script>
<script type="text/javascript" src="gun_dev.js"></script>