forked from TailGrids/tailwind-ui-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo.html
516 lines (512 loc) · 17.8 KB
/
video.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Video | TailGrids</title>
<link
rel="shortcut icon"
href="assets/images/favicon.svg"
type="image/x-icon"
/>
<link rel="stylesheet" href="assets/css/tailwind.css" />
<script defer src="assets/js/alpine.min.js"></script>
</head>
<body>
<!-- ====== Video Section Start -->
<section x-data="{ videoOpen: false}" class="bg-white py-20 lg:py-[120px]">
<div class="container">
<div class="flex flex-wrap justify-center -mx-4">
<div class="w-full lg:w-10/12 px-4">
<div
class="
h-[300px]
md:h-[450px]
rounded-lg
overflow-hidden
relative
z-20
"
>
<div class="w-full h-full absolute top-0 left-0">
<img
src="assets/images/videos/image-01.jpg"
alt="image"
class="w-full h-full object-center object-cover"
/>
</div>
<div
class="
absolute
top-0
left-0
w-full
h-full
flex
items-center
justify-center
bg-primary bg-opacity-90
z-10
"
>
<a
href="javascript:void(0)"
@click="videoOpen = true"
class="
flex
items-center
justify-center
w-20
md:w-[100px]
h-20
md:h-[100px]
rounded-full
bg-white
text-primary
absolute
z-20
"
>
<span
class="
absolute
w-full
h-full
rounded-full
top-0
right-0
bg-white bg-opacity-20
z-[-1]
animate-ping
delay-300
duration-1000
"
></span>
<svg
width="23"
height="27"
viewBox="0 0 23 27"
class="fill-current"
>
<path
d="M22.5 12.634C23.1667 13.0189 23.1667 13.9811 22.5 14.366L2.25 26.0574C1.58333 26.4423 0.750001 25.9611 0.750001 25.1913L0.750002 1.80866C0.750002 1.03886 1.58334 0.557731 2.25 0.942631L22.5 12.634Z"
/>
</svg>
</a>
</div>
<div>
<span class="absolute top-4 left-4 z-40">
<svg
width="50"
height="79"
viewBox="0 0 50 79"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="47.7119"
cy="76.9617"
r="1.74121"
transform="rotate(180 47.7119 76.9617)"
fill="white"
/>
<circle
cx="47.7119"
cy="61.6385"
r="1.74121"
transform="rotate(180 47.7119 61.6385)"
fill="white"
/>
<circle
cx="47.7119"
cy="46.3163"
r="1.74121"
transform="rotate(180 47.7119 46.3163)"
fill="white"
/>
<circle
cx="47.7119"
cy="16.7159"
r="1.74121"
transform="rotate(180 47.7119 16.7159)"
fill="white"
/>
<circle
cx="47.7119"
cy="31.3421"
r="1.74121"
transform="rotate(180 47.7119 31.3421)"
fill="white"
/>
<circle
cx="47.7119"
cy="1.74121"
r="1.74121"
transform="rotate(180 47.7119 1.74121)"
fill="white"
/>
<circle
cx="32.3916"
cy="76.9617"
r="1.74121"
transform="rotate(180 32.3916 76.9617)"
fill="white"
/>
<circle
cx="32.3877"
cy="61.6384"
r="1.74121"
transform="rotate(180 32.3877 61.6384)"
fill="white"
/>
<circle
cx="32.3916"
cy="46.3162"
r="1.74121"
transform="rotate(180 32.3916 46.3162)"
fill="white"
/>
<circle
cx="32.3916"
cy="16.7161"
r="1.74121"
transform="rotate(180 32.3916 16.7161)"
fill="white"
/>
<circle
cx="32.3877"
cy="31.342"
r="1.74121"
transform="rotate(180 32.3877 31.342)"
fill="white"
/>
<circle
cx="32.3916"
cy="1.74145"
r="1.74121"
transform="rotate(180 32.3916 1.74145)"
fill="white"
/>
<circle
cx="17.0674"
cy="76.9617"
r="1.74121"
transform="rotate(180 17.0674 76.9617)"
fill="white"
/>
<circle
cx="17.0674"
cy="61.6384"
r="1.74121"
transform="rotate(180 17.0674 61.6384)"
fill="white"
/>
<circle
cx="17.0674"
cy="46.3162"
r="1.74121"
transform="rotate(180 17.0674 46.3162)"
fill="white"
/>
<circle
cx="17.0674"
cy="16.7161"
r="1.74121"
transform="rotate(180 17.0674 16.7161)"
fill="white"
/>
<circle
cx="17.0674"
cy="31.342"
r="1.74121"
transform="rotate(180 17.0674 31.342)"
fill="white"
/>
<circle
cx="17.0674"
cy="1.74145"
r="1.74121"
transform="rotate(180 17.0674 1.74145)"
fill="white"
/>
<circle
cx="1.74316"
cy="76.9617"
r="1.74121"
transform="rotate(180 1.74316 76.9617)"
fill="white"
/>
<circle
cx="1.74316"
cy="61.6384"
r="1.74121"
transform="rotate(180 1.74316 61.6384)"
fill="white"
/>
<circle
cx="1.74316"
cy="46.3162"
r="1.74121"
transform="rotate(180 1.74316 46.3162)"
fill="white"
/>
<circle
cx="1.74316"
cy="16.7161"
r="1.74121"
transform="rotate(180 1.74316 16.7161)"
fill="white"
/>
<circle
cx="1.74316"
cy="31.342"
r="1.74121"
transform="rotate(180 1.74316 31.342)"
fill="white"
/>
<circle
cx="1.74316"
cy="1.74145"
r="1.74121"
transform="rotate(180 1.74316 1.74145)"
fill="white"
/>
</svg>
</span>
<span class="absolute bottom-4 right-4 z-40">
<svg
width="50"
height="79"
viewBox="0 0 50 79"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="47.7119"
cy="76.9617"
r="1.74121"
transform="rotate(180 47.7119 76.9617)"
fill="white"
/>
<circle
cx="47.7119"
cy="61.6385"
r="1.74121"
transform="rotate(180 47.7119 61.6385)"
fill="white"
/>
<circle
cx="47.7119"
cy="46.3163"
r="1.74121"
transform="rotate(180 47.7119 46.3163)"
fill="white"
/>
<circle
cx="47.7119"
cy="16.7159"
r="1.74121"
transform="rotate(180 47.7119 16.7159)"
fill="white"
/>
<circle
cx="47.7119"
cy="31.3421"
r="1.74121"
transform="rotate(180 47.7119 31.3421)"
fill="white"
/>
<circle
cx="47.7119"
cy="1.74121"
r="1.74121"
transform="rotate(180 47.7119 1.74121)"
fill="white"
/>
<circle
cx="32.3916"
cy="76.9617"
r="1.74121"
transform="rotate(180 32.3916 76.9617)"
fill="white"
/>
<circle
cx="32.3877"
cy="61.6384"
r="1.74121"
transform="rotate(180 32.3877 61.6384)"
fill="white"
/>
<circle
cx="32.3916"
cy="46.3162"
r="1.74121"
transform="rotate(180 32.3916 46.3162)"
fill="white"
/>
<circle
cx="32.3916"
cy="16.7161"
r="1.74121"
transform="rotate(180 32.3916 16.7161)"
fill="white"
/>
<circle
cx="32.3877"
cy="31.342"
r="1.74121"
transform="rotate(180 32.3877 31.342)"
fill="white"
/>
<circle
cx="32.3916"
cy="1.74145"
r="1.74121"
transform="rotate(180 32.3916 1.74145)"
fill="white"
/>
<circle
cx="17.0674"
cy="76.9617"
r="1.74121"
transform="rotate(180 17.0674 76.9617)"
fill="white"
/>
<circle
cx="17.0674"
cy="61.6384"
r="1.74121"
transform="rotate(180 17.0674 61.6384)"
fill="white"
/>
<circle
cx="17.0674"
cy="46.3162"
r="1.74121"
transform="rotate(180 17.0674 46.3162)"
fill="white"
/>
<circle
cx="17.0674"
cy="16.7161"
r="1.74121"
transform="rotate(180 17.0674 16.7161)"
fill="white"
/>
<circle
cx="17.0674"
cy="31.342"
r="1.74121"
transform="rotate(180 17.0674 31.342)"
fill="white"
/>
<circle
cx="17.0674"
cy="1.74145"
r="1.74121"
transform="rotate(180 17.0674 1.74145)"
fill="white"
/>
<circle
cx="1.74316"
cy="76.9617"
r="1.74121"
transform="rotate(180 1.74316 76.9617)"
fill="white"
/>
<circle
cx="1.74316"
cy="61.6384"
r="1.74121"
transform="rotate(180 1.74316 61.6384)"
fill="white"
/>
<circle
cx="1.74316"
cy="46.3162"
r="1.74121"
transform="rotate(180 1.74316 46.3162)"
fill="white"
/>
<circle
cx="1.74316"
cy="16.7161"
r="1.74121"
transform="rotate(180 1.74316 16.7161)"
fill="white"
/>
<circle
cx="1.74316"
cy="31.342"
r="1.74121"
transform="rotate(180 1.74316 31.342)"
fill="white"
/>
<circle
cx="1.74316"
cy="1.74145"
r="1.74121"
transform="rotate(180 1.74316 1.74145)"
fill="white"
/>
</svg>
</span>
</div>
</div>
</div>
</div>
</div>
<div
x-show="videoOpen"
x-transition
class="
fixed
top-0
left-0
w-full
h-screen
flex
items-center
justify-center
z-50
bg-black bg-opacity-70
"
>
<div
@click.outside="videoOpen = false"
class="max-w-[550px] w-full mx-auto bg-white"
>
<iframe
class="w-full h-[320px]"
src="https://www.youtube.com/embed/LXb3EKWsInQ?autoplay=1&mute=1"
>
</iframe>
</div>
<button
@click="videoOpen = false"
class="
absolute
top-0
right-0
w-20
h-20
flex
items-center
justify-center
cursor-pointer
text-body-color
hover:bg-black
"
>
<svg viewBox="0 0 16 15" class="fill-current w-8 h-8">
<path
d="M3.37258 1.27L8.23258 6.13L13.0726 1.29C13.1574 1.19972 13.2596 1.12749 13.373 1.07766C13.4864 1.02783 13.6087 1.00141 13.7326 1C13.9978 1 14.2522 1.10536 14.4397 1.29289C14.6272 1.48043 14.7326 1.73478 14.7326 2C14.7349 2.1226 14.7122 2.24439 14.6657 2.35788C14.6193 2.47138 14.5502 2.57419 14.4626 2.66L9.57258 7.5L14.4626 12.39C14.6274 12.5512 14.724 12.7696 14.7326 13C14.7326 13.2652 14.6272 13.5196 14.4397 13.7071C14.2522 13.8946 13.9978 14 13.7326 14C13.6051 14.0053 13.478 13.984 13.3592 13.9375C13.2404 13.8911 13.1326 13.8204 13.0426 13.73L8.23258 8.87L3.38258 13.72C3.29809 13.8073 3.19715 13.8769 3.08559 13.925C2.97402 13.9731 2.85405 13.9986 2.73258 14C2.46737 14 2.21301 13.8946 2.02548 13.7071C1.83794 13.5196 1.73258 13.2652 1.73258 13C1.73025 12.8774 1.753 12.7556 1.79943 12.6421C1.84586 12.5286 1.91499 12.4258 2.00258 12.34L6.89258 7.5L2.00258 2.61C1.83777 2.44876 1.74112 2.23041 1.73258 2C1.73258 1.73478 1.83794 1.48043 2.02548 1.29289C2.21301 1.10536 2.46737 1 2.73258 1C2.97258 1.003 3.20258 1.1 3.37258 1.27Z"
/>
</svg>
</button>
</div>
</section>
<!-- ====== Video Section End -->
</body>
</html>