Skip to content

Commit f76c08d

Browse files
authored
Merge branch 'master' into hotfix-10y-torchbearers
2 parents aeb8e4a + 4530323 commit f76c08d

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
@@ -174,14 +174,15 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
174174
</div>
175175

176176
<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">
178178
<div className="flex flex-col gap-4 text-center">
179179
<h2 className="text-4xl font-black">Join the livestream</h2>
180180
</div>
181181
<YouTube
182182
className="w-full max-w-none"
183183
id="igPIMF1p5Bo"
184184
title="Livestream 10 years of Ethereum"
185+
poster="maxresdefault"
185186
/>
186187
</div>
187188
</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)