forked from techlore/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupport.html
478 lines (443 loc) · 16.6 KB
/
support.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
<!DOCTYPE HTML>
<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="msapplication-TileColor" content="#000000">
<meta name="theme-color" content="#000">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<!-- Attempted Link Previews -->
<meta property="og:image" content="/assets/techlorePreview.png" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://techlore.tech/support"/>
<meta property="og:title" content="Techlore: Spreading Privacy To The Masses" />
<meta property="og:description" content="Methods of supporting Techlore for our mission in spreading privacy to the masses."/>
<link rel="stylesheet" href="assets/css/style.css?t=125" type="text/css">
<title> Techlore | Support </title>
<meta name="title" content="Techlore: Spreading Privacy To The Masses">
<meta name="description"
content="Methods of supporting Techlore for our mission in spreading privacy to the masses." />
<!-- Google / Search Engine Tags -->
<meta itemprop="name" content=" Techlore | Support ">
<meta itemprop="description"
content="Methods of supporting Techlore for our mission in spreading privacy to the masses.">
<meta itemprop="image" content="./assets/svg/logo_v2.svg"><!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content=" Techlore | Spreading Privacy To The Masses ">
<meta name="twitter:description"
content="Methods of supporting Techlore for our mission in spreading privacy to the masses.">
<meta name="twitter:image" content="./assets/svg/logo_v2.svg">
<base target="_blank">
<style>
body {
background-image: linear-gradient(to left, #0a4c6d, #00607b, #007581, #00887f, #369a77);
}
.bl>li,
.bl {
margin: 2rem 0;
}
/* ------------------- Code ------------------- */
.code {
border-left: 0.3rem solid #0074D9;
background-color: #000000;
margin: 0.5rem 0rem;
overflow-y: hidden;
padding: 0.5rem;
width: 100%;
max-width: 280px;
overflow-wrap: anywhere;
overflow: auto;
border-radius: 0.3rem;
}
.carousel-wrapper {
border-radius: .3rem;
margin-top: 2rem !important;
}
.carousel-wrapper h2 {
padding-top: 1rem;
}
.carousel {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.slide-item {
opacity: 0;
position: absolute;
top: 0;
width: 100%;
margin: auto;
padding: 1rem 4rem;
z-index: -10;
transition: transform .5s, opacity .5s, z-index .5s;
}
.slide-item.initial,
.slide-item.active {
opacity: 1;
z-index: 0;
position: relative;
}
/* Set 'z-index' to sit behind our '.active' item. */
.slide-item.prev,
.slide-item.next {
z-index: 800;
}
/* Translate previous item to the left */
.slide-item.prev {
transform: translateX(-100%);
}
/* Translate next item to the right */
.slide-item.next {
transform: translateX(100%);
}
/* Style navigation buttons to sit in the middle, either side of the carousel. */
.slide-prev,
.slide-next {
position: absolute;
top: 50%;
width: 3rem;
height: 3rem;
background-color: #FFF;
transform: translateY(-50%);
border-radius: 50%;
cursor: pointer;
z-index: 1001;
/* Sit on top of everything */
border: 1px solid black;
/* opacity: 0; Hide buttons until carousel is initialised
transition:opacity 1s;*/
}
.slide-prev {
left: 5px;
}
.slide-next {
right: 5px;
}
/* Use pseudo elements to insert arrows inside of navigation buttons */
.slide-prev::after,
.slide-next::after {
content: " ";
position: absolute;
width: 10px;
height: 10px;
top: 50%;
left: 54%;
border-right: 2px solid black;
border-bottom: 2px solid black;
transform: translate(-50%, -50%) rotate(135deg);
}
.slide-next::after {
left: 47%;
transform: translate(-50%, -50%) rotate(-45deg);
}
.card-user {
display: block;
text-align: center;
background: black;
height: 100%;
margin: 0;
padding: .5rem 1rem 0.5rem;
border-radius: 0.3rem;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
.card-user>h4 {
height: 56px;
}
@media (max-width: 1229px) {
.slide-item {
padding: 1rem 4rem !important;
}
}
</style>
<noscript>
<style>
[class*=_aos],
._aos {
opacity: 1 !important;
transform: translate3d(0px, 0px, 0px) !important;
}
</style>
</noscript>
</head>
<body id="support" class="page">
<nav>
<div class="logo-container">
<a href="./index" target="_self"><img alt="techlore-logo" class="logo" src="assets/svg/logo.svg"></a>
</div>
<input type="checkbox" id="menu-btn" />
<label for="menu-btn"><span></span></label>
<ul>
<li><a target="_self" href="./index">Home</a></li>
<li><a target="_self" href="./about">About</a></li>
<li><a target="_self" href="./videos"> Videos </a></li>
<li><a target="_self" href="./goincognito">Go Incognito</a></li>
<li><a target="_self" href="./support">Support Us</a></li>
<li>
<a class="drop" target="_self" href="./resources">Resources</a>
<ul>
<li><a target="_self" href="./resources">All Resources</a></li>
<li><a href="./spa">SPA Quiz</a></li>
<li><a href="./vpn">VPN Toolkit</a></li>
<li><a href="https://plexus.techlore.tech">Plexus</a></li>
</ul>
</li>
<li><a target="_self" href="./contact">Contact</a></li>
<li class="social-cnt">
<div><a href="https://github.com/techlore" target="_blank" rel="me"><img alt="github"
src="assets/svg/github.svg"></a>
</div>
<div><a href="https://www.patreon.com/techlore" target="_blank" rel="me"><img alt="patreon"
src="assets/svg/patreon.svg"></a>
</div>
<div><a href="https://twitter.com/techloreistaken" target="_blank" rel="me"><img alt="twitter"
src="assets/svg/twitter.svg"></a>
</div>
<div><a href="https://mastodon.social/@techlore" target="_blank" rel="me"><img alt="mastodon"
src="assets/svg/mastodon.svg"></a>
</div>
<div><a href="https://discord.gg/9V5xhJm9ZS" target="_blank" rel="me"><img alt="discord"
src="assets/svg/discord.svg"></a>
</div>
<div><a href="https://matrix.to/#/#techlore:matrix.org" target="_blank" rel="me"><img alt="matrix"
src="assets/svg/matrix.svg"></a>
</div>
</li>
</ul>
</nav>
<svg viewBox="0 0 120 20" class="wavet">
<path class="wave"
d="M 0 0 v 6 C 30 6 30 10 60 10 C 91 10 90 6 120 6 C 150 6 150 10 180 10 C 210 10 210 6 240 6 v -6 h -240 z" />
</svg>
<main class="_pt0">
<div class="grid">
<div>
<div class="carousel-wrapper _bg-black-t _aos">
<h2 class="_centered">Our Top Supporters <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="feather feather-heart">
<path
d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z">
</path>
</svg></h2>
<h6 class="_centered"><i>Join our top <a href="https://patreon.com/techlore">Patreon tier </a>to appear here!</i></h6>
<div class="carousel" id="slider">
</div>
</div>
</div>
<div>
<div class="card _bg-black-t _aos-right">
<h1 class="_centered">Free Support Methods</h1>
<ul class="bl">
<li>
Shop as you normally would after using one of our opt-in affiliate links:
<div class="links">
<a href="./affiliations" target="_self">Techlore Affiliations</a>
</div>
</li>
<li>
We always need contributors for Plexus, the VPN Toolkit, and more! <a href="https://github.com/techlore">Contribute to one of our projects on GitHub. </a>
</li>
<li>
Connect with our communities<br>
<ul class="social-icons _bg-black">
<li>
<a href="https://twitter.com/techloreistaken" target="_blank"><img class="social"
src="assets/svg/twitter.svg"></a>
</li>
<li>
<a href="https://mastodon.social/@techlore" target="_blank"><img class="social"
src="assets/svg/mastodon.svg"></a>
</li>
<li>
<a href="https://discord.gg/9V5xhJm9ZS" target="_blank"><img
src="assets/svg/discord.svg" /></a>
</li>
<li>
<a href="https://matrix.to/#/@techlore:matrix.org" target="_blank"><img
src="assets/svg/matrix.svg" /></a>
</li>
</ul>
</li>
<li>
Share Techlore with your friends and family, we rely on word of mouth & no traditional marketing! ♥
</li>
</ul>
</div>
</div>
<div>
<div class="card _bg-black-t _aos-left">
<h1 class="_centered">Paid Support
Methods</h1>
<ul class="bl">
<li>
Join our Patreon where you support our work for exclusive monthly benefits:
<div class="links">
<a href="https://www.patreon.com/techlore">Patreon</a>
</div>
</li>
<li>
We don't love PayPal, but it's a one-time support method for those who dislike subscriptions, but love what we do. <i>(No PayPal account required)</i>
<div class="links">
<a href="https://www.paypal.com/donate?hosted_button_id=B3GU7WNGBGQ4J">PayPal</a>
</div>
</li>
<li>
Shop from our Privacy Shop - a place for you to spread privacy & security to the people around you.
<div class="links">
<a href="https://shop.techlore.tech/">Privacy Shop</a>
</div>
</li>
<li>
Tip us with BAT. If you’re using Brave, you can tip from any of the following locations:
<div class="links">
<a href="https://www.youtube.com/channel/UCs6KfncB4OV6Vug4o_bzijg">YouTube</a>
<a href="https://techlore.tech">Website</a>
<a href="https://twitter.com/techloreistaken">Twitter</a>
</div>
</li>
<li>
Directly donating via Monero:
<br><br>
<img src="assets/techloreXMR.png" alt="Techlore XMR Address"><br>
<div class="code">
49H4jTvUY5zaX8qLpVBstJFR7ayTMxxU3UyWpGqUoBM4UzM2zwUHA2sJ9i3AhQYdaqhFmS8PDfWKn1Tea4SKU6haMTXG8qD
</div>
</li>
<li>
<h4> Our XMR OpenAlias: <div class="code"> [email protected]</div></h4>
</ul>
</div>
</div>
</div>
</main>
<svg viewBox="0 0 120 20">
<path class="wave"
d="M 0,10 C 30,10 30,15 60,15 90,15 90,10 120,10 150,10 150,15 180,15 210,15 210,10 240,10 v 28 h -240 z" />
</svg>
<footer>
<div class="col-3 _flex-center">
<a href="https://www.eff.org/">
<img alt="EFF 2022 Member" style="width:64px;height:64px;" src="assets/svg/effmember.svg">
</a>
<a href="https://directories.onepercentfortheplanet.org/profile/techlore">
<img alt="1Percent For The Planet Member" style="width:64px;height:64px;" src="assets/svg/1pmember.svg">
</a>
Copyright © Techlore, Inc. 2022 | <a target="_self" href="./privacy"> Privacy Policy</a></div></div>
</footer>
<div class="gt-link hide" id="gt-link">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6">
<path d="M12 6H0l6-6z" /></svg>
</a>
<script src="assets/javascript/script.js" type="text/javascript"></script>
<script src="assets/javascript/slider.js" type="text/javascript"></script>
<script>
//Function to generate gradient color
const random_gradient = () => {
var colorOne = {
R: Math.floor(Math.random() * 255),
G: Math.floor(Math.random() * 255),
B: Math.floor(Math.random() * 255)
};
var colorTwo = {
R: Math.floor(Math.random() * 255),
G: Math.floor(Math.random() * 255),
B: Math.floor(Math.random() * 255)
};
colorOne.rgb = 'rgb(' + colorOne.R + ',' + colorOne.G + ',' + colorOne.B + ')';
colorTwo.rgb = 'rgb(' + colorTwo.R + ',' + colorTwo.G + ',' + colorTwo.B + ')';
return 'radial-gradient(at top left, ' + colorOne.rgb + ', ' + colorTwo.rgb + ')';
}
function shuffle(array) {
var currentIndex = array.length,
temporaryValue, randomIndex;
while (0 !== currentIndex) {
randomIndex = Math.floor(Math.random() * currentIndex);
currentIndex -= 1;
temporaryValue = array[currentIndex];
array[currentIndex] = array[randomIndex];
array[randomIndex] = temporaryValue;
}
return array;
}
function CSVToJSON(csvData) {
var data = CSVToArray(csvData);
var objData = [];
for (var i = 1; i < data.length; i++) {
objData[i - 1] = {};
for (var k = 0; k < data[0].length && k < data[i].length; k++) {
var key = data[0][k];
objData[i - 1][key] = data[i][k]
}
}
var jsonData = JSON.stringify(objData);
jsonData = jsonData.replace(/},/g, "},\r\n");
return jsonData;
}
function CSVToArray(csvData, delimiter) {
delimiter = (delimiter || ",");
var pattern = new RegExp((
"(\\" + delimiter + "|\\r?\\n|\\r|^)" +
"(?:\"([^\"]*(?:\"\"[^\"]*)*)\"|" +
"([^\"\\" + delimiter + "\\r\\n]*))"), "gi");
var data = [
[]
];
var matches = null;
while (matches = pattern.exec(csvData)) {
var matchedDelimiter = matches[1];
if (matchedDelimiter.length && (matchedDelimiter != delimiter)) {
data.push([]);
}
if (matches[2]) {
var matchedDelimiter = matches[2].replace(
new RegExp("\"\"", "g"), "\"");
} else {
var matchedDelimiter = matches[3];
}
data[data.length - 1].push(matchedDelimiter);
}
return (data);
}
//Get CSV data
var jsonData;
fetch(
"https://raw.githubusercontent.com/techlore-official/channel-content/master/Assets/TechlorePatrons.csv"
)
.then(response => response.text())
.then(text => {
//Use CSV text and convert to json
jsonData = JSON.parse(CSVToJSON(text));
jsonData.pop();
shuffle(jsonData);
var cntslider = document.getElementById("slider");
var finalstr = '';
var i, j, temparray, chunk = 4;
for (i = 0, j = jsonData.length; i < j; i += chunk) {
temparray = jsonData.slice(i, i + chunk);
finalstr += '<div class="slide-item"><div class="row">';
temparray.forEach((element) => {
finalstr += "<div><div class='card-user' style='background:" + random_gradient() + "'><h4>" +
element[
"Name"] + "</h4><hr>" +
element["Pledge"] + "</div></div>";
});
finalstr += "</div></div>";
}
finalstr += '<div class="slide-next"></div><div class="slide-prev"></div>';
cntslider.innerHTML = finalstr;
new Slider({
id: "slider"
});
});
$(document).ready(function () {
$('.menu-btn').on("click", () => {
$('nav').toggleClass("opened");
});
$().aos();
});
</script>
</body>
</html>