File tree Expand file tree Collapse file tree 2 files changed +31
-29
lines changed Expand file tree Collapse file tree 2 files changed +31
-29
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,21 @@ const CurrentTorchHolderCard = ({
46
46
< div className = "relative" >
47
47
{ /* Torch/flame video */ }
48
48
< div className = "flex items-center justify-center pt-12" >
49
- < video
50
- className = "h-[170px] w-[170px] object-cover"
51
- src = "/videos/torch.mp4"
52
- aria-label = "Torch video"
53
- autoPlay
54
- loop
55
- muted
56
- poster = "/images/10-year-anniversary/torch-cover.png"
57
- />
49
+ < div className = "relative max-h-[170px] max-w-[170px]" >
50
+ < video
51
+ className = "pointer-events-none select-none"
52
+ src = "/videos/torch.mp4"
53
+ aria-label = "Torch video"
54
+ autoPlay
55
+ loop
56
+ muted
57
+ poster = "/images/10-year-anniversary/torch-cover.png"
58
+ controlsList = "nodownload"
59
+ disablePictureInPicture
60
+ playsInline
61
+ />
62
+ < div className = "pointer-events-none absolute top-0 h-full w-full select-none bg-[url('/images/10-year-anniversary/torch-overlay.png')] bg-contain bg-center bg-no-repeat" />
63
+ </ div >
58
64
</ div >
59
65
60
66
< CardTitle className = "p-0" >
Original file line number Diff line number Diff line change @@ -298,26 +298,22 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
298
298
>
299
299
< div className = "p-8" >
300
300
< div className = "relative" >
301
- < div className = "relative flex items-center justify-center pt-12 sm:pt-24" >
302
- < video
303
- className = "h-[380px] w-[380px]"
304
- src = "/videos/torch.mp4"
305
- aria-label = "Torch video"
306
- autoPlay
307
- loop
308
- muted
309
- poster = "/images/10-year-anniversary/torch-cover.png"
310
- controlsList = "nodownload"
311
- disablePictureInPicture
312
- playsInline
313
- />
314
- < Image
315
- src = "/images/10-year-anniversary/torch-overlay.png"
316
- alt = "Torch overlay"
317
- className = "absolute top-0 h-[380px] w-[380px] translate-y-12 sm:translate-y-24"
318
- width = { 380 }
319
- height = { 380 }
320
- />
301
+ < div className = "flex items-center justify-center pt-12 sm:pt-24" >
302
+ < div className = "relative max-h-[380px] max-w-[380px]" >
303
+ < video
304
+ className = "pointer-events-none select-none"
305
+ src = "/videos/torch.mp4"
306
+ aria-label = "Torch video"
307
+ autoPlay
308
+ loop
309
+ muted
310
+ poster = "/images/10-year-anniversary/torch-cover.png"
311
+ controlsList = "nodownload"
312
+ disablePictureInPicture
313
+ playsInline
314
+ />
315
+ < div className = "pointer-events-none absolute top-0 h-full w-full select-none bg-[url('/images/10-year-anniversary/torch-overlay.png')] bg-contain bg-center bg-no-repeat" />
316
+ </ div >
321
317
</ div >
322
318
{ /* Curved text */ }
323
319
< Curved10YearsText
You can’t perform that action at this time.
0 commit comments