File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { FAQ } from "./faq"
7
7
import { Register } from "./register"
8
8
import { Sponsors } from "./sponsors"
9
9
import { Speakers } from "./speakers"
10
+ import { RegisterToday } from "./register-today"
10
11
11
12
export const metadata : Metadata = {
12
13
title : "GraphQLConf 2025 — Sept 08-10" ,
@@ -60,6 +61,9 @@ export default function Page() {
60
61
return (
61
62
< main >
62
63
< Hero />
64
+ < div className = "mx-auto max-w-[90rem]" >
65
+ < RegisterToday className = "my-8 md:mb-16 md:mt-24" />
66
+ </ div >
63
67
< div className = "container my-20 flex flex-col gap-20 md:my-32 md:gap-32" >
64
68
< Intro />
65
69
< Sponsors />
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments