import Timetable from "@/ui/timetable" import styles from "./page.module.css" import { Schedule, ScheduleEvent } from "./types" import { readFile } from "fs/promises" function EventInfo(props: { event: ScheduleEvent }) { return

{props.event.name}

{props.event.description ?? "No description provided"}

Timeslots

} export default async function schedule() { const schedule: Schedule = JSON.parse(await readFile("schedule.json", "utf-8")); return

Schedule & Events

Study carefully, we only hold these events once a year.

Schedule

Events

{schedule.events.map(event => )}

Locations

    {schedule.locations.map(location =>
  • {location.name}

    {location.description ?? "No description provided"}
  • )}
}