Skip to content

Commit 24ae065

Browse files
committed
Add RegisterToday section
1 parent 80bb199 commit 24ae065

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

src/app/conf/2025/page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { FAQ } from "./faq"
77
import { Register } from "./register"
88
import { Sponsors } from "./sponsors"
99
import { Speakers } from "./speakers"
10+
import { RegisterToday } from "./register-today"
1011

1112
export const metadata: Metadata = {
1213
title: "GraphQLConf 2025 — Sept 08-10",
@@ -60,6 +61,9 @@ export default function Page() {
6061
return (
6162
<main>
6263
<Hero />
64+
<div className="mx-auto max-w-[90rem]">
65+
<RegisterToday className="my-8 md:mb-16 md:mt-24" />
66+
</div>
6367
<div className="container my-20 flex flex-col gap-20 md:my-32 md:gap-32">
6468
<Intro />
6569
<Sponsors />
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import { clsx } from "clsx"
2+
import NextImage from "next-image-export-optimizer"
3+
4+
import { Button } from "../../_design-system/button"
5+
6+
import speakerImage from "./speaker.webp"
7+
8+
export interface RegisterTodayProps {
9+
className?: string
10+
}
11+
12+
export function RegisterToday({ className }: RegisterTodayProps) {
13+
return (
14+
<section
15+
className={clsx(
16+
"flex gap-x-24 gap-y-10 px-4 max-md:flex-col md:px-24",
17+
className,
18+
)}
19+
>
20+
<NextImage
21+
src={speakerImage}
22+
alt="GraphQL Conference"
23+
width={450}
24+
height={566}
25+
className="object-cover"
26+
/>
27+
<div className="flex flex-col justify-between">
28+
<div>
29+
<h2 className="typography-h2 text-neu-900">
30+
Let's celebrate 10 years of GraphQL together
31+
</h2>
32+
<p className="typography-h3 text-neu-800 mt-6 md:mt-10">
33+
Join three transformative days of expert insights and innovation to
34+
shape the next decade of APIs!
35+
</p>
36+
</div>
37+
<div className="flex gap-x-6 gap-y-4 max-md:flex-col">
38+
<Button>Register today</Button>
39+
<Button variant="secondary">Become a speaker</Button>
40+
</div>
41+
</div>
42+
</section>
43+
)
44+
}
135 KB
Binary file not shown.

0 commit comments

Comments
 (0)