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 @@ -174,14 +174,15 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
174
174
</ div >
175
175
176
176
< div className = "w-full px-4 py-8 md:px-8" >
177
- < div className = "flex flex-col items-center gap-4 rounded-4xl bg-radial-a px-8 pt-8 lg:px-14 lg:pt-14" >
177
+ < div className = "flex flex-col items-center gap-4 rounded-4xl bg-radial-a px-4 pt-8 lg:px-14 lg:pt-14" >
178
178
< div className = "flex flex-col gap-4 text-center" >
179
179
< h2 className = "text-4xl font-black" > Join the livestream</ h2 >
180
180
</ div >
181
181
< YouTube
182
182
className = "w-full max-w-none"
183
183
id = "igPIMF1p5Bo"
184
184
title = "Livestream 10 years of Ethereum"
185
+ poster = "maxresdefault"
185
186
/>
186
187
</ div >
187
188
</ 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