@@ -73,7 +73,7 @@ interface Props {
73
73
showFilter ?: boolean
74
74
scheduleData : ScheduleSession [ ]
75
75
filterSchedule ?: ( sessions : ScheduleSession [ ] ) => ScheduleSession [ ]
76
- year : "2025" | "2024"
76
+ year : `202${ number } `
77
77
eventsColors : Record < string , string >
78
78
filterCategories : {
79
79
name : CategoryName
@@ -112,7 +112,7 @@ export function ScheduleList({
112
112
return (
113
113
< >
114
114
< div className = "flex justify-between gap-1 max-lg:flex-col" >
115
- < BookmarkOnSched />
115
+ < BookmarkOnSched year = { year } />
116
116
< ResetFiltersButton
117
117
filters = { filtersState }
118
118
onReset = { ( ) =>
@@ -160,7 +160,7 @@ export function ScheduleList({
160
160
( [ date , concurrentSessionsGroup ] , index ) => (
161
161
< div
162
162
key = { date }
163
- className = "typography-body-sm bg-neu-200 pt-px dark:bg-neu-50"
163
+ className = "bg-neu-200 pt-px typography-body-sm dark:bg-neu-50"
164
164
>
165
165
< h3
166
166
className = "bg-neu-50 py-4 dark:bg-neu-0 lg:mb-px"
@@ -173,7 +173,7 @@ export function ScheduleList({
173
173
< div key = { `concurrent sessions on ${ sessionDate } ` } >
174
174
< div className = "mr-px flex flex-col max-lg:ml-px lg:mb-px lg:flex-row" >
175
175
< div className = "relative border-neu-50 bg-neu-50 dark:bg-neu-0 max-lg:-mx-px max-lg:mt-px max-lg:border-x lg:mr-px" >
176
- < span className = "typography-body-sm mt-3 inline-block w-20 whitespace-nowrap pb-0.5 pl-4 lg:mr-6 lg:w-28 lg:pb-4 lg:pl-0" >
176
+ < span className = "mt-3 inline-block w-20 whitespace-nowrap pb-0.5 pl-4 typography-body-sm lg:mr-6 lg:w-28 lg:pb-4 lg:pl-0" >
177
177
{ format ( parseISO ( sessionDate ) , "hh:mmaaaa 'PDT'" ) }
178
178
</ span >
179
179
</ div >
@@ -201,13 +201,13 @@ export function ScheduleList({
201
201
)
202
202
}
203
203
204
- function BookmarkOnSched ( ) {
204
+ function BookmarkOnSched ( { year } : { year : `202${ number } ` } ) {
205
205
return (
206
206
< a
207
- href = " https://graphqlconf2024 .sched.com"
207
+ href = { ` https://graphqlconf ${ year } .sched.com` }
208
208
target = "_blank"
209
209
rel = "noreferrer"
210
- className = "typography-link mb-8 block w-fit decoration-neu-400"
210
+ className = "mb-8 block w-fit decoration-neu-400 typography-link "
211
211
>
212
212
Bookmark sessions & plan your days on Sched
213
213
< svg
0 commit comments