--- import { agenda, disciplines, days, slots } from '../data/agenda'; --- Agenda {disciplines.map((d, i) => ( {d} ))} {days.map((d) => {d})} {slots.map((slot) => ( <> {slot} {days.map((_, dayIdx) => { const entry = agenda.find((e) => e.day === dayIdx && e.slot === slot); return entry ? {entry.discipline}{entry.time}{entry.trainer} : ; })} > ))}