diff --git a/package.json b/package.json index 78502f0..e193e30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "2026.es.pycon.org", - "version": "1.17.3", + "version": "1.17.4", "description": "", "main": "index.js", "scripts": { diff --git a/src/components/ProgramaPage.astro b/src/components/ProgramaPage.astro index 4d7b62b..3bffedc 100644 --- a/src/components/ProgramaPage.astro +++ b/src/components/ProgramaPage.astro @@ -1,6 +1,8 @@ --- import { programaTexts } from '@/i18n/programa' import { menuTexts } from '@/i18n/menu' +import { getSchedule } from '@/lib/schedule' +import ScheduleList from '@/components/ScheduleList.astro' interface Props { lang: string @@ -8,32 +10,547 @@ interface Props { const { lang } = Astro.props const t = programaTexts[lang as keyof typeof programaTexts] const menuT = menuTexts[lang as keyof typeof menuTexts] + +// Fetch the schedule at build time. If Pretalx is down or the event isn't +// published yet, this returns null and we render the fallback message. +const schedule = await getSchedule() --- -
-

{t.title}

+
+

{t.title}

{t.intro}

- - -