diff --git a/src/app/conf/2026/_data.ts b/src/app/conf/2026/_data.ts index 5f969f05f4..fd9019550f 100644 --- a/src/app/conf/2026/_data.ts +++ b/src/app/conf/2026/_data.ts @@ -6,7 +6,13 @@ import { readSpeakers } from "../_api/sched-data" const speakersData = require("../../../../scripts/sync-sched/speakers.json") const equalitySets: string[][] = speakersData.equal || [] -export const schedule: ScheduleSession[] = require("../../../../scripts/sync-sched/schedule-2026.json") +export const schedule: ScheduleSession[] = + require("../../../../scripts/sync-sched/schedule-2026.json").map( + (session: ScheduleSession) => ({ + ...session, + hasSlides: session.files?.length ? "Yes" : "No", + }), + ) type SpeakerUsername = SchedSpeaker["username"] diff --git a/src/app/conf/2026/schedule/page.tsx b/src/app/conf/2026/schedule/page.tsx index 2ff1282165..d397031c0c 100644 --- a/src/app/conf/2026/schedule/page.tsx +++ b/src/app/conf/2026/schedule/page.tsx @@ -16,6 +16,7 @@ const FILTERS: FiltersConfig = { event_type: "Session Format", event_subtype: "Talk Category", audience: "Audience", + hasSlides: "Slides", } export const metadata: Metadata = { diff --git a/src/app/conf/_api/sched-types.ts b/src/app/conf/_api/sched-types.ts index 069c9d4e99..eca18bb81c 100644 --- a/src/app/conf/_api/sched-types.ts +++ b/src/app/conf/_api/sched-types.ts @@ -18,6 +18,7 @@ export type ScheduleSession = { company: string speakers?: SchedSpeaker[] files?: { name: string; path: string }[] + hasSlides?: "Yes" | "No" } export type SchedSpeaker = {