-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
418 lines (322 loc) · 18.5 KB
/
index.hbs
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
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
<header class="site-home-header">
{{> header-background [email protected]_image}}
{{!--Special header-image.hbs partial to generate the background image--}}
<div class="inner">
{{> "site-nav"}}
<div class="site-header-content">
<h1 class="site-title">
{{#if @site.logo}}
<img class="site-logo" src="{{img_url @site.logo size="l"}}" alt="{{@site.title}}" />
{{else}}
{{@site.title}}
{{/if}}
</h1>
<h2 class="site-description">{{@site.description}}</h2>
</div>
</div>
</div>
</header>
{{!-- The main content area --}}
<main id="site-main" class="site-main outer">
<div class="inner posts">
<div class="post-feed">
<article class="post-card post tag-getting-started post-card-large">
<a class="post-card-image-link" href="/ipfs/">
<img class="post-card-image" srcset="https://i.pinimg.com/originals/f8/56/0b/f8560bbec7c9c4b8916a61068c05a3dc.png 300w,
https://i.pinimg.com/originals/f8/56/0b/f8560bbec7c9c4b8916a61068c05a3dc.png 600w,
https://i.pinimg.com/originals/f8/56/0b/f8560bbec7c9c4b8916a61068c05a3dc.png 1000w,
https://i.pinimg.com/originals/f8/56/0b/f8560bbec7c9c4b8916a61068c05a3dc.png 2000w"
sizes="(max-width: 1000px) 400px, 700px"
src="https://i.pinimg.com/originals/f8/56/0b/f8560bbec7c9c4b8916a61068c05a3dc.png"
alt="IPFS: Complete Guide">
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/ipfs/">
<header class="post-card-header">
<div class="post-card-primary-tag">Complete Guide</div>
<h2 class="post-card-title">IPFS: Complete Guide</h2>
</header>
<section class="post-card-excerpt">
<p>Whether you’re just learning how to build peer-to-peer systems with ipfs, want to dive
into peer-to-peer concepts and
solutions, or are looking for ready-to-use examples, this is the place to start.</p>
</section>
</a>
<footer class="post-card-meta">
<ul class="author-list">
<li class="author-list-item">
<div class="author-name-tooltip">
Vaibhav Saini
</div>
<a href="/author/vasa/" class="static-avatar">
<img class="author-profile-image" src="/content/images/2019/12/profile_med.jpeg"
alt="Vaibhav Saini">
</a>
</li>
</ul>
<div class="post-card-byline-content">
<span><a href="/author/vasa/">Vaibhav Saini</a></span>
<span class="post-card-byline-date"><time datetime="2018-08-20">20 Aug 2018</time>
</div>
</footer>
</div>
</article>
<article class="post-card post tag-getting-started ">
<a class="post-card-image-link" href="/libp2p/">
<img class="post-card-image" srcset="https://i.pinimg.com/originals/39/a0/7f/39a07ff01316d85abebe323d43bdbbd9.png 300w,
https://i.pinimg.com/originals/39/a0/7f/39a07ff01316d85abebe323d43bdbbd9.png 600w,
https://i.pinimg.com/originals/39/a0/7f/39a07ff01316d85abebe323d43bdbbd9.png 1000w,
https://i.pinimg.com/originals/39/a0/7f/39a07ff01316d85abebe323d43bdbbd9.png 2000w"
sizes="(max-width: 1000px) 400px, 700px"
src="https://i.pinimg.com/originals/39/a0/7f/39a07ff01316d85abebe323d43bdbbd9.png"
alt="Libp2p: Complete Guide">
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/libp2p/">
<header class="post-card-header">
<div class="post-card-primary-tag">Complete Guide</div>
<h2 class="post-card-title">Libp2p: Complete Guide</h2>
</header>
<section class="post-card-excerpt">
<p>Whether you’re just learning how to build peer-to-peer systems with libp2p, want to dive
into peer-to-peer concepts and
solutions, or are looking for ready-to-use examples, this is the place to start.</p>
</section>
</a>
<footer class="post-card-meta">
<ul class="author-list">
<li class="author-list-item">
<div class="author-name-tooltip">
Vaibhav Saini
</div>
<a href="/author/vasa/" class="static-avatar">
<img class="author-profile-image" src="/content/images/2019/12/profile_med.jpeg"
alt="Vaibhav Saini">
</a>
</li>
</ul>
<div class="post-card-byline-content">
<span><a href="/author/vasa/">Vaibhav Saini</a></span>
<span class="post-card-byline-date"><time datetime="2018-08-20">20 Aug 2018</time>
</div>
</footer>
</div>
</article>
<article class="post-card post tag-getting-started ">
<a class="post-card-image-link" href="/ipld/">
<img class="post-card-image" srcset="https://i.pinimg.com/originals/f0/34/18/f03418e7db1f5999aa3b91df65e46fe8.png 300w,
https://i.pinimg.com/originals/f0/34/18/f03418e7db1f5999aa3b91df65e46fe8.png 600w,
https://i.pinimg.com/originals/f0/34/18/f03418e7db1f5999aa3b91df65e46fe8.png 1000w,
https://i.pinimg.com/originals/f0/34/18/f03418e7db1f5999aa3b91df65e46fe8.png 2000w"
sizes="(max-width: 1000px) 400px, 700px"
src="https://i.pinimg.com/originals/f0/34/18/f03418e7db1f5999aa3b91df65e46fe8.png"
alt="IPLD: Complete Guide">
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/ipld/">
<header class="post-card-header">
<div class="post-card-primary-tag">Complete Guide</div>
<h2 class="post-card-title">IPLD: Complete Guide</h2>
</header>
<section class="post-card-excerpt">
<p>Whether you’re just learning to use data model of the content-addressable web with IPLD,
want to dive into DAG concepts
, or are looking for ready-to-use IPLD examples, this is the place to start.</p>
</section>
</a>
<footer class="post-card-meta">
<ul class="author-list">
<li class="author-list-item">
<div class="author-name-tooltip">
Vaibhav Saini
</div>
<a href="/author/vasa/" class="static-avatar">
<img class="author-profile-image" src="/content/images/2019/12/profile_med.jpeg"
alt="Vaibhav Saini">
</a>
</li>
</ul>
<div class="post-card-byline-content">
<span><a href="/author/vasa/">Vaibhav Saini</a></span>
<span class="post-card-byline-date"><time datetime="2018-08-20">20 Aug 2018</time>
</div>
</footer>
</div>
</article>
<article class="post-card post tag-getting-started ">
<a class="post-card-image-link" href="/ipfs-cluster/">
<img class="post-card-image" srcset="https://i.pinimg.com/originals/aa/45/f7/aa45f766e735aafdf35fb22899fc4d15.png 300w,
https://i.pinimg.com/originals/aa/45/f7/aa45f766e735aafdf35fb22899fc4d15.png 600w,
https://i.pinimg.com/originals/aa/45/f7/aa45f766e735aafdf35fb22899fc4d15.png 1000w,
https://i.pinimg.com/originals/aa/45/f7/aa45f766e735aafdf35fb22899fc4d15.png 2000w"
sizes="(max-width: 1000px) 400px, 700px"
src="https://i.pinimg.com/originals/aa/45/f7/aa45f766e735aafdf35fb22899fc4d15.png"
alt="IPFS Cluster: Complete Guide">
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/ipfs-cluster/">
<header class="post-card-header">
<div class="post-card-primary-tag">Complete Guide</div>
<h2 class="post-card-title">IPFS Cluster: Complete Guide</h2>
</header>
<section class="post-card-excerpt">
<p>Whether you’re just looking to use IPFS for production systems, want to dive into how to
manage multiple ipfs nodes, or
are looking for ready-to-use examples, this is the place to start.</p>
</section>
</a>
<footer class="post-card-meta">
<ul class="author-list">
<li class="author-list-item">
<div class="author-name-tooltip">
Vaibhav Saini
</div>
<a href="/author/vasa/" class="static-avatar">
<img class="author-profile-image" src="/content/images/2019/12/profile_med.jpeg"
alt="Vaibhav Saini">
</a>
</li>
</ul>
<div class="post-card-byline-content">
<span><a href="/author/vasa/">Vaibhav Saini</a></span>
<span class="post-card-byline-date"><time datetime="2018-08-20">20 Aug 2018</time>
</div>
</footer>
</div>
</article>
<article class="post-card post tag-getting-started ">
<a class="post-card-image-link" href="/multiformats/">
<img class="post-card-image" srcset="https://i.pinimg.com/originals/c0/06/04/c0060434a0c90d3f20afac1126c72943.png 300w,
https://i.pinimg.com/originals/c0/06/04/c0060434a0c90d3f20afac1126c72943.png 600w,
https://i.pinimg.com/originals/c0/06/04/c0060434a0c90d3f20afac1126c72943.png 1000w,
https://i.pinimg.com/originals/c0/06/04/c0060434a0c90d3f20afac1126c72943.png 2000w"
sizes="(max-width: 1000px) 400px, 700px"
src="https://i.pinimg.com/originals/c0/06/04/c0060434a0c90d3f20afac1126c72943.png"
alt="Multiformats: Complete Guide">
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/multiformats/">
<header class="post-card-header">
<div class="post-card-primary-tag">Complete Guide</div>
<h2 class="post-card-title">Multiformats: Complete Guide</h2>
</header>
<section class="post-card-excerpt">
<p>Whether you’re just learning how to build future-proof systems with Multiformats, want to
dive into future-proofing
concepts, or are looking examples for Multiformat protocols, this is the place to start.
</p>
</section>
</a>
<footer class="post-card-meta">
<ul class="author-list">
<li class="author-list-item">
<div class="author-name-tooltip">
Vaibhav Saini
</div>
<a href="/author/vasa/" class="static-avatar">
<img class="author-profile-image" src="/content/images/2019/12/profile_med.jpeg"
alt="Vaibhav Saini">
</a>
</li>
</ul>
<div class="post-card-byline-content">
<span><a href="/author/vasa/">Vaibhav Saini</a></span>
<span class="post-card-byline-date"><time datetime="2018-08-20">20 Aug 2018</time>
</div>
</footer>
</div>
</article>
<article class="post-card post tag-getting-started ">
<a class="post-card-image-link" href="/filecoin/">
<img class="post-card-image" srcset="https://i.pinimg.com/originals/5a/6f/a0/5a6fa08b466a7d28761548554f424137.png 300w,
https://i.pinimg.com/originals/5a/6f/a0/5a6fa08b466a7d28761548554f424137.png 600w,
https://i.pinimg.com/originals/5a/6f/a0/5a6fa08b466a7d28761548554f424137.png 1000w,
https://i.pinimg.com/originals/5a/6f/a0/5a6fa08b466a7d28761548554f424137.png 2000w"
sizes="(max-width: 1000px) 400px, 700px"
src="https://i.pinimg.com/originals/5a/6f/a0/5a6fa08b466a7d28761548554f424137.png"
alt="Filecoin: Complete Guide">
</a>
<div class="post-card-content">
<a class="post-card-content-link" href="/filecoin/">
<header class="post-card-header">
<div class="post-card-primary-tag">Complete Guide</div>
<h2 class="post-card-title">Filecoin: Complete Guide</h2>
</header>
<section class="post-card-excerpt">
<p>Whether you’re just learning how to build and use your own decentralised storage market
place, want to dive into how it
works, or are looking examples for how to use Filecoin, this is the place to start.</p>
</section>
</a>
<footer class="post-card-meta">
<ul class="author-list">
<li class="author-list-item">
<div class="author-name-tooltip">
Vaibhav Saini
</div>
<a href="/author/vasa/" class="static-avatar">
<img class="author-profile-image" src="/content/images/2019/12/profile_med.jpeg"
alt="Vaibhav Saini">
</a>
</li>
</ul>
<div class="post-card-byline-content">
<span><a href="/author/vasa/">Vaibhav Saini</a></span>
<span class="post-card-byline-date"><time datetime="2018-08-20">20 Aug 2018</time>
</div>
</footer>
</div>
</article>
</div>
</div>
</main>
{{> site-header}}
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}}
{{#contentFor "scripts"}}
<script>
// NOTE: Scroll performance is poor in Safari
// - this appears to be due to the events firing much more slowly in Safari.
// Dropping the scroll event and using only a raf loop results in smoother
// scrolling but continuous processing even when not scrolling
$(document).ready(function () {
var nav = document.querySelector('.site-nav-main .site-nav');
var feed = document.querySelector('.post-feed');
var lastScrollY = window.scrollY;
var lastWindowHeight = window.innerHeight;
var lastDocumentHeight = $(document).height();
var ticking = false;
function onScroll() {
lastScrollY = window.scrollY;
requestTick();
}
function onResize() {
lastWindowHeight = window.innerHeight;
lastDocumentHeight = $(document).height();
requestTick();
}
function requestTick() {
if (!ticking) {
requestAnimationFrame(update);
}
ticking = true;
}
function update() {
var trigger = feed.getBoundingClientRect().top + window.scrollY;
var progressMax = lastDocumentHeight - lastWindowHeight;
// show/hide nav
if (lastScrollY >= trigger - 20) {
nav.classList.add('fixed-nav-active');
} else {
nav.classList.remove('fixed-nav-active');
}
ticking = false;
}
window.addEventListener('scroll', onScroll, { passive: true });
window.addEventListener('resize', onResize, false);
update();
});
</script>
{{/contentFor}}