@@ -9,14 +9,16 @@ import { Button } from "../../_design-system/button"
9
9
import { GET_TICKETS_LINK } from "../links"
10
10
import graphqlFoundationWordmarkSvg from "../assets/graphql-foundation-wordmark.svg"
11
11
12
+ const year = "2025"
13
+
12
14
export const metadata : Metadata = {
13
15
title : "Schedule" ,
14
16
}
15
17
16
18
export default function SchedulePage ( ) {
17
19
return (
18
20
< main className = "gql-all-anchors-focusable bg-neu-50 dark:bg-neu-0" >
19
- < ScheduleHero />
21
+ < ScheduleHero year = { year } />
20
22
< div className = "gql-conf-container gql-conf-section" >
21
23
< a
22
24
href = "https://graphqlconf2024.sched.com"
@@ -29,23 +31,23 @@ export default function SchedulePage() {
29
31
< ScheduleList
30
32
filterCategories = { filterCategories2024 }
31
33
eventsColors = { eventsColors }
32
- year = "2025"
34
+ year = { year }
33
35
scheduleData = { schedule }
34
36
/>
35
37
</ div >
36
38
</ main >
37
39
)
38
40
}
39
41
40
- function ScheduleHero ( ) {
42
+ function ScheduleHero ( { year } : { year : "2025" } ) {
41
43
return (
42
44
< article className = "gql-conf-navbar-strip relative isolate flex flex-col justify-center bg-pri-base text-neu-0 selection:bg-blk/40 before:bg-white/30 dark:bg-pri-darker dark:text-neu-900 dark:selection:bg-white/40 before:dark:bg-blk/40" >
43
45
< HeroStripes />
44
46
< div className = "gql-conf-container mx-auto flex max-w-full flex-col gap-12 overflow-hidden p-4 pt-6 sm:p-8 sm:pt-12 md:gap-12 md:bg-left md:p-12 lg:px-24 lg:pb-16 lg:pt-24" >
45
47
< div className = "flex gap-10 max-md:flex-col md:justify-between" >
46
48
< div >
47
49
< span className = "text-sec-base typography-h3" >
48
- GraphQLConf 2025
50
+ GraphQLConf { year }
49
51
</ span >
50
52
< h1 className = "typography-d1" > Schedule</ h1 >
51
53
</ div >
@@ -60,9 +62,10 @@ function ScheduleHero() {
60
62
</ div >
61
63
</ div >
62
64
63
- < div className = "flex flex-col gap-8 pt-[18px]" >
64
- < Button className = "md:w-fit" href = { GET_TICKETS_LINK } >
65
- Get your tickets
65
+ < div className = "flex flex-row gap-4 pt-[18px]" >
66
+ < Button href = { GET_TICKETS_LINK } > Get your tickets</ Button >
67
+ < Button variant = "secondary" href = { `/conf/${ year } /speakers` } >
68
+ See the speakers
66
69
</ Button >
67
70
</ div >
68
71
</ div >
0 commit comments