Skip to content

Commit 658bbbf

Browse files
committed
Link to proper Sched on Schedule page
1 parent ebf31b4 commit 658bbbf

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app/conf/2025/schedule/_components/schedule-list.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ interface Props {
7373
showFilter?: boolean
7474
scheduleData: ScheduleSession[]
7575
filterSchedule?: (sessions: ScheduleSession[]) => ScheduleSession[]
76-
year: "2025" | "2024"
76+
year: `202${number}`
7777
eventsColors: Record<string, string>
7878
filterCategories: {
7979
name: CategoryName
@@ -112,7 +112,7 @@ export function ScheduleList({
112112
return (
113113
<>
114114
<div className="flex justify-between gap-1 max-lg:flex-col">
115-
<BookmarkOnSched />
115+
<BookmarkOnSched year={year} />
116116
<ResetFiltersButton
117117
filters={filtersState}
118118
onReset={() =>
@@ -160,7 +160,7 @@ export function ScheduleList({
160160
([date, concurrentSessionsGroup], index) => (
161161
<div
162162
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"
164164
>
165165
<h3
166166
className="bg-neu-50 py-4 dark:bg-neu-0 lg:mb-px"
@@ -173,7 +173,7 @@ export function ScheduleList({
173173
<div key={`concurrent sessions on ${sessionDate}`}>
174174
<div className="mr-px flex flex-col max-lg:ml-px lg:mb-px lg:flex-row">
175175
<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">
177177
{format(parseISO(sessionDate), "hh:mmaaaa 'PDT'")}
178178
</span>
179179
</div>
@@ -201,13 +201,13 @@ export function ScheduleList({
201201
)
202202
}
203203

204-
function BookmarkOnSched() {
204+
function BookmarkOnSched({ year }: { year: `202${number}` }) {
205205
return (
206206
<a
207-
href="https://graphqlconf2024.sched.com"
207+
href={`https://graphqlconf${year}.sched.com`}
208208
target="_blank"
209209
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"
211211
>
212212
Bookmark sessions & plan your days on Sched
213213
<svg

0 commit comments

Comments
 (0)