Skip to content

Commit 800b12f

Browse files
committed
Tweak RegisterToday section spacing
1 parent 24ae065 commit 800b12f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/app/conf/2025/register-today/index.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ export function RegisterToday({ className }: RegisterTodayProps) {
1313
return (
1414
<section
1515
className={clsx(
16-
"flex gap-x-24 gap-y-10 px-4 max-md:flex-col md:px-24",
16+
"flex gap-x-24 gap-y-10 px-4 max-lg:flex-col-reverse md:px-24",
1717
className,
1818
)}
1919
>
20+
{/* todo: test if the placeholder works in deploy preview */}
2021
<NextImage
2122
src={speakerImage}
2223
alt="GraphQL Conference"
23-
width={450}
24-
height={566}
25-
className="object-cover"
24+
width="450"
25+
height="566"
26+
className="aspect-[312/392.43] w-full object-cover lg:aspect-[450/566] lg:h-[566px] lg:w-[450px]"
2627
/>
2728
<div className="flex flex-col justify-between">
2829
<div>
@@ -34,7 +35,7 @@ export function RegisterToday({ className }: RegisterTodayProps) {
3435
shape the next decade of APIs!
3536
</p>
3637
</div>
37-
<div className="flex gap-x-6 gap-y-4 max-md:flex-col">
38+
<div className="mt-10 flex gap-x-6 gap-y-4 max-md:flex-col">
3839
<Button>Register today</Button>
3940
<Button variant="secondary">Become a speaker</Button>
4041
</div>

0 commit comments

Comments
 (0)