File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -171,14 +171,15 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
171
171
</ div >
172
172
173
173
< div className = "w-full px-4 py-8 md:px-8" >
174
- < div className = "flex flex-col items-center gap-4 rounded-4xl bg-radial-a px-8 pt-8 lg:px-14 lg:pt-14" >
174
+ < div className = "flex flex-col items-center gap-4 rounded-4xl bg-radial-a px-4 pt-8 lg:px-14 lg:pt-14" >
175
175
< div className = "flex flex-col gap-4 text-center" >
176
176
< h2 className = "text-4xl font-black" > Join the livestream</ h2 >
177
177
</ div >
178
178
< YouTube
179
179
className = "w-full max-w-none"
180
180
id = "igPIMF1p5Bo"
181
181
title = "Livestream 10 years of Ethereum"
182
+ poster = "maxresdefault"
182
183
/>
183
184
</ div >
184
185
</ div >
Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ type YouTubeProps = {
22
22
start ?: string
23
23
title ?: string
24
24
className ?: string
25
- }
25
+ } & React . ComponentProps < typeof LiteYouTubeEmbed >
26
26
27
27
const YouTube = ( {
28
28
id,
29
29
start = "0" ,
30
30
title = "YouTube" ,
31
31
className,
32
+ ...props
32
33
} : YouTubeProps ) => {
33
34
const params = new URLSearchParams ( )
34
35
; + start > 0 && params . set ( "start" , start )
@@ -41,6 +42,7 @@ const YouTube = ({
41
42
title = { title }
42
43
params = { params . toString ( ) }
43
44
noCookie
45
+ { ...props }
44
46
/>
45
47
</ figure >
46
48
)
You can’t perform that action at this time.
0 commit comments