Skip to content

Commit 4530323

Browse files
authored
Merge pull request #15956 from ethereum/hotfix-10y-livestream
Fix livestream image placeholder res
2 parents 44e747c + da87cd8 commit 4530323

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/[locale]/10years/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,15 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
171171
</div>
172172

173173
<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">
175175
<div className="flex flex-col gap-4 text-center">
176176
<h2 className="text-4xl font-black">Join the livestream</h2>
177177
</div>
178178
<YouTube
179179
className="w-full max-w-none"
180180
id="igPIMF1p5Bo"
181181
title="Livestream 10 years of Ethereum"
182+
poster="maxresdefault"
182183
/>
183184
</div>
184185
</div>

src/components/YouTube.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ type YouTubeProps = {
2222
start?: string
2323
title?: string
2424
className?: string
25-
}
25+
} & React.ComponentProps<typeof LiteYouTubeEmbed>
2626

2727
const YouTube = ({
2828
id,
2929
start = "0",
3030
title = "YouTube",
3131
className,
32+
...props
3233
}: YouTubeProps) => {
3334
const params = new URLSearchParams()
3435
;+start > 0 && params.set("start", start)
@@ -41,6 +42,7 @@ const YouTube = ({
4142
title={title}
4243
params={params.toString()}
4344
noCookie
45+
{...props}
4446
/>
4547
</figure>
4648
)

0 commit comments

Comments
 (0)