-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
519 lines (458 loc) · 16.5 KB
/
Copy pathindex.html
File metadata and controls
519 lines (458 loc) · 16.5 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- HolyClock.com <HEAD> code for tn2tn.github.io -->
<script>/*<![CDATA[*/_holyclock_id="d622d2a9997a0b9edf220b556c3a193c";_holyclock_tag='<s'+'cript src\x3d"//www.holyclock.com/holyclock.js?'+Math.floor(+new Date/864E5)+'">\x3c/script>';null!==document.cookie.match(/(?:^|;)\s*_holyclock_qr=\s*\w/)&&null===window.location.hash.match(/#holyclock=qr(?=#|$)/)&&document.write(_holyclock_tag);//]]></script>
<!-- HolyClock.com <HEAD> code for tn2tn.github.io -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home | Tn 2 Tn Network</title>
<link rel="icon" href="Tn 2 Tn.png" type="image/x-icon">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fontisto/3.0.4/css/fontisto/fontisto.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons+Round">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,-25">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0" />
<!--
- favicon
-->
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
<link rel="manifest" href="/favicon/site.webmanifest">
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#41494e">
<meta name="msapplication-TileColor" content="#ffc40d">
<meta name="theme-color" content="#ffffff">
<style>
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
background-color: #2c3e50;
border-radius: 5px;
}
:not(:hover)::-webkit-scrollbar-thumb {
background-color: transparent;
border: 1px solid #0000;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
html, body { height: 100%;}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #222;
color: #333;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.gallery-container {
width: 90%;
margin: 30px auto;
text-align: center;
animation: slideGoDown 2s ease-in forwards;
}
.gallery-title {
font-size: 2.5em;
color: #2c3e50;
margin-bottom: 20px;
}
.video-gallery {
display: flex;
gap: 20px;
padding: 20px;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.video-item {
position: relative;
background-color: #000;
color: white;
border-radius: 8px;
overflow: visible;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
cursor: pointer;
width: 275px;
margin-bottom: 30px;
}
.video-item:hover {
transform: translateX(5px);
}
.video-item:hover .thumbnail {
transform: scale(0.9);
}
.thumbnail {
width: 100%;
object-fit: cover;
border-radius: 8px;
padding-bottom: 30px;
mask-image: radial-gradient(black 30%, transparent 90%);
transition: transform 0.5s ease;
}
.video-overlay {
position: absolute;
bottom: -40px;
left: 20px;
z-index: 10;
text-align: left;
}
.video-date {
font-size: 0.9em;
color: #b0bec5;
}
.video-title {
font-size: 1.2em;
color: #fff;
margin: 10px 0;
}
.video-org {
font-size: 1em;
color: #b0bec5;
}
.play-icon-container {
position: absolute;
bottom: -20px;
right: 10px;
width: 50px;
height: 50px;
cursor: pointer;
z-index: 20;
}
.play-ring-dot {
position: relative;
width: 100%;
height: 100%;
transform-origin: center;
transition: transform 0.5s ease;
}
.play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 75%;
height: 75%;
z-index: 2;
transition: all 0.5s ease;
}
.video-item:hover .play-ring-dot {
transform: rotate(75deg);
}
.video-item:hover .play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 120%;
height: 120%;
z-index: 2;
transition: all 0.5s ease;
}
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
position: relative;
width: 80%;
max-width: 800px;
}
.fade {
z-index: 100;
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
background: linear-gradient(to bottom, #222 50%, transparent 100%);
animation: slideDownZoomIn 1s ease-out forwards;
}
.close-btn {
position: absolute;
top: -40px;
right: 0;
font-size: 30px;
color: white;
cursor: pointer;
background: none;
border: none;
padding: 5px;
}
.iframe-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.iframe-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
border-radius: 8px;
}
@keyframes slideInLeft {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes fadeInZoomOut {
from {
transform: scale(1.2);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes slideDownZoomIn {
from {
transform: translateY(-100%) scale(0.8);
opacity: 0;
}
to {
transform: translateY(0) scale(1);
opacity: 1;
}
}
@keyframes slideGoDown {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
img {
pointer-events: none;
}
.inspire {
height: 80vh;
max-width: 30%;
padding: 10px;
border-radius: 30px;
opacity: 0;
animation: fadeInZoomOut 1s ease-out forwards;
animation-delay: 1s;
}
.header {
height: 55px;
width: 80%;
border-radius: 15px;
background-color: #31343cf2;
display: flex;
align-items: center;
position: fixed;
z-index: 1000;
justify-content: space-between;
animation: slideDownZoomIn 1s ease-out forwards;
}
.top {
width: 100%;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.getstarted {
margin-right: 15px;
display: flex;
justify-content: flex-end;
padding: 10px;
transition: border-image 0.3s ease;
align-items: center;
border-radius: 15px;
border: 1px solid;
border-image: linear-gradient(to right, #0000, #c24004, #0000);
border-image-slice: 1;
}
.getstarted:hover {
border-image: linear-gradient(145deg, #0000, #c24004, #0000);
border-image-slice: 1;
}
.pag {
background-color: #0000;
border-radius: 10px;
justify-content: center;
align-items: center;
display: flex;
padding: 8px;;
transition: all 0.3s ease;
text-decoration: none;
font-size: 15px;
}
.pag:hover {
background-color: #000;
font-size: 18px;
}
.icon {
margin-left: 15px;
}
.image {
display: flex;
justify-content: space-around;
}
.title {
display: flex;
align-items: center;
padding: 30px;
opacity: 0;
/* Start hidden */
animation: slideInLeft 1s ease-out forwards;
animation-delay: 0.5s;
}
.pages {
display: flex;
padding: 0px 10px;
}
</style>
</head>
<body>
<div class="top">
<div class="header">
<img width="55px" height="55px" src="Tn 2 Tn.png" style="border-radius: 15px;">
<button class="pag" onclick="openQuote()" style="color: #234970; border-width: 0px; font-weight: 900;">Show Today's Quote</button>
<a href="/" class="pag" style="color: #234970; margin-right: 10px;"><span class="material-symbols-rounded">home</span></a>
</div>
</div>
</div>
<div class="fade"></div>
<button class="close-btn" onclick="closeQuote()">
<div id="quoteOverlay" class="modal-overlay">
<div class="modal-content">
<div class="bg">
<div></div>
<div></div>
</div>
<div class="header-text" aria-hidden="true">
<span class="glow-filter" id="dailyQuote" data-text=""></span><br>
</div>
<svg class="filters" width='1440px' height='300px' viewBox='0 0 1440 300' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<filter id="glow-4" color-interpolation-filters="sRGB" x="-50%" y="-200%" width="200%" Height="500%">
<feGaussianBlur in="SourceGraphic" stdDeviation="4" result="blur4"/>
<feGaussianBlur in="SourceGraphic" stdDeviation="19" result="blur19"/>
<feGaussianBlur in="SourceGraphic" stdDeviation="9" result="blur9"/>
<feGaussianBlur in="SourceGraphic" stdDeviation="30" result="blur30"/>
<feColorMatrix in="blur4" result="color-0-blur" type="matrix" values="1 0 0 0 0
0 0.9803921568627451 0 0 0
0 0 0.9647058823529412 0 0
0 0 0 0.8 0"/>
<feOffset in="color-0-blur" result="layer-0-offsetted" dx="0" dy="0"/>
<feMerge>
<feMergeNode in="layer-0-offsetted"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
</svg>
</div>
</div>
</button>
<div class="gallery-container">
<div id="videoGallery" class="video-gallery">
<!-- Videos will be dynamically inserted here -->
</div>
</div>
<div id="videoModal" class="modal-overlay">
<div class="modal-content">
<button class="close-btn" onclick="closeVideo()">×</button>
<div class="iframe-container">
<iframe id="videoIframe" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- HolyClock.com <BODY> code -->
<script>document.write(typeof _holyclock_tag=="string"?_holyclock_tag:'HolyClock \x26lt;head\x26gt; tag missing!');</script>
<!-- HolyClock.com <BODY> code -->
<script>
// Video data
const videos = [
{
id: 1,
title: "Podcast",
date: "November 7th 2024",
org: "Tn 2 Tn Podcast",
thumbnail: "Tn 2 Tn.png",
videoUrl: "/podcast"
},
{
id: 2,
title: "90 Seconds To תורה",
date: "November 22nd 2024",
org: "Tn 2 Tn Podcast",
thumbnail: "90s.png",
videoUrl: "/90_Seconds"
},
{
id: 3,
title: "Videos",
date: "January 1st 2025",
org: "Tn 2 Tn Podcast",
thumbnail: "Tn 2 Tn Videos.png",
videoUrl: "/videos"
}
];
// Create video items
function createVideoGallery() {
const gallery = document.getElementById("videoGallery");
videos.forEach(video => {
// Use a dynamic Google Font image if no thumbnail is provided
const thumbnail = video.thumbnail
? video.thumbnail
: `https://via.placeholder.com/150/000000/FFFFFF?text=${encodeURIComponent(video.title)}`;
gallery.innerHTML += `
<a href="${video.videoUrl}" class="video-item">
<div class="video-overlay">
<span class="video-date">Latest : ${video.date}</span>
<h3 class="video-title">${video.title}</h3>
<span class="video-org">${video.org}</span>
</div>
<img class="thumbnail" src="${thumbnail}" alt="${video.title}">
<div class="play-icon-container">
<svg class="play-ring-dot" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80">
<path d="M34.8942 0.24557C27.4765 1.2172 20.5608 4.18067 14.8112 8.84448C13.224 10.1238 10.1954 13.1196 8.93208 14.658C4.21905 20.4068 1.17421 27.5645 0.218646 35.1432C-0.0728819 37.5237 -0.0728819 42.479 0.218646 44.8595C0.704525 48.7622 1.69248 52.3734 3.26349 56.0332C7.11813 65.0531 14.9408 72.8585 23.9943 76.7451C29.258 79.0122 34.1492 80 39.9959 80C44.7414 80 48.2073 79.4494 52.5802 78.0244C56.2243 76.826 61.488 74.1702 62.3464 73.0853C62.5731 72.7938 62.6703 72.4213 62.6703 71.8707C62.6703 71.1744 62.6055 70.9963 62.1196 70.5104C61.65 70.0408 61.4556 69.9599 60.8078 69.9599C60.1761 69.9599 59.836 70.0894 58.9776 70.6238C54.8153 73.2634 49.4382 75.1419 44.2069 75.7896C41.9071 76.0649 37.2912 76.0001 34.8456 75.6277C21.8079 73.7168 10.827 64.8588 6.22735 52.5677C3.71698 45.8473 3.32827 37.8638 5.15842 30.8842C8.39761 18.4798 18.1152 8.66635 30.5213 5.26565C34.0682 4.29402 36.692 4.00253 40.8867 4.0997C44.6442 4.18067 46.361 4.40738 49.503 5.26565C56.3539 7.11174 62.978 11.3545 67.5453 16.828C71.8858 22.01 74.6553 28.1961 75.6271 34.8517C75.9996 37.297 76.0644 41.9122 75.789 44.2117C75.1412 49.4423 73.2625 54.8187 70.6225 58.9805C70.0881 59.8387 69.9585 60.1788 69.9585 60.8104C69.9585 61.4581 70.0395 61.6524 70.5092 62.1221C70.9788 62.5917 71.1732 62.6726 71.8534 62.6726C72.3231 62.6726 72.7928 62.5593 73.0195 62.4135C74.0075 61.7172 76.7932 56.3409 77.9431 52.8592C79.3846 48.5031 80 44.7137 80 40.0337C80 34.1554 79.012 29.281 76.7446 24.0019C73.3273 16.0183 67.0918 9.21694 59.1558 4.77984C56.2243 3.14426 51.6894 1.47631 48.1263 0.73139C44.6442 0.00266916 38.4897 -0.224047 34.8942 0.24557Z" fill="white" />
<path d="M66.42 64.8904C65.9179 64.9876 64.9947 65.943 64.8975 66.4774C64.606 67.9349 65.9179 69.2304 67.3269 68.9065C67.9748 68.7769 68.817 67.8701 68.9141 67.1737C69.1409 65.8135 67.8452 64.6313 66.42 64.8904Z" fill="white" />
</svg>
<img class="play-button" src="https://img.icons8.com/material-rounded/FFFFFF/512/circled-down-right-2.png" alt="Go">
</div>
</a>
`;
});
}
// Initialize gallery
createVideoGallery();
</script>
<script src="qoutes.js"></script>
<script src="signup.js"></script>
</body>
</html>